diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-11-17 21:20:01 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-11-17 21:20:01 +0100 |
commit | 0fda4083ea86e93e9d37464b6f1a4d3e1099eafd (patch) | |
tree | c4937bd90723f94e0a92bc8b8cce82c4bf6985ce | |
parent | 75b645529450fd4bac3b897dc1fab1701ade3465 (diff) | |
download | nixpkgs-0fda4083ea86e93e9d37464b6f1a4d3e1099eafd.tar nixpkgs-0fda4083ea86e93e9d37464b6f1a4d3e1099eafd.tar.gz nixpkgs-0fda4083ea86e93e9d37464b6f1a4d3e1099eafd.tar.bz2 nixpkgs-0fda4083ea86e93e9d37464b6f1a4d3e1099eafd.tar.lz nixpkgs-0fda4083ea86e93e9d37464b6f1a4d3e1099eafd.tar.xz nixpkgs-0fda4083ea86e93e9d37464b6f1a4d3e1099eafd.tar.zst nixpkgs-0fda4083ea86e93e9d37464b6f1a4d3e1099eafd.zip |
python3Packages.motionblinds: init at 0.5.8.2
-rw-r--r-- | pkgs/development/python-modules/motionblinds/default.nix | 39 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/motionblinds/default.nix b/pkgs/development/python-modules/motionblinds/default.nix new file mode 100644 index 00000000000..a8fb0ae58dd --- /dev/null +++ b/pkgs/development/python-modules/motionblinds/default.nix @@ -0,0 +1,39 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pycryptodomex +, pythonOlder +}: + +buildPythonPackage rec { + pname = "motionblinds"; + version = "0.5.8.2"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "starkillerOG"; + repo = "motion-blinds"; + rev = version; + sha256 = "6aSwUuH5IpfcuVGXWVmb0DHglsUtGh/ATOe6iih6fXk="; + }; + + propagatedBuildInputs = [ + pycryptodomex + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ + "motionblinds" + ]; + + meta = with lib; { + description = "Python library for interfacing with Motion Blinds"; + homepage = "https://github.com/starkillerOG/motion-blinds"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e7b7e9017fa..6d65322eda5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4866,6 +4866,8 @@ in { mortgage = callPackage ../development/python-modules/mortgage { }; + motionblinds = callPackage ../development/python-modules/motionblinds { }; + motioneye-client = callPackage ../development/python-modules/motioneye-client { }; moto = callPackage ../development/python-modules/moto { }; |