Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
947 B · 54 lines
Nix
at flake-libs
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, cython, fetchFromGitHub, numpy, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "gsd"; version = "3.4.2"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "glotzerlab"; repo = "gsd"; tag = "v${version}"; hash = "sha256-sBO5tt85BVLUrqSVWUT/tYzeLWyvyyI9ZXjNLt9/uAE="; };
build-system = [ cython numpy setuptools ];
dependencies = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gsd" ];
preCheck = '' pushd gsd/test '';
postCheck = '' popd '';
meta = with lib; { description = "General simulation data file format"; mainProgram = "gsd"; homepage = "https://github.com/glotzerlab/gsd"; changelog = "https://github.com/glotzerlab/gsd/blob/v${version}/CHANGELOG.rst"; license = licenses.bsd2; maintainers = [ ]; };}