diff options
author | Robert T. McGibbon <rmcgibbo@gmail.com> | 2021-04-04 19:49:08 -0400 |
---|---|---|
committer | Robert T. McGibbon <rmcgibbo@gmail.com> | 2021-04-04 19:49:08 -0400 |
commit | 1ccf09884bc469a36bc89dfd098cb7196bdfff34 (patch) | |
tree | 7d8f930eb09536fe98cbc28e7b3a2f371516c051 /pkgs/development/python-modules/gsd | |
parent | 131299a60ff3db9defb1e84ff4cfa41a07e61ecb (diff) |
python3Packages.gsd: 1.9.3 -> 2.4.1
Diffstat (limited to 'pkgs/development/python-modules/gsd')
-rw-r--r-- | pkgs/development/python-modules/gsd/default.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/gsd/default.nix b/pkgs/development/python-modules/gsd/default.nix index 8eefb1f4318b5..b23cfc71e6025 100644 --- a/pkgs/development/python-modules/gsd/default.nix +++ b/pkgs/development/python-modules/gsd/default.nix @@ -1,10 +1,10 @@ { lib, buildPythonPackage, fetchFromGitHub, isPy27 -, numpy -, pytest +, cython, numpy +, pytestCheckHook }: buildPythonPackage rec { - version = "1.9.3"; + version = "2.4.1"; pname = "gsd"; disabled = isPy27; @@ -12,14 +12,18 @@ buildPythonPackage rec { owner = "glotzerlab"; repo = pname; rev = "v${version}"; - sha256 = "07hw29r2inyp493dia4fx3ysfr1wxi2jb3n9cmwdi0l54s2ahqvf"; + sha256 = "02zxfmqw7a5kz8qjdph9a9961mbkd4haxwwa28yjkxs5hzs5x3c8"; }; + nativeBuildInputs = [ cython ]; propagatedBuildInputs = [ numpy ]; - checkInputs = [ pytest ]; - checkPhase = '' - pytest + checkInputs = [ pytestCheckHook ]; + preCheck = '' + pushd gsd/test + ''; + postCheck = '' + popd ''; meta = with lib; { |