nixpkgs/pkgs/development/python-modules/pyefergy/default.nix
Fabian Affolter 032b82f43a
Merge pull request #144906 from fabaff/bump-pyefergy
python3Packages.pyefergy: 0.1.3 -> 0.1.4
2021-11-15 15:47:19 +01:00

42 lines
757 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, iso4217
, pythonOlder
, pytz
}:
buildPythonPackage rec {
pname = "pyefergy";
version = "0.1.4";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "tkdrob";
repo = pname;
rev = version;
sha256 = "sha256-X/dWEBg3WG6SmMore5otLL4iIueGUS5KgjCPYoMSNd0=";
};
propagatedBuildInputs = [
aiohttp
iso4217
pytz
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyefergy" ];
meta = with lib; {
description = "Python API library for Efergy energy meters";
homepage = "https://github.com/tkdrob/pyefergy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}