python3Packages.unifiled: init at 1.1

This commit is contained in:
Fabian Affolter 2021-01-11 23:06:20 +01:00 committed by Jonathan Ringer
parent a588b71b37
commit 8605fbd0e4
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, urllib3
}:
buildPythonPackage rec {
pname = "unifiled";
version = "1.1";
src = fetchFromGitHub {
owner = "florisvdk";
repo = pname;
rev = "v${version}";
sha256 = "1nmqxxhwa0isxdb889nhbp7w4axj1mcrwd3pr9d8nhpw4yj9h3vq";
};
propagatedBuildInputs = [
requests
urllib3
];
# Project doesn't have any tests
doCheck = false;
pythonImportsCheck = [ "unifiled" ];
meta = with lib; {
description = "Python module for Ubiquiti Unifi LED controller";
homepage = "https://github.com/florisvdk/unifiled";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7789,6 +7789,8 @@ in {
unifi = callPackage ../development/python-modules/unifi { };
unifiled = callPackage ../development/python-modules/unifiled { };
units = callPackage ../development/python-modules/units { };
unittest2 = callPackage ../development/python-modules/unittest2 { };