File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
pkgs/development/python-modules/kfactory Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 3030 pytestCheckHook ,
3131} :
3232
33- buildPythonPackage rec {
33+ buildPythonPackage ( finalAttrs : {
3434 pname = "kfactory" ;
35- version = "2.0 .0" ;
35+ version = "2.3 .0" ;
3636 pyproject = true ;
3737
3838 src = fetchFromGitHub {
3939 owner = "gdsfactory" ;
4040 repo = "kfactory" ;
41- tag = "v${ version } " ;
41+ tag = "v${ finalAttrs . version } " ;
4242 # kfactory uses `.git` to infer the project directory.
4343 # https://github.com/gdsfactory/kfactory/blob/v2.0.0/src/kfactory/conf.py#L318-L327
4444 # Otherwise, tests fail with:
4545 # assert kf.config.project_dir is not None
4646 # E AssertionError: assert None is not None
4747 leaveDotGit = true ;
48- hash = "sha256-eZRNUb2Qw2HcR2W1pf15ulEt7ZCJwi60SuGdte/cG8E =" ;
48+ hash = "sha256-6z2JlndmuegpCAf74YRa/qVVjFOWv1Xy3dabeWlOmbs =" ;
4949 } ;
5050
5151 build-system = [
@@ -55,7 +55,9 @@ buildPythonPackage rec {
5555
5656 pythonRelaxDeps = [
5757 "pydantic"
58+ "klayout"
5859 ] ;
60+
5961 dependencies = [
6062 aenum
6163 cachetools
@@ -143,8 +145,8 @@ buildPythonPackage rec {
143145 meta = {
144146 description = "KLayout API implementation of gdsfactory" ;
145147 homepage = "https://github.com/gdsfactory/kfactory" ;
146- changelog = "https://github.com/gdsfactory/kfactory/blob/${ src . tag } /CHANGELOG.md" ;
148+ changelog = "https://github.com/gdsfactory/kfactory/blob/${ finalAttrs . src . tag } /CHANGELOG.md" ;
147149 license = lib . licenses . mit ;
148150 maintainers = with lib . maintainers ; [ fbeffa ] ;
149151 } ;
150- }
152+ } )
You can’t perform that action at this time.
0 commit comments