mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
38 lines
714 B
Nix
38 lines
714 B
Nix
{ 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 ];
|
|
};
|
|
}
|