python3Packages.control: init at 0.10.1 (#417209)

authored by Aleksana and committed by GitHub 78caed26 e1bb5891

+66
+5
maintainers/maintainer-list.nix
··· 19504 19504 github = "petee"; 19505 19505 githubId = 89916; 19506 19506 }; 19507 + Peter3579 = { 19508 + github = "Peter3579"; 19509 + githubId = 170885528; 19510 + name = "Peter3579"; 19511 + }; 19507 19512 peterhoeg = { 19508 19513 email = "peter@hoeg.com"; 19509 19514 matrix = "@peter:hoeg.com";
+59
pkgs/development/python-modules/control/default.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildPythonPackage, 5 + numpy, 6 + scipy, 7 + matplotlib, 8 + setuptools, 9 + setuptools-scm, 10 + cvxopt, 11 + pytest-timeout, 12 + pytestCheckHook, 13 + }: 14 + 15 + buildPythonPackage rec { 16 + pname = "control"; 17 + version = "0.10.1"; 18 + pyproject = true; 19 + 20 + src = fetchFromGitHub { 21 + owner = "python-control"; 22 + repo = "python-control"; 23 + tag = version; 24 + hash = "sha256-wLDYPuLnsZ2+cXf7j3BxUbn4IjHPt09LE9cjQGXWrO0="; 25 + }; 26 + 27 + build-system = [ 28 + setuptools 29 + setuptools-scm 30 + ]; 31 + 32 + dependencies = [ 33 + numpy 34 + scipy 35 + matplotlib 36 + ]; 37 + 38 + optional-dependencies = { 39 + # slycot is not in nixpkgs 40 + # slycot = [ slycot ]; 41 + cvxopt = [ cvxopt ]; 42 + }; 43 + 44 + pythonImportsCheck = [ "control" ]; 45 + 46 + nativeCheckInputs = [ 47 + cvxopt 48 + pytest-timeout 49 + pytestCheckHook 50 + ]; 51 + 52 + meta = { 53 + changelog = "https://github.com/python-control/python-control/releases/tag/${src.tag}"; 54 + description = "Python Control Systems Library"; 55 + homepage = "https://github.com/python-control/python-control"; 56 + license = lib.licenses.bsd3; 57 + maintainers = with lib.maintainers; [ Peter3579 ]; 58 + }; 59 + }
+2
pkgs/top-level/python-packages.nix
··· 2897 2897 2898 2898 controku = callPackage ../development/python-modules/controku { }; 2899 2899 2900 + control = callPackage ../development/python-modules/control { }; 2901 + 2900 2902 convertdate = callPackage ../development/python-modules/convertdate { }; 2901 2903 2902 2904 convertertools = callPackage ../development/python-modules/convertertools { };