fenics: use normal pytest

This commit is contained in:
Armeen Mahdian 2022-04-25 09:42:36 -05:00
parent 550162327f
commit af7d06ed59
2 changed files with 11 additions and 19 deletions

View file

@ -1,45 +1,37 @@
{ lib, stdenv
, fetchurl
, fetchpatch
, blas
, boost
, cmake
, doxygen
, eigen
, gtest
, hdf5
, lapack
, mpi
, mpi4py
, numpy
, pkg-config
, ply
, pybind11
, pytest
, pythonPackages
, six
, sympy
, gtest
, hdf5
, mpi
, ply
, python
, pythonPackages
, scotch
, setuptools
, six
, sphinx
, suitesparse
, swig
, sympy
, zlib
, blas
, lapack
, nixosTests
}:
let
version = "2019.1.0";
# TODO: test with newer pytest
pytest = pythonPackages.callPackage
../../../../python2-modules/pytest {
# hypothesis tests require pytest that causes dependency cycle
hypothesis = pythonPackages.hypothesis.override {
doCheck = false;
};
};
dijitso = pythonPackages.buildPythonPackage {
pname = "dijitso";
inherit version;

View file

@ -2877,7 +2877,7 @@ in {
feedparser = callPackage ../development/python-modules/feedparser { };
fenics = callPackage ../development/libraries/science/math/fenics {
fenics = callPackage ../development/python-modules/fenics {
hdf5 = pkgs.hdf5_1_10;
boost = pkgs.boost169;
};