mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
python3Packages.eebrightbox: init at 0.0.6
This commit is contained in:
parent
6f54f198d2
commit
3945bf16f1
2 changed files with 60 additions and 0 deletions
58
pkgs/development/python-modules/eebrightbox/default.nix
Normal file
58
pkgs/development/python-modules/eebrightbox/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue