Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
2.1 kB · 126 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127{ lib, buildPythonPackage, fetchFromGitHub, # build-system hatchling, scikit-build-core, hatch-vcs, nanobind, # deps antlr4-python3-runtime, attrs, case-converter, cattrs, click, deepdiff, easyeda2ato, eseries, fake-useragent, fastapi, gitpython, igraph, jinja2, natsort, networkx, pandas, pint, pygls, quart-cors, quart-schema, quart, rich, ruamel-yaml, schema, scipy, semver, toolz, urllib3, uvicorn, watchfiles, pyyaml, # tests pytestCheckHook, pytest-xdist, pytest-timeout,}:
buildPythonPackage rec { pname = "atopile"; version = "0.11.1"; pyproject = true;
src = fetchFromGitHub { owner = "atopile"; repo = "atopile"; tag = "v${version}"; hash = "sha256-rf8dWeZYnL0Ce4TDEyediYN+jc+StsGZrpp9OohSz8g="; };
build-system = [ hatchling scikit-build-core hatch-vcs nanobind ];
dependencies = [ antlr4-python3-runtime attrs case-converter cattrs click deepdiff easyeda2ato eseries fake-useragent fastapi gitpython igraph jinja2 natsort networkx pandas pint pygls quart-cors quart-schema quart rich ruamel-yaml schema scipy semver toolz urllib3 uvicorn watchfiles pyyaml # required for ato ];
pythonRelaxDeps = [ "antlr4-python3-runtime" ];
pythonImportsCheck = [ "atopile" ];
preCheck = '' substituteInPlace pyproject.toml \ --replace-fail "--html=artifacts/test-report.html" "" \ --replace-fail "--self-contained-html" "" '';
nativeCheckInputs = [ pytestCheckHook pytest-xdist pytest-timeout ];
meta = { description = "Design circuit boards with code"; homepage = "https://aiopg.readthedocs.io/"; downloadPage = "https://github.com/atopile/atopile"; changelog = "https://github.com/atopile/atopile/releases/tag/${src.tag}"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ sigmanificient ]; mainProgram = "ato"; };}