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

22 lines
533 B
Nix
Raw Normal View History

2018-02-26 14:37:39 +03:00
{ stdenv, buildPythonPackage, fetchPypi
, requests }:
buildPythonPackage rec {
pname = "pyunifi";
2018-11-04 13:35:14 +03:00
version = "2.15";
2018-02-26 14:37:39 +03:00
src = fetchPypi {
inherit pname version;
2018-11-04 13:35:14 +03:00
sha256 = "cf2f9f538722447bded6b319a35c26ea088c51ccdbd3dec887210946c7992ebf";
2018-02-26 14:37:39 +03: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 ];
};
}