depot/third_party/nixpkgs/pkgs/development/python-modules/pyunifi/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

21 lines
537 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, requests }:
buildPythonPackage rec {
pname = "pyunifi";
version = "2.20.1";
src = fetchPypi {
inherit pname version;
sha256 = "b52d1b0d87365fcfed8572b5dbd8d675bffece4ab3484bf083863f278c727d3d";
};
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 ];
};
}