diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyhomepilot/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pyhomepilot/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pyhomepilot/default.nix b/nixpkgs/pkgs/development/python-modules/pyhomepilot/default.nix new file mode 100644 index 000000000000..12c395ff954b --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/pyhomepilot/default.nix @@ -0,0 +1,35 @@ +{ lib +, aiohttp +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +}: + +buildPythonPackage rec { + pname = "pyhomepilot"; + version = "0.0.3"; + disabled = pythonOlder "3.6"; + + src = fetchFromGitHub { + owner = "nico0302"; + repo = pname; + rev = "v${version}"; + sha256 = "00gmqx8cwsd15iccnlr8ypgqrdg6nw9ha518cfk7pyp8vhw1ziwy"; + }; + + propagatedBuildInputs = [ + aiohttp + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ "pyhomepilot" ]; + + meta = with lib; { + description = "Python module to communicate with the Rademacher HomePilot API"; + homepage = "https://github.com/nico0302/pyhomepilot"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |