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

28 lines
590 B
Nix
Raw Normal View History

2019-05-04 22:43:49 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, requests
2019-05-04 22:43:49 +01:00
}:
buildPythonPackage rec {
pname = "pyatmo";
2019-11-11 11:13:39 +00:00
version = "2.3.3";
2019-05-04 22:43:49 +01:00
src = fetchPypi {
inherit pname version;
2019-11-11 11:13:39 +00:00
sha256 = "b884402c62d589a38444e8f4b3892b18312e8f9442cd8d12e7ec01c698328f54";
2019-05-04 22:43:49 +01:00
};
propagatedBuildInputs = [ requests ];
2019-05-04 22:43:49 +01:00
# Upstream provides no unit tests.
doCheck = false;
meta = with lib; {
description = "Simple API to access Netatmo weather station data";
license = licenses.mit;
homepage = https://github.com/jabesq/netatmo-api-python;
maintainers = with maintainers; [ delroth ];
};
}