diff options
author | Peter Hoeg <peter@hoeg.com> | 2018-02-26 19:37:39 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2018-02-26 23:46:42 +0800 |
commit | b619c9b76c808fbb64ff867b2e10c170f5a9a573 (patch) | |
tree | 6e64cc01b20b03c95fa5bb4eae860bd970c87e98 /pkgs/development/python-modules/pyunifi | |
parent | 356296287d0a12ff1e1890135103cfd1aed89744 (diff) |
pyunifi: init at 2.13
Diffstat (limited to 'pkgs/development/python-modules/pyunifi')
-rw-r--r-- | pkgs/development/python-modules/pyunifi/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyunifi/default.nix b/pkgs/development/python-modules/pyunifi/default.nix new file mode 100644 index 0000000000000..bbf98c32874b1 --- /dev/null +++ b/pkgs/development/python-modules/pyunifi/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildPythonPackage, fetchPypi +, requests }: + +buildPythonPackage rec { + pname = "pyunifi"; + version = "2.13"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "1dhbfzv5a29v763m0b9wsc4pvkdr979w7g4rz7ak8hsi4sx6b9dq"; + }; + + 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 ]; + }; +} |