Merge pull request #118519 from rmcgibbo/gsd
python3Packages.gsd: 1.9.3 -> 2.4.1
This commit is contained in:
commit
979c73ea7c
1 changed files with 11 additions and 7 deletions
|
@ -1,10 +1,10 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
||||||
, numpy
|
, cython, numpy
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.9.3";
|
version = "2.4.1";
|
||||||
pname = "gsd";
|
pname = "gsd";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
|
@ -12,14 +12,18 @@ buildPythonPackage rec {
|
||||||
owner = "glotzerlab";
|
owner = "glotzerlab";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "07hw29r2inyp493dia4fx3ysfr1wxi2jb3n9cmwdi0l54s2ahqvf";
|
sha256 = "02zxfmqw7a5kz8qjdph9a9961mbkd4haxwwa28yjkxs5hzs5x3c8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cython ];
|
||||||
propagatedBuildInputs = [ numpy ];
|
propagatedBuildInputs = [ numpy ];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
checkPhase = ''
|
preCheck = ''
|
||||||
pytest
|
pushd gsd/test
|
||||||
|
'';
|
||||||
|
postCheck = ''
|
||||||
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue