Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
948 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ 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"; tag = "v${version}"; hash = "sha256-ddiSCVzywlCeeVbRJg2wxKIlAVlZw9Js95IbEDqhh5Q="; };
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ipopt ];
build-system = [ cython numpy 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 ]; };}