diff options
Diffstat (limited to 'pkgs/development/python-modules/aladdin-connect/default.nix')
-rw-r--r-- | pkgs/development/python-modules/aladdin-connect/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aladdin-connect/default.nix b/pkgs/development/python-modules/aladdin-connect/default.nix new file mode 100644 index 00000000000..d25cdadc89a --- /dev/null +++ b/pkgs/development/python-modules/aladdin-connect/default.nix @@ -0,0 +1,33 @@ +{ lib +, requests +, buildPythonPackage +, fetchFromGitHub +}: + +buildPythonPackage rec { + pname = "aladdin-connect"; + version = "0.3"; + + src = fetchFromGitHub { + owner = "shoejosh"; + repo = pname; + rev = version; + sha256 = "0nimd1nw1haxn8s2207fcrmpjyfp6nx97n560l6hzqyqqmf2d1d1"; + }; + + propagatedBuildInputs = [ + requests + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ "aladdin_connect" ]; + + meta = with lib; { + description = "Python library for interacting with Genie Aladdin Connect devices"; + homepage = "https://github.com/shoejosh/aladdin-connect"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |