at master 984 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pythonOlder, 6 setuptools-scm, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "screed"; 12 version = "1.1.3"; 13 format = "setuptools"; 14 disabled = pythonOlder "3.8"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-N+gWl8fbqVoFNVTltahq/zKXBeHPXfxee42lht7gcrg="; 19 }; 20 21 nativeBuildInputs = [ setuptools-scm ]; 22 23 pythonImportsCheck = [ "screed" ]; 24 checkInputs = [ pytestCheckHook ]; 25 26 # These tests use the screed CLI and make assumptions on how screed is 27 # installed that break with nix. Can be enabled when upstream is fixed. 28 disabledTests = [ 29 "Test_convert_shell" 30 "Test_fa_shell_command" 31 "Test_fq_shell_command" 32 ]; 33 34 meta = with lib; { 35 description = "Simple read-only sequence database, designed for short reads"; 36 mainProgram = "screed"; 37 homepage = "https://pypi.org/project/screed/"; 38 maintainers = with maintainers; [ luizirber ]; 39 license = licenses.bsd3; 40 }; 41}