1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

python3Packages.brother: init at 0.1.14

This commit is contained in:
Martin Weinelt 2020-08-02 21:14:19 +02:00 committed by Jon
parent 786d9a39ac
commit bee771f70d
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, pysnmp
, asynctest, pytestcov, pytestrunner, pytest-asyncio, pytest-trio, pytest-tornasync }:
buildPythonPackage rec {
pname = "brother";
version = "0.1.14";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "bieniu";
repo = pname;
rev = version;
sha256 = "11pkr30bxrzgbz6bi42dyhav6qhr7rz9fb6a13297g7wa77jn4r4";
};
propagatedBuildInputs = [
pysnmp
];
checkInputs = [
asynctest
pytestcov
pytestrunner
pytest-asyncio
pytest-trio
pytest-tornasync
];
meta = with lib; {
description = "Python wrapper for getting data from Brother laser and inkjet printers via SNMP.";
homepage = "https://github.com/bieniu/brother";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -543,6 +543,8 @@ in {
breezy = callPackage ../development/python-modules/breezy { };
brother = callPackage ../development/python-modules/brother { };
build = callPackage ../development/python-modules/build { };
ciso8601 = callPackage ../development/python-modules/ciso8601 { };