at master 847 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 wheel, 7 more-itertools, 8 numpy, 9}: 10 11buildPythonPackage rec { 12 pname = "parsnip"; 13 version = "0.4.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "glotzerlab"; 18 repo = "parsnip"; 19 rev = "v${version}"; 20 hash = "sha256-Nac0afep7+HkpSBpqClHpPFSc8H3g8l4q067RQe5K54="; 21 }; 22 23 build-system = [ 24 setuptools 25 wheel 26 ]; 27 28 dependencies = [ 29 more-itertools 30 numpy 31 ]; 32 33 pythonImportsCheck = [ 34 "parsnip" 35 ]; 36 37 meta = { 38 description = "Lightweight, performant library for parsing CIF files in Python"; 39 homepage = "https://github.com/glotzerlab/parsnip"; 40 changelog = "https://github.com/glotzerlab/parsnip/blob/${src.rev}/changelog.rst"; 41 license = lib.licenses.bsd3; 42 maintainers = with lib.maintainers; [ doronbehar ]; 43 }; 44}