python3Packages.eebrightbox: init at 0.0.6

This commit is contained in:
Robert Schütz 2021-06-18 01:19:28 +02:00
parent 6f54f198d2
commit 3945bf16f1
2 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,58 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pbr
, calmjs-parse
, certifi
, chardet
, idna
, ply
, requests
, urllib3
, httpretty
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "eebrightbox";
version = "0.0.6";
src = fetchFromGitHub {
owner = "krygal";
repo = "eebrightbox";
rev = version;
sha256 = "1kms240g01871qbvyc5rzf86yxsrlnfvp323jh4k35fpf45z44rr";
};
postPatch = ''
substituteInPlace requirements.txt --replace "==" ">="
'';
nativeBuildInputs = [
pbr
];
PBR_VERSION = version;
propagatedBuildInputs = [
calmjs-parse
certifi
chardet
idna
ply
requests
urllib3
];
checkInputs = [
httpretty
pytestCheckHook
];
meta = with lib; {
description = "Connector for EE BrightBox routers";
homepage = "https://github.com/krygal/eebrightbox";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -2231,6 +2231,8 @@ in {
edward = callPackage ../development/python-modules/edward { };
eebrightbox = callPackage ../development/python-modules/eebrightbox { };
effect = callPackage ../development/python-modules/effect { };
eggdeps = callPackage ../development/python-modules/eggdeps { };