python3Packages.openerz-api: init at 0.1.0
This commit is contained in:
parent
c21475e7e8
commit
89168356c2
39
pkgs/development/python-modules/openerz-api/default.nix
Normal file
39
pkgs/development/python-modules/openerz-api/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
, testfixtures
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "openerz-api";
|
||||||
|
version = "0.1.0";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "misialq";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "10kxsmaz2rn26jijaxmdmhx8vjdz8hrhlrvd39gc8yvqbjwhi3nw";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
testfixtures
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "openerz_api" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module to interact with the OpenERZ API";
|
||||||
|
homepage = "https://github.com/misialq/openerz-api";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -4906,6 +4906,8 @@ in {
|
|||||||
pythonPackages = self;
|
pythonPackages = self;
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
openerz-api = callPackage ../development/python-modules/openerz-api { };
|
||||||
|
|
||||||
openhomedevice = callPackage ../development/python-modules/openhomedevice { };
|
openhomedevice = callPackage ../development/python-modules/openhomedevice { };
|
||||||
|
|
||||||
openidc-client = callPackage ../development/python-modules/openidc-client { };
|
openidc-client = callPackage ../development/python-modules/openidc-client { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user