Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
931 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, cython, fetchFromGitHub, numpy, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "gsd"; version = "3.3.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "glotzerlab"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-sDb6TJvN7yFiRabc66zIjk6w9CEUYMhpe+fWv+apvkI="; };
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ 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 = [ ]; };}