linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / pylacrosse / default.nix
blob74b244f52965e4b8e56a6619969ec9f98e5e2a7d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , mock
5 , nose
6 , pyserial
7 , pytestCheckHook
8 }:
10 buildPythonPackage rec {
11   pname = "pylacrosse";
12   version = "0.4";
14   src = fetchFromGitHub {
15     owner = "hthiery";
16     repo = "python-lacrosse";
17     rev = version;
18     sha256 = "0g5hqm8lq0gsnvhcydjk54rjf7lpxzph8k7w1nnvnqfbhf31xfcf";
19   };
21   propagatedBuildInputs = [ pyserial ];
23   checkInputs = [
24     mock
25     nose
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [ "pylacrosse" ];
31   meta = with lib; {
32     description = "Python library for Jeelink LaCrosse";
33     homepage = "https://github.com/hthiery/python-lacrosse";
34     license = with licenses; [ lgpl2Plus ];
35     maintainers = with maintainers; [ fab ];
36   };