eb74570adc
https://github.com/glotzerlab/gsd/blob/v4.2.0/CHANGELOG.rst This commit was automatically generated using update-python-libraries.
52 lines
892 B
Nix
52 lines
892 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cython,
|
|
fetchFromGitHub,
|
|
numpy,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gsd";
|
|
version = "4.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "glotzerlab";
|
|
repo = "gsd";
|
|
tag = "v${version}";
|
|
hash = "sha256-qswKeZ8HJEjIV27O2UBmjN+Napa2sItECS5r/vb+l7k=";
|
|
};
|
|
|
|
build-system = [
|
|
cython
|
|
numpy
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [ numpy ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "gsd" ];
|
|
|
|
preCheck = ''
|
|
pushd gsd/test
|
|
'';
|
|
|
|
postCheck = ''
|
|
popd
|
|
'';
|
|
|
|
meta = {
|
|
description = "General simulation data file format";
|
|
mainProgram = "gsd";
|
|
homepage = "https://github.com/glotzerlab/gsd";
|
|
changelog = "https://github.com/glotzerlab/gsd/blob/${src.tag}/CHANGELOG.rst";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = [ ];
|
|
};
|
|
}
|