Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
964 B · 46 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, cython, fetchFromGitHub, mpi4py, numpy, precice, pythonOlder}:
buildPythonPackage rec { pname = "pyprecice"; version = "2.5.0.2"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "precice"; repo = "python-bindings"; rev = "refs/tags/v${version}"; hash = "sha256-ppDilMwRxVsikTFQMNRYL0G1/HvVomz2S/2yx43u000="; };
nativeBuildInputs = [ cython ];
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 ]; };}