Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / unifi / default.nix
blobfc98695dd6fa1f9b4fd6ee7cf371f44116860568
1 { lib, buildPythonPackage
2 , fetchPypi, urllib3 }:
4 buildPythonPackage rec {
5   pname = "unifi";
6   version = "1.2.5";
8   src = fetchPypi {
9     inherit pname version;
10     sha256 = "0prgx01hzs49prrazgxrinm7ivqzy57ch06qm2h7s1p957sazds8";
11   };
13   propagatedBuildInputs = [ urllib3 ];
15   # upstream has no tests
16   doCheck = false;
18   meta = with lib; {
19     description = "An API towards the Ubiquity Networks UniFi controller";
20     homepage    = "https://pypi.python.org/pypi/unifi/";
21     license     = licenses.mit;
22     maintainers = with maintainers; [ peterhoeg ];
23   };