Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
970 B · 48 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, mock, pynose, pyserial, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "pylacrosse"; version = "0.4"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "hthiery"; repo = "python-lacrosse"; rev = "refs/tags/${version}"; hash = "sha256-jrkehoPLYbutDfxMBO/vlx4nMylTNs/gtvoBTFHFsDw="; };
postPatch = '' substituteInPlace setup.py \ --replace "version = version," "version = '${version}'," '';
propagatedBuildInputs = [ pyserial ];
nativeCheckInputs = [ mock pynose pytestCheckHook ];
pythonImportsCheck = [ "pylacrosse" ];
meta = with lib; { description = "Python library for Jeelink LaCrosse"; mainProgram = "pylacrosse"; homepage = "https://github.com/hthiery/python-lacrosse"; license = with licenses; [ lgpl2Plus ]; maintainers = with maintainers; [ fab ]; };}