evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / motionblinds / default.nix
blobb791f9483ead7b51f3bf1116a772d0040386d811
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pycryptodomex,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "motionblinds";
12   version = "0.6.25";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "starkillerOG";
19     repo = "motion-blinds";
20     rev = "refs/tags/${version}";
21     hash = "sha256-MU+zMka8d8wocc90vdS56BMHg6Z/LAAdRetiysh9Ssc=";
22   };
24   build-system = [ setuptools ];
26   dependencies = [ pycryptodomex ];
28   # Module has no tests
29   doCheck = false;
31   pythonImportsCheck = [ "motionblinds" ];
33   meta = with lib; {
34     description = "Python library for interfacing with Motion Blinds";
35     homepage = "https://github.com/starkillerOG/motion-blinds";
36     changelog = "https://github.com/starkillerOG/motion-blinds/releases/tag/${version}";
37     license = with licenses; [ mit ];
38     maintainers = with maintainers; [ fab ];
39   };