Skip to content

Commit 468d9b6

Browse files
committed
gdsfactory: 9.20.1 -> 9.32.1
1 parent 84d42c6 commit 468d9b6

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

pkgs/development/python-modules/gdsfactory/default.nix

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55

66
# build-system
77
flit-core,
8+
pythonRelaxDepsHook,
89

910
# dependencies
1011
jinja2,
1112
loguru,
1213
matplotlib,
14+
natsort,
1315
numpy,
1416
orjson,
1517
pandas,
@@ -44,24 +46,31 @@
4446
pytest-regressions,
4547
pytestCheckHook,
4648
}:
47-
buildPythonPackage rec {
49+
buildPythonPackage (finalAttrs: {
4850
pname = "gdsfactory";
49-
version = "9.20.1";
51+
version = "9.32.1";
5052
pyproject = true;
5153

5254
src = fetchFromGitHub {
5355
owner = "gdsfactory";
5456
repo = "gdsfactory";
55-
tag = "v${version}";
56-
hash = "sha256-TpMi0Rv6sQA8uAPGl6iR1qgTU7havBlWmdz98DROoSk=";
57+
tag = "v${finalAttrs.version}";
58+
hash = "sha256-uXFH+6uZx+fFo1QfozI/JVomchFlnWx805CwbAj7CPQ=";
5759
};
5860

59-
build-system = [ flit-core ];
61+
build-system = [
62+
flit-core
63+
];
64+
65+
nativeBuildInputs = [
66+
pythonRelaxDepsHook
67+
];
6068

6169
dependencies = [
6270
jinja2
6371
loguru
6472
matplotlib
73+
natsort
6574
numpy
6675
orjson
6776
pandas
@@ -101,6 +110,7 @@ buildPythonPackage rec {
101110
pythonRelaxDeps = [
102111
"pydantic"
103112
"trimesh"
113+
"kfactory"
104114
];
105115

106116
# tests require >32GB of RAM
@@ -111,8 +121,8 @@ buildPythonPackage rec {
111121
meta = {
112122
description = "Python library to generate GDS layouts";
113123
homepage = "https://github.com/gdsfactory/gdsfactory";
114-
changelog = "https://github.com/gdsfactory/gdsfactory/blob/${src.tag}/CHANGELOG.md";
124+
changelog = "https://github.com/gdsfactory/gdsfactory/blob/${finalAttrs.src.tag}/CHANGELOG.md";
115125
license = lib.licenses.mit;
116126
maintainers = with lib.maintainers; [ fbeffa ];
117127
};
118-
}
128+
})

0 commit comments

Comments
 (0)