nixpkgs/pkgs/development/python-modules/pyintesishome/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

33 lines
681 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pyintesishome";
version = "1.8.4";
src = fetchFromGitHub {
owner = "jnimmo";
repo = "pyIntesisHome";
rev = "refs/tags/${version}";
hash = "sha256-+pXGB7mQszbBp4KhOYzDKoGFoUHATWLbOU6QwMIpGWU=";
};
propagatedBuildInputs = [
aiohttp
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyintesishome" ];
meta = with lib; {
description = "Python interface for IntesisHome devices";
homepage = "https://github.com/jnimmo/pyIntesisHome";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}