Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
948 B · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, cython, ipopt, numpy, pkg-config, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "cyipopt"; version = "1.6.1"; pyproject = true;
src = fetchFromGitHub { owner = "mechmotum"; repo = "cyipopt"; tag = "v${version}"; hash = "sha256-feGGAwhNw+xZrSsag2W5nruQWAC6NP9k4F0X9EjaRTg="; };
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.tag}/CHANGELOG.rst"; license = lib.licenses.epl20; maintainers = with lib.maintainers; [ nim65s ]; };}