python3Packages.gsd: 1.7.0 -> 1.9.3
This commit is contained in:
parent
697be7554a
commit
8f0aba000b
@ -1,26 +1,30 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
||||
, numpy
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.7.0";
|
||||
version = "1.9.3";
|
||||
pname = "gsd";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0fpk69wachyydpk9cbs901m7hkwrrvq24ykxsrz62km9ql8lr2vp";
|
||||
src = fetchFromGitHub {
|
||||
owner = "glotzerlab";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "07hw29r2inyp493dia4fx3ysfr1wxi2jb3n9cmwdi0l54s2ahqvf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
# tests not packaged with gsd
|
||||
doCheck = false;
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://bitbucket.org/glotzer/gsd;
|
||||
meta = with lib; {
|
||||
description = "General simulation data file format";
|
||||
homepage = "https://github.com/glotzerlab/gsd";
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user