diff --git a/pkgs/development/python-modules/pepit/default.nix b/pkgs/development/python-modules/pepit/default.nix new file mode 100644 index 000000000000..37017f445e9e --- /dev/null +++ b/pkgs/development/python-modules/pepit/default.nix @@ -0,0 +1,53 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + cvxpy, + numpy, + pandas, + scipy, + matplotlib, + pytestCheckHook, +}: + +buildPythonPackage rec { + pname = "pepit"; + version = "0.3.2"; + pyproject = true; + + src = fetchFromGitHub { + owner = "PerformanceEstimation"; + repo = "PEPit"; + rev = version; + hash = "sha256-Gdymdfi0Iv9KXBNSbAEWGYIQ4k5EONnbyWs+99L5D/A="; + }; + + build-system = [ + setuptools + ]; + + dependencies = [ + cvxpy + numpy + pandas + scipy + matplotlib + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "PEPit" + ]; + + meta = { + description = "Performance Estimation in Python"; + changelog = "https://pepit.readthedocs.io/en/latest/whatsnew/${version}.html"; + homepage = "https://pepit.readthedocs.io/"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ wegank ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 051fead9ec4d..80f3bf74988b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9890,6 +9890,8 @@ self: super: with self; { pep8-naming = callPackage ../development/python-modules/pep8-naming { }; + pepit = callPackage ../development/python-modules/pepit { }; + peppercorn = callPackage ../development/python-modules/peppercorn { }; percol = callPackage ../development/python-modules/percol { };