depot/third_party/nixpkgs/pkgs/development/python-modules/pyunifi/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

22 lines
550 B
Nix

{ lib, buildPythonPackage, fetchPypi
, requests }:
buildPythonPackage rec {
pname = "pyunifi";
version = "2.21";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "ea7919caee14abe741016d8e37e96bc67a43e22f77c079e55962273f39dbea4e";
};
propagatedBuildInputs = [ requests ];
meta = with lib; {
description = "API towards Ubiquity Networks UniFi controller";
homepage = "https://github.com/finish06/unifi-api";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}