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

22 lines
527 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi
2018-02-26 11:37:39 +00:00
, requests }:
buildPythonPackage rec {
pname = "pyunifi";
2020-06-06 07:47:29 +01:00
version = "2.20.1";
2018-02-26 11:37:39 +00:00
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:29 +01:00
sha256 = "b52d1b0d87365fcfed8572b5dbd8d675bffece4ab3484bf083863f278c727d3d";
2018-02-26 11:37:39 +00:00
};
propagatedBuildInputs = [ requests ];
meta = with lib; {
2018-02-26 11:37:39 +00:00
description = "API towards Ubiquity Networks UniFi controller";
homepage = "https://github.com/finish06/unifi-api";
2018-02-26 11:37:39 +00:00
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}