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

22 lines
537 B
Nix
Raw Normal View History

2018-02-26 11:37:39 +00:00
{ stdenv, buildPythonPackage, fetchPypi
, requests }:
buildPythonPackage rec {
pname = "pyunifi";
2019-12-19 19:31:21 +00:00
version = "2.19.0";
2018-02-26 11:37:39 +00:00
src = fetchPypi {
inherit pname version;
2019-12-19 19:31:21 +00:00
sha256 = "f022eb2135b88a9d391f4553fac1bf90f3808d660fd0058203f6f9e57214626b";
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";
2018-02-26 11:37:39 +00:00
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}