Merge pull request #108686 from fabaff/pylacrosse
This commit is contained in:
commit
647607d709
3 changed files with 40 additions and 1 deletions
37
pkgs/development/python-modules/pylacrosse/default.nix
Normal file
37
pkgs/development/python-modules/pylacrosse/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue