at master 805 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools-scm, 6 pythonOlder, 7 pytestCheckHook, 8 pytest-cov-stub, 9}: 10 11buildPythonPackage rec { 12 pname = "newick"; 13 version = "1.9.0"; 14 format = "pyproject"; 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "dlce-eva"; 19 repo = "python-newick"; 20 rev = "v${version}"; 21 hash = "sha256-TxyR6RYvy2oIcDNZnHrExtPYGspyWOtZqNy488OmWwk="; 22 }; 23 24 nativeBuildInputs = [ setuptools-scm ]; 25 26 nativeCheckInputs = [ 27 pytestCheckHook 28 pytest-cov-stub 29 ]; 30 31 pythonImportsCheck = [ "newick" ]; 32 33 meta = with lib; { 34 description = "Python package to read and write the Newick format"; 35 homepage = "https://github.com/dlce-eva/python-newick"; 36 license = licenses.asl20; 37 maintainers = with maintainers; [ ]; 38 }; 39}