diff --git a/pkgs/development/python-modules/pyflexit/default.nix b/pkgs/development/python-modules/pyflexit/default.nix new file mode 100644 index 000000000000..6f1f582a931d --- /dev/null +++ b/pkgs/development/python-modules/pyflexit/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +}: + +buildPythonPackage rec { + pname = "pyflexit"; + version = "0.3"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; + + src = fetchFromGitHub { + owner = "Sabesto"; + repo = pname; + rev = version; + sha256 = "1ajlqr3z6zj4fyslqzpwpfkvh8xjx94wsznzij0vx0q7jp43bqig"; + }; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ "pyflexit" ]; + + meta = with lib; { + description = "Python library for Flexit A/C units"; + homepage = "https://github.com/Sabesto/pyflexit"; + 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 2d8fc6911769..9e2d3710b76b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5561,6 +5561,8 @@ in { pyfireservicerota = callPackage ../development/python-modules/pyfireservicerota { }; + pyflexit = callPackage ../development/python-modules/pyflexit { }; + pyflick = callPackage ../development/python-modules/pyflick { }; pyfreedompro = callPackage ../development/python-modules/pyfreedompro { };