depot/third_party/nixpkgs/pkgs/development/python-modules/pyemvue/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

47 lines
931 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# build-system
hatchling,
# propagated modules
requests,
python-dateutil,
pycognito,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pyemvue";
version = "0.18.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-cgQARaGM6Jb2kEcG7HqPStRPkhHldJ7UbxQpxN6JbZE=";
};
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 ];
};
}