ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / amberelectric / default.nix
blob667e5fff5e19bd71cd014183e8e6d390a92ab43d
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytest-mock
5 , pytestCheckHook
6 , python-dateutil
7 , pythonOlder
8 , urllib3
9 }:
11 buildPythonPackage rec {
12   pname = "amberelectric";
13   version = "1.0.4";
14   format = "setuptools";
16   disabled = pythonOlder "3.6";
18   src = fetchPypi {
19     inherit pname version;
20     sha256 = "sha256-5SWJnTxRm6mzP0RxrgA+jnV+Gp23WjqQA57wbT2V9Dk=";
21   };
23   propagatedBuildInputs = [
24     urllib3
25     python-dateutil
26   ];
28   checkInputs = [
29     pytest-mock
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [ "amberelectric" ];
35   meta = with lib; {
36     description = "Python Amber Electric API interface";
37     homepage = "https://github.com/madpilot/amberelectric.py";
38     license = with licenses; [ asl20 ];
39     maintainers = with maintainers; [ fab ];
40   };