tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.envisage: 4.9.2 -> 5.0.0
Robert T. McGibbon
5 years ago
24109ffd
cfd96284
+18
-20
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
apptools
default.nix
envisage
default.nix
+12
-2
pkgs/development/python-modules/apptools/default.nix
···
1
{ lib, fetchPypi, buildPythonPackage
2
-
, configobj, six, traitsui
3
, pytestCheckHook, tables, pandas
4
-
, importlib-resources
5
}:
6
7
buildPythonPackage rec {
···
13
sha256 = "12x5lcs1cllpybz7f0i1lcwvmqsaa5n818wb2165lj049wqxx4yh";
14
};
15
0
0
0
0
0
0
0
0
0
16
propagatedBuildInputs = [
17
configobj
18
six
19
traitsui
0
20
importlib-resources
21
];
22
···
1
{ lib, fetchPypi, buildPythonPackage
2
+
, fetchpatch, configobj, six, traitsui
3
, pytestCheckHook, tables, pandas
4
+
, pythonOlder, importlib-resources
5
}:
6
7
buildPythonPackage rec {
···
13
sha256 = "12x5lcs1cllpybz7f0i1lcwvmqsaa5n818wb2165lj049wqxx4yh";
14
};
15
16
+
patches = [
17
+
# python39: importlib_resources -> importlib.resources. This patch will be included
18
+
# in the next release after 5.1.0.
19
+
(fetchpatch {
20
+
url = "https://github.com/enthought/apptools/commit/0ae4f52f19a8c0ca9d7926e17c7de949097f24b4.patch";
21
+
sha256 = "165aiwjisr5c3lasg7xblcha7y1y5bq23vi3g9gc80c24bzwcbsw";
22
+
})
23
+
];
24
+
25
propagatedBuildInputs = [
26
configobj
27
six
28
traitsui
29
+
] ++ lib.optionals (pythonOlder "3.9") [
30
importlib-resources
31
];
32
+6
-18
pkgs/development/python-modules/envisage/default.nix
···
1
-
{ lib, fetchPypi, fetchpatch, isPy27
2
, buildPythonPackage
3
-
, traits, apptools
4
-
, python, ipykernel, ipython
5
}:
6
7
buildPythonPackage rec {
8
pname = "envisage";
9
-
version = "4.9.2";
10
11
disabled = isPy27;
12
13
src = fetchPypi {
14
inherit pname version;
15
-
sha256 = "1srjmkhnz84nz5jd72vdsnc4fn7dd9jr8nyf3hzk6yx1dsn815gd";
16
};
17
18
propagatedBuildInputs = [ traits apptools ];
···
21
export HOME=$PWD/HOME
22
'';
23
24
-
# fix a test failure; should be merged in next release
25
-
patches = [ (fetchpatch {
26
-
url = "https://github.com/enthought/envisage/pull/248/commits/7b6d2dd615d5cb7455b200eb8f37e030bbf4df9e.patch";
27
-
sha256 = "0a3dmbpxwsn1bkjcjv9v7b751rcmppj6hc9wcgiayg4l9r2nrvyh";
28
-
}) ];
29
-
30
checkInputs = [
31
-
ipykernel ipython
32
];
33
-
34
-
checkPhase = ''
35
-
runHook preCheck
36
-
${python.interpreter} -m unittest
37
-
runHook postCheck
38
-
'';
39
40
meta = with lib; {
41
description = "Framework for building applications whose functionalities can be extended by adding 'plug-ins'";
···
1
+
{ lib, fetchPypi, isPy27
2
, buildPythonPackage
3
+
, traits, apptools, pytestCheckHook
4
+
, ipykernel, ipython
5
}:
6
7
buildPythonPackage rec {
8
pname = "envisage";
9
+
version = "5.0.0";
10
11
disabled = isPy27;
12
13
src = fetchPypi {
14
inherit pname version;
15
+
sha256 = "0zrxlq4v3091727vf10ngc8418sp26raxa8q83i4h0sydfkh2dic";
16
};
17
18
propagatedBuildInputs = [ traits apptools ];
···
21
export HOME=$PWD/HOME
22
'';
23
0
0
0
0
0
0
24
checkInputs = [
25
+
ipykernel ipython pytestCheckHook
26
];
0
0
0
0
0
0
27
28
meta = with lib; {
29
description = "Framework for building applications whose functionalities can be extended by adding 'plug-ins'";