Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python312Packages.dmt-core: init at 2.1.0 #336002

Merged
merged 3 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
];
};
}
49 changes: 49 additions & 0 deletions pkgs/development/python-modules/reprint/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
colorama,
six,
}:

buildPythonPackage rec {
pname = "reprint";
version = "0.6.0";
pyproject = true;

src = fetchFromGitHub {
owner = "Yinzo";
repo = "reprint";
rev = "${version}";
hash = "sha256-99FC12LcvvRRwNAxDSvWo9vRYmieL0JHSaCJqO/UGEs=";
};

postPatch = ''
substituteInPlace setup.py \
--replace-fail "'backports.shutil_get_terminal_size', " ""
'';

build-system = [
setuptools
];

dependencies = [
colorama
six
];

pythonImportsCheck = [
"reprint"
];

meta = {
description = "Module for binding variables and refreshing multi-line output in terminal";
homepage = "https://github.com/Yinzo/reprint";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
jasonodoom
jleightcap
];
};
}
Loading