diff --git a/pkgs/development/python-modules/pyombi/default.nix b/pkgs/development/python-modules/pyombi/default.nix new file mode 100644 index 000000000000..912c076ae358 --- /dev/null +++ b/pkgs/development/python-modules/pyombi/default.nix @@ -0,0 +1,35 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, requests +}: + +buildPythonPackage rec { + pname = "pyombi"; + version = "0.1.10"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "1ykbmdc2v05ly9q358j7g73ma9fsqdlclc8i0k1yd0bn7219icpx"; + }; + + propagatedBuildInputs = [ + requests + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ "pyombi" ]; + + meta = with lib; { + description = "Python module to retrieve information from Ombi"; + homepage = "https://github.com/larssont/pyombi"; + 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 50803af17df7..2f737147e8ef 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6558,6 +6558,8 @@ in { pyogg = callPackage ../development/python-modules/pyogg { }; + pyombi = callPackage ../development/python-modules/pyombi { }; + pyomo = callPackage ../development/python-modules/pyomo { }; pyp = callPackage ../development/python-modules/pyp {