Files
nixpkgs/pkgs/development/python-modules/gsd/default.nix
Darren Rambaud 8a2c803fe5 python3Packages.gsd: add debtquity as maintainer
* no maintainer, will adopt package
2026-11-09 20:12:02 -06:00

54 lines
934 B
Nix

{
lib,
buildPythonPackage,
cython,
fetchFromGitHub,
numpy,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "gsd";
version = "5.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "glotzerlab";
repo = "gsd";
tag = "v${version}";
hash = "sha256-jgj5XgBN68E/Rd60YnXwsy0YIJDcPAk8ajnGeVe1k9g=";
};
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 = with lib.maintainers; [
debtquity
];
};
}