python3Packages.pylacrosse: init at 0.4

This commit is contained in:
Fabian Affolter 2021-01-07 17:09:39 +01:00
parent 210b6509ed
commit 3c21ca7266
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, nose
, pyserial
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pylacrosse";
version = "0.4";
src = fetchFromGitHub {
owner = "hthiery";
repo = "python-lacrosse";
rev = version;
sha256 = "0g5hqm8lq0gsnvhcydjk54rjf7lpxzph8k7w1nnvnqfbhf31xfcf";
};
propagatedBuildInputs = [ pyserial ];
checkInputs = [
mock
nose
pytestCheckHook
];
pythonImportsCheck = [ "pylacrosse" ];
meta = with lib; {
description = "Python library for Jeelink LaCrosse";
homepage = "https://github.com/hthiery/python-lacrosse";
license = with licenses; [ lgpl2Plus ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5341,6 +5341,8 @@ in {
pykwalify = callPackage ../development/python-modules/pykwalify { };
pylacrosse = callPackage ../development/python-modules/pylacrosse { };
pylama = callPackage ../development/python-modules/pylama { };
pylast = callPackage ../development/python-modules/pylast { };