pythonPackages.gsd: freeze at 1.7.0

This commit is contained in:
Jonathan Ringer 2019-09-30 08:06:32 -07:00 committed by Jon
parent bd51071ca1
commit 697be7554a
2 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, numpy
}:
buildPythonPackage rec {
version = "1.7.0";
pname = "gsd";
src = fetchPypi {
inherit pname version;
sha256 = "0fpk69wachyydpk9cbs901m7hkwrrvq24ykxsrz62km9ql8lr2vp";
};
propagatedBuildInputs = [ numpy ];
# tests not packaged with gsd
doCheck = false;
meta = with stdenv.lib; {
homepage = https://bitbucket.org/glotzer/gsd;
description = "General simulation data file format";
license = licenses.bsd2;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -643,7 +643,10 @@ in {
inherit (pkgs) graphviz;
};
gsd = callPackage ../development/python-modules/gsd { };
gsd = if isPy27 then
callPackage ../development/python-modules/gsd/1.7.nix { }
else
callPackage ../development/python-modules/gsd { };
gssapi = callPackage ../development/python-modules/gssapi {
inherit (pkgs) darwin krb5Full;