Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
990 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, cython, fetchFromGitHub, mpi4py, numpy, precice, pkgconfig, pythonOlder}:
buildPythonPackage rec { pname = "pyprecice"; version = "2.5.0.4"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "precice"; repo = "python-bindings"; rev = "refs/tags/v${version}"; hash = "sha256-Nau4ytOSv5WOly/hbHO2M6Rgx1ileJrzfCfNJFnwVaw="; };
nativeBuildInputs = [ cython pkgconfig ];
propagatedBuildInputs = [ numpy mpi4py precice ];
# Disable Test because everything depends on open mpi which requires network doCheck = false;
# Do not use pythonImportsCheck because this will also initialize mpi which requires a network interface
meta = with lib; { description = "Python language bindings for preCICE"; homepage = "https://github.com/precice/python-bindings"; license = licenses.lgpl3Only; maintainers = with maintainers; [ Scriptkiddi ]; };}