Skip to content

Commit

Permalink
python312Packages.dmt-core: init at 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonodoom authored and wegank committed Oct 22, 2024
1 parent fb54db1 commit f6ee302
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 0 deletions.
84 changes: 84 additions & 0 deletions pkgs/development/python-modules/dmt-core/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
buildPythonPackage,
colormath,
cycler,
fetchPypi,
h5py,
joblib,
lib,
more-itertools,
numpy,
pandas,
pint,
pyarrow,
pytest,
pyyaml,
reprint,
requests,
scikit-rf,
scipy,
semver,
setuptools,
verilogae,
}:

buildPythonPackage rec {
pname = "dmt-core";
version = "2.1.0";
pyproject = true;

src = fetchPypi {
inherit version;
pname = "DMT_core";
hash = "sha256-489E+uNn4NgyCwxsUMEPH/1ZuM+5uNq4zx8F88rkHMU=";
};

build-system = [
setuptools
];

dependencies = [
colormath
cycler
h5py
joblib
more-itertools
pandas
pint
pyarrow
pytest
pyyaml
requests
scikit-rf
scipy
setuptools
numpy
semver
];

nativeBuildInputs = [
reprint
verilogae
];

preConfigure = ''
export HOME=$(mktemp -d)
'';

pythonImportsCheck = [
"DMT.core"
"reprint"
"verilogae"
];

meta = {
changelog = "https://gitlab.com/dmt-development/dmt-core/-/blob/Version_${version}/CHANGELOG?ref_type=tags";
description = "Tool to help modeling engineers extract model parameters, run circuit and TCAD simulations and automate infrastructure";
homepage = "https://gitlab.com/dmt-development/dmt-core";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
jasonodoom
jleightcap
];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3608,6 +3608,8 @@ self: super: with self; {

dmenu-python = callPackage ../development/python-modules/dmenu { };

dmt-core = callPackage ../development/python-modules/dmt-core { };

dm-control = callPackage ../development/python-modules/dm-control { };

dm-env = callPackage ../development/python-modules/dm-env { };
Expand Down

0 comments on commit f6ee302

Please sign in to comment.