1{
2 buildPythonPackage,
3 colormath,
4 cycler,
5 fetchPypi,
6 h5py,
7 joblib,
8 lib,
9 more-itertools,
10 numpy,
11 pandas,
12 pint,
13 pyarrow,
14 pytest,
15 pyyaml,
16 reprint,
17 requests,
18 scikit-rf,
19 scipy,
20 semver,
21 setuptools,
22 verilogae,
23}:
24
25buildPythonPackage rec {
26 pname = "dmt-core";
27 version = "2.1.0";
28 pyproject = true;
29
30 src = fetchPypi {
31 inherit version;
32 pname = "DMT_core";
33 hash = "sha256-489E+uNn4NgyCwxsUMEPH/1ZuM+5uNq4zx8F88rkHMU=";
34 };
35
36 build-system = [
37 setuptools
38 ];
39
40 dependencies = [
41 colormath
42 cycler
43 h5py
44 joblib
45 more-itertools
46 pandas
47 pint
48 pyarrow
49 pytest
50 pyyaml
51 requests
52 scikit-rf
53 scipy
54 setuptools
55 numpy
56 semver
57 ];
58
59 nativeBuildInputs = [
60 reprint
61 verilogae
62 ];
63
64 preConfigure = ''
65 export HOME=$(mktemp -d)
66 '';
67
68 pythonImportsCheck = [
69 "DMT.core"
70 "reprint"
71 "verilogae"
72 ];
73
74 meta = {
75 changelog = "https://gitlab.com/dmt-development/dmt-core/-/blob/Version_${version}/CHANGELOG?ref_type=tags";
76 description = "Tool to help modeling engineers extract model parameters, run circuit and TCAD simulations and automate infrastructure";
77 homepage = "https://gitlab.com/dmt-development/dmt-core";
78 license = lib.licenses.gpl3Plus;
79 maintainers = with lib.maintainers; [
80 jasonodoom
81 jleightcap
82 ];
83 teams = with lib.teams; [ ngi ];
84 };
85}