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

22 lines
533 B
Nix
Raw Normal View History

2018-02-26 12:37:39 +01:00
{ stdenv, buildPythonPackage, fetchPypi
, requests }:
buildPythonPackage rec {
pname = "pyunifi";
2019-02-14 08:37:28 +01:00
version = "2.16";
2018-02-26 12:37:39 +01:00
src = fetchPypi {
inherit pname version;
2019-02-14 08:37:28 +01:00
sha256 = "1d28ec8204fe3b0eb1043f5ba9b646a2c38e5fd89a0419d760cff8f0df507c83";
2018-02-26 12:37:39 +01: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 ];
};
}