Merge pull request #108686 from fabaff/pylacrosse

This commit is contained in:
Sandro 2021-01-07 22:57:22 +01:00 committed by GitHub
commit 647607d709
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 1 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

@ -423,7 +423,7 @@
"konnected" = ps: with ps; [ aiohttp-cors ]; # missing inputs: konnected
"kulersky" = ps: with ps; [ ]; # missing inputs: pykulersky
"kwb" = ps: with ps; [ ]; # missing inputs: pykwb
"lacrosse" = ps: with ps; [ ]; # missing inputs: pylacrosse
"lacrosse" = ps: with ps; [ pylacrosse ];
"lametric" = ps: with ps; [ ]; # missing inputs: lmnotify
"lannouncer" = ps: with ps; [ ];
"lastfm" = ps: with ps; [ pylast ];

View file

@ -5365,6 +5365,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 { };