python3Packages.pyhomepilot: init at 0.0.3

launchpad/nixpkgs/master
Fabian Affolter 3 years ago committed by Jonathan Ringer
parent 5b45b2fa6f
commit b99a500a04
  1. 35
      pkgs/development/python-modules/pyhomepilot/default.nix
  2. 2
      pkgs/top-level/python-packages.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 ];
};
}

@ -6000,6 +6000,8 @@ in {
pyhomematic = callPackage ../development/python-modules/pyhomematic { };
pyhomepilot = callPackage ../development/python-modules/pyhomepilot { };
pyhs100 = callPackage ../development/python-modules/pyhs100 { };
pyi2cflash = callPackage ../development/python-modules/pyi2cflash { };

Loading…
Cancel
Save