3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pyprecice: init at 2.3.0.1

This commit is contained in:
Scriptkiddi 2022-02-28 13:58:31 +01:00 committed by Jonathan Ringer
parent 6c8c2339ca
commit 98213c5eaf
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchFromGitHub, precice, numpy, mpi4py, cython }:
buildPythonPackage rec {
pname = "pyprecice";
version = "2.3.0.1";
src = fetchFromGitHub {
owner = "precice";
repo = "python-bindings";
rev = "v${version}";
sha256 = "1yz96pif63ms797bzxbfrjba4mgz7cz5dqrqghn5sg0g1b9qxnn5";
};
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ numpy mpi4py precice ];
doCheck = false; # Disable Test because everything depends on open mpi which requires network.
pythonImportChecks = [ "precice" ];
meta = with lib; {
description = "Python language bindings for preCICE";
homepage = "https://github.com/precice/python-bindings";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ Scriptkiddi ];
};
}

View file

@ -6092,6 +6092,8 @@ in {
pdunehd = callPackage ../development/python-modules/pdunehd { };
pyprecice = callPackage ../development/python-modules/pyprecice { };
phonopy = callPackage ../development/python-modules/phonopy { };
phpserialize = callPackage ../development/python-modules/phpserialize { };