python3Packages.cyipopt: init at 1.5.0 (#349036)

This commit is contained in:
Gaétan Lepage
2024-12-02 16:41:52 +01:00
committed by GitHub
2 changed files with 49 additions and 0 deletions
@@ -0,0 +1,47 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
cython,
ipopt,
numpy,
pkg-config,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "cyipopt";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mechmotum";
repo = "cyipopt";
rev = "refs/tags/v${version}";
hash = "sha256-ddiSCVzywlCeeVbRJg2wxKIlAVlZw9Js95IbEDqhh5Q=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ipopt ];
build-system = [
cython
setuptools
];
dependencies = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cyipopt" ];
meta = {
description = "Cython interface for the interior point optimzer IPOPT";
homepage = "https://github.com/mechmotum/cyipopt";
changelog = "https://github.com/mechmotum/cyipopt/blob/${src.rev}/CHANGELOG.rst";
license = lib.licenses.epl20;
maintainers = with lib.maintainers; [ nim65s ];
};
}
+2
View File
@@ -2835,6 +2835,8 @@ self: super: with self; {
cyclopts = callPackage ../development/python-modules/cyclopts { };
cyipopt = callPackage ../development/python-modules/cyipopt { };
cymem = callPackage ../development/python-modules/cymem { };
cymruwhois = callPackage ../development/python-modules/cymruwhois { };