python3Packages.cyipopt: init at 1.5.0
Co-authored-by: Arne Keller <2012gdwu+github@posteo.de> Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
co-authored by
Arne Keller
Gaétan Lepage
parent
d4f2666ce0
commit
201b0b054e
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user