1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 cvxpy,
7 numpy,
8 pandas,
9 scipy,
10 matplotlib,
11 pytestCheckHook,
12}:
13
14buildPythonPackage rec {
15 pname = "pepit";
16 version = "0.3.2";
17 pyproject = true;
18
19 src = fetchFromGitHub {
20 owner = "PerformanceEstimation";
21 repo = "PEPit";
22 rev = version;
23 hash = "sha256-Gdymdfi0Iv9KXBNSbAEWGYIQ4k5EONnbyWs+99L5D/A=";
24 };
25
26 build-system = [
27 setuptools
28 ];
29
30 dependencies = [
31 cvxpy
32 numpy
33 pandas
34 scipy
35 matplotlib
36 ];
37
38 nativeCheckInputs = [
39 pytestCheckHook
40 ];
41
42 pythonImportsCheck = [
43 "PEPit"
44 ];
45
46 meta = {
47 description = "Performance Estimation in Python";
48 changelog = "https://pepit.readthedocs.io/en/latest/whatsnew/${version}.html";
49 homepage = "https://pepit.readthedocs.io/";
50 license = lib.licenses.mit;
51 maintainers = with lib.maintainers; [ wegank ];
52 };
53}