Merge pull request #220594 from Lugarun/scikit-rf

python3Packages.scikit-rf: init at 0.25.0
This commit is contained in:
Robert Scott 2023-03-12 22:23:23 +00:00 committed by GitHub
commit 6bab2b645b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 121 additions and 0 deletions

View file

@ -8693,6 +8693,12 @@
githubId = 542154;
name = "Lorenz Leutgeb";
};
lugarun = {
email = "lfschmidt.me@gmail.com";
github = "lugarun";
githubId = 5767106;
name = "Lukas Schmidt";
};
luis = {
email = "luis.nixos@gmail.com";
github = "Luis-Hebendanz";

View file

@ -0,0 +1,113 @@
{ stdenv
, lib
, pythonOlder
, buildPythonPackage
, fetchFromGitHub
, numpy
, scipy
, pandas
, matplotlib
, tox
, coverage
, flake8
, nbval
, pyvisa
, networkx
, ipython
, ipykernel
, ipywidgets
, jupyter-client
, sphinx-rtd-theme
, sphinx
, nbsphinx
, openpyxl
, qtpy
, pyqtgraph
, pyqt5
, setuptools
, pytestCheckHook
, pytest-cov
}:
buildPythonPackage rec {
pname = "scikit-rf";
version = "0.25.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "scikit-rf";
repo = pname;
rev = "v${version}";
hash = "sha256-drH1N1rKFu/zdLmLsD1jH5xUkzK37V/+nJqGQ38vsTI=";
};
buildInputs = [
setuptools
];
propagatedBuildInputs = [
numpy
scipy
pandas
];
passthru.optional-dependencies = {
plot = [
matplotlib
];
xlsx = [
openpyxl
];
netw = [
networkx
];
visa = [
pyvisa
];
docs = [
ipython
ipykernel
ipywidgets
jupyter-client
sphinx-rtd-theme
sphinx
nbsphinx
openpyxl
];
qtapps = [
qtpy
pyqtgraph
pyqt5
];
};
nativeCheckInputs = [
tox
coverage
flake8
pytest-cov
nbval
matplotlib
pyvisa
openpyxl
networkx
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"skrf"
];
meta = with lib; {
description = "A Python library for RF/Microwave engineering";
homepage = "https://scikit-rf.org/";
changelog = "https://github.com/scikit-rf/scikit-rf/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ lugarun ];
};
}

View file

@ -10465,6 +10465,8 @@ self: super: with self; {
scikit-optimize = callPackage ../development/python-modules/scikit-optimize { };
scikit-rf = callPackage ../development/python-modules/scikit-rf { };
scikits-odes = callPackage ../development/python-modules/scikits-odes { };
scikit-tda = callPackage ../development/python-modules/scikit-tda { };