-
-
Notifications
You must be signed in to change notification settings - Fork 14k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python312Packages.dmt-core: init at 2.1.0
- Loading branch information
1 parent
fb54db1
commit 64b22eb
Showing
2 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
buildPythonPackage, | ||
colormath, | ||
cycler, | ||
fetchPypi, | ||
h5py, | ||
joblib, | ||
lib, | ||
more-itertools, | ||
numpy, | ||
pandas, | ||
pint, | ||
pyarrow, | ||
pytestCheckHook, | ||
python, | ||
pyyaml, | ||
reprint, | ||
requests, | ||
scikit-rf, | ||
scipy, | ||
semver, | ||
setuptools, | ||
stdenv, | ||
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 | ||
pyyaml | ||
requests | ||
scikit-rf | ||
scipy | ||
setuptools | ||
numpy | ||
semver | ||
]; | ||
|
||
nativeBuildInputs = [ | ||
reprint | ||
verilogae | ||
]; | ||
|
||
nativeCheckInputs = [ pytestCheckHook ]; | ||
|
||
pythonImportsCheck = [ | ||
"DMT.core" | ||
"reprint" | ||
"verilogae" | ||
]; | ||
|
||
LD_LIBRARY_PATH = "${stdenv.cc.cc.lib}/lib/"; | ||
|
||
checkPhase = '' | ||
export XDG_CONFIG_HOME=$PWD/config | ||
mkdir -p $XDG_CONFIG_HOME/DMT | ||
touch $XDG_CONFIG_HOME/DMT/DMT_config.yaml | ||
''; | ||
|
||
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 | ||
]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters