3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyunifi/default.nix
2018-02-26 23:46:42 +08:00

23 lines
553 B
Nix

{ 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 ];
};
}