git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.motionblinds: init at 0.5.8.2
commit0fda4083ea86e93e9d37464b6f1a4d3e1099eafd authorFabian Affolter <mail@fabian-affolter.ch> dateWed 17 Nov 2021, 21:20 (5 years ago) parent75b6455
2 files changed+41
pkgs/development/python-modules/motionblinds/default.nix+39 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/motionblinds/default.nixnew file+39
@@ -0,0 +1,39 @@
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, pycryptodomex
5+, pythonOlder
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "motionblinds";
10+ version = "0.5.8.2";
11+ format = "setuptools";
12+
13+ disabled = pythonOlder "3.7";
14+
15+ src = fetchFromGitHub {
16+ owner = "starkillerOG";
17+ repo = "motion-blinds";
18+ rev = version;
19+ sha256 = "6aSwUuH5IpfcuVGXWVmb0DHglsUtGh/ATOe6iih6fXk=";
20+ };
21+
22+ propagatedBuildInputs = [
23+ pycryptodomex
24+ ];
25+
26+ # Project has no tests
27+ doCheck = false;
28+
29+ pythonImportsCheck = [
30+ "motionblinds"
31+ ];
32+
33+ meta = with lib; {
34+ description = "Python library for interfacing with Motion Blinds";
35+ homepage = "https://github.com/starkillerOG/motion-blinds";
36+ license = with licenses; [ mit ];
37+ maintainers = with maintainers; [ fab ];
38+ };
39+}
pkgs/top-level/python-packages.nix+2
@@ -4866,6 +4866,8 @@ in {
48664866
48674867 mortgage = callPackage ../development/python-modules/mortgage { };
48684868
4869+ motionblinds = callPackage ../development/python-modules/motionblinds { };
4870+
48694871 motioneye-client = callPackage ../development/python-modules/motioneye-client { };
48704872
48714873 moto = callPackage ../development/python-modules/moto { };