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

22 lines
533 B
Nix
Raw Normal View History

2018-02-26 11:37:39 +00:00
{ stdenv, buildPythonPackage, fetchPypi
, requests }:
buildPythonPackage rec {
pname = "pyunifi";
2019-10-24 07:47:46 +01:00
version = "2.18";
2018-02-26 11:37:39 +00:00
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:46 +01:00
sha256 = "0875b830db93ed3270aee38ea24d3da9328672f0c499f0e432c895e0b02eadc9";
2018-02-26 11:37:39 +00:00
};
propagatedBuildInputs = [ requests ];
meta = with stdenv.lib; {
description = "API towards Ubiquity Networks UniFi controller";
homepage = https://github.com/finish06/unifi-api;
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}