Merge pull request #220594 from Lugarun/scikit-rf

python3Packages.scikit-rf: init at 0.25.0

authored by Robert Scott and committed by GitHub 6bab2b64 9dfcfbd7

+121
+6
maintainers/maintainer-list.nix
··· 8693 8693 githubId = 542154; 8694 8694 name = "Lorenz Leutgeb"; 8695 8695 }; 8696 + lugarun = { 8697 + email = "lfschmidt.me@gmail.com"; 8698 + github = "lugarun"; 8699 + githubId = 5767106; 8700 + name = "Lukas Schmidt"; 8701 + }; 8696 8702 luis = { 8697 8703 email = "luis.nixos@gmail.com"; 8698 8704 github = "Luis-Hebendanz";
+113
pkgs/development/python-modules/scikit-rf/default.nix
··· 1 + { stdenv 2 + , lib 3 + , pythonOlder 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , numpy 7 + , scipy 8 + , pandas 9 + , matplotlib 10 + , tox 11 + , coverage 12 + , flake8 13 + , nbval 14 + , pyvisa 15 + , networkx 16 + , ipython 17 + , ipykernel 18 + , ipywidgets 19 + , jupyter-client 20 + , sphinx-rtd-theme 21 + , sphinx 22 + , nbsphinx 23 + , openpyxl 24 + , qtpy 25 + , pyqtgraph 26 + , pyqt5 27 + , setuptools 28 + , pytestCheckHook 29 + , pytest-cov 30 + }: 31 + 32 + buildPythonPackage rec { 33 + pname = "scikit-rf"; 34 + version = "0.25.0"; 35 + format = "pyproject"; 36 + 37 + disabled = pythonOlder "3.7"; 38 + 39 + src = fetchFromGitHub { 40 + owner = "scikit-rf"; 41 + repo = pname; 42 + rev = "v${version}"; 43 + hash = "sha256-drH1N1rKFu/zdLmLsD1jH5xUkzK37V/+nJqGQ38vsTI="; 44 + }; 45 + 46 + buildInputs = [ 47 + setuptools 48 + ]; 49 + 50 + propagatedBuildInputs = [ 51 + numpy 52 + scipy 53 + pandas 54 + ]; 55 + 56 + passthru.optional-dependencies = { 57 + plot = [ 58 + matplotlib 59 + ]; 60 + xlsx = [ 61 + openpyxl 62 + ]; 63 + netw = [ 64 + networkx 65 + ]; 66 + visa = [ 67 + pyvisa 68 + ]; 69 + docs = [ 70 + ipython 71 + ipykernel 72 + ipywidgets 73 + jupyter-client 74 + sphinx-rtd-theme 75 + sphinx 76 + nbsphinx 77 + openpyxl 78 + ]; 79 + qtapps = [ 80 + qtpy 81 + pyqtgraph 82 + pyqt5 83 + ]; 84 + }; 85 + 86 + nativeCheckInputs = [ 87 + tox 88 + coverage 89 + flake8 90 + pytest-cov 91 + nbval 92 + matplotlib 93 + pyvisa 94 + openpyxl 95 + networkx 96 + ]; 97 + 98 + checkInputs = [ 99 + pytestCheckHook 100 + ]; 101 + 102 + pythonImportsCheck = [ 103 + "skrf" 104 + ]; 105 + 106 + meta = with lib; { 107 + description = "A Python library for RF/Microwave engineering"; 108 + homepage = "https://scikit-rf.org/"; 109 + changelog = "https://github.com/scikit-rf/scikit-rf/releases/tag/v${version}"; 110 + license = licenses.bsd3; 111 + maintainers = with maintainers; [ lugarun ]; 112 + }; 113 + }
+2
pkgs/top-level/python-packages.nix
··· 10465 10465 10466 10466 scikit-optimize = callPackage ../development/python-modules/scikit-optimize { }; 10467 10467 10468 + scikit-rf = callPackage ../development/python-modules/scikit-rf { }; 10469 + 10468 10470 scikits-odes = callPackage ../development/python-modules/scikits-odes { }; 10469 10471 10470 10472 scikit-tda = callPackage ../development/python-modules/scikit-tda { };