Unverified Commit 78caed26 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

python3Packages.control: init at 0.10.1 (#417209)

parents e1bb5891 337a911d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -19504,6 +19504,11 @@
    github = "petee";
    githubId = 89916;
  };
  Peter3579 = {
    github = "Peter3579";
    githubId = 170885528;
    name = "Peter3579";
  };
  peterhoeg = {
    email = "peter@hoeg.com";
    matrix = "@peter:hoeg.com";
+59 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  numpy,
  scipy,
  matplotlib,
  setuptools,
  setuptools-scm,
  cvxopt,
  pytest-timeout,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "control";
  version = "0.10.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "python-control";
    repo = "python-control";
    tag = version;
    hash = "sha256-wLDYPuLnsZ2+cXf7j3BxUbn4IjHPt09LE9cjQGXWrO0=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  dependencies = [
    numpy
    scipy
    matplotlib
  ];

  optional-dependencies = {
    # slycot is not in nixpkgs
    # slycot = [ slycot ];
    cvxopt = [ cvxopt ];
  };

  pythonImportsCheck = [ "control" ];

  nativeCheckInputs = [
    cvxopt
    pytest-timeout
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/python-control/python-control/releases/tag/${src.tag}";
    description = "Python Control Systems Library";
    homepage = "https://github.com/python-control/python-control";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ Peter3579 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -2897,6 +2897,8 @@ self: super: with self; {
  controku = callPackage ../development/python-modules/controku { };
  control = callPackage ../development/python-modules/control { };
  convertdate = callPackage ../development/python-modules/convertdate { };
  convertertools = callPackage ../development/python-modules/convertertools { };