Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
949 B · 56 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, cython, fetchFromGitHub, numpy, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "gsd"; version = "2.8.1"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "glotzerlab"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-6Ixy62hHbSjArlDzBICdk0e8DDKxaHShamHpHEKOqqU="; };
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gsd" ];
preCheck = '' pushd gsd/test '';
postCheck = '' popd '';
meta = with lib; { description = "General simulation data file format"; homepage = "https://github.com/glotzerlab/gsd"; changelog = "https://github.com/glotzerlab/gsd/blob/v${version}/CHANGELOG.rst"; license = licenses.bsd2; maintainers = with maintainers; [ costrouc ]; };}