Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.8 kB · 118 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119{ lib, buildPythonPackage, fetchFromGitHub,
# build-system flit-core,
# dependencies jinja2, loguru, matplotlib, numpy, orjson, pandas, pydantic, pydantic-settings, pydantic-extra-types, pyyaml, qrcode, rectpack, rich, scipy, shapely, toolz, types-pyyaml, typer, kfactory, watchdog, freetype-py, mapbox-earcut, networkx, scikit-image, trimesh, ipykernel, attrs, graphviz, pyglet, typing-extensions,
# tests jsondiff, jsonschema, pytest-regressions, pytestCheckHook,}:buildPythonPackage rec { pname = "gdsfactory"; version = "9.12.0"; pyproject = true;
src = fetchFromGitHub { owner = "gdsfactory"; repo = "gdsfactory"; tag = "v${version}"; hash = "sha256-en976F8BjMK8Ku1QXz4MIxTs+mswVBascmGguPXeEbI="; };
build-system = [ flit-core ];
dependencies = [ jinja2 loguru matplotlib numpy orjson pandas pydantic pydantic-settings pydantic-extra-types pyyaml qrcode rectpack rich scipy shapely toolz types-pyyaml typer kfactory watchdog freetype-py mapbox-earcut networkx scikit-image trimesh ipykernel attrs graphviz pyglet typing-extensions ];
nativeCheckInputs = [ jsondiff jsonschema pytest-regressions pytestCheckHook ];
pythonRelaxDeps = [ "pydantic" "trimesh" ];
# tests require >32GB of RAM doCheck = false;
pythonImportsCheck = [ "gdsfactory" ];
meta = { description = "Python library to generate GDS layouts"; homepage = "https://github.com/gdsfactory/gdsfactory"; changelog = "https://github.com/gdsfactory/gdsfactory/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fbeffa ]; };}