nixpkgs/pkgs/development/python-modules/pyemvue/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
931 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
2024-05-22 16:01:06 +02:00
# build-system
hatchling,
2024-05-22 16:01:06 +02:00
# propagated modules
requests,
python-dateutil,
pycognito,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pyemvue";
version = "0.18.9";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-iHnNR6c/EdKZzqs4zQodfEZ/FMj1j0JRKjktyq/H0o0=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [
requests
python-dateutil
pycognito
typing-extensions
];
pythonImportsCheck = [ "pyemvue" ];
# has no tests
doCheck = false;
meta = with lib; {
changelog = "https://github.com/magico13/PyEmVue/releases/tag/v${version}";
description = "Python library for reading data from the Emporia Vue energy monitoring system";
homepage = "https://github.com/magico13/PyEmVue";
license = licenses.mit;
maintainers = with maintainers; [ presto8 ];
};
}