Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyunifi / default.nix
blobdfbae696b8e55bd74fec50f5dd51ceebc0831fa0
1 { lib, buildPythonPackage, fetchPypi
2 , requests }:
4 buildPythonPackage rec {
5   pname = "pyunifi";
6   version = "2.20.1";
8   src = fetchPypi {
9     inherit pname version;
10     sha256 = "b52d1b0d87365fcfed8572b5dbd8d675bffece4ab3484bf083863f278c727d3d";
11   };
13   propagatedBuildInputs = [ requests ];
15   meta = with lib; {
16     description = "API towards Ubiquity Networks UniFi controller";
17     homepage = "https://github.com/finish06/unifi-api";
18     license = licenses.mit;
19     maintainers = with maintainers; [ peterhoeg ];
20   };