tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.vega: fully switch to poetry-core
Theodore Ni
2 years ago
5f6cd848
d78f502c
+9
-4
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
vega
default.nix
+9
-4
pkgs/development/python-modules/vega/default.nix
···
1
1
{ lib
2
2
, buildPythonPackage
3
3
+
, fetchpatch
3
4
, fetchPypi
4
5
, pythonOlder
5
6
, pythonRelaxDepsHook
···
26
27
hash = "sha256-v1/8taHdN1n9+gy7L+g/wAJ2x9FwYCaxZiEdFqLct1Y=";
27
28
};
28
29
29
29
-
postPatch = ''
30
30
-
substituteInPlace pyproject.toml \
31
31
-
--replace "poetry.masonry.api" "poetry.core.masonry.api"
32
32
-
'';
30
30
+
patches = [
31
31
+
# https://github.com/vega/ipyvega/pull/507
32
32
+
(fetchpatch {
33
33
+
name = "replace-poetry-with-poetry-core.patch";
34
34
+
url = "https://github.com/vega/ipyvega/commit/1a5028ee5d54e24b9650b66685f54c42b72c7899.patch";
35
35
+
hash = "sha256-W8UmMit7DJGKCM9+/OSRLTuRvC0ZR42AP/b/frVEvsk=";
36
36
+
})
37
37
+
];
33
38
34
39
nativeBuildInputs = [
35
40
poetry-core