e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
39 lines
950 B
Nix
39 lines
950 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, setuptools-scm
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "screed";
|
|
version = "1.1.3";
|
|
format = "setuptools";
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-N+gWl8fbqVoFNVTltahq/zKXBeHPXfxee42lht7gcrg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
pythonImportsCheck = [ "screed" ];
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
# These tests use the screed CLI and make assumptions on how screed is
|
|
# installed that break with nix. Can be enabled when upstream is fixed.
|
|
disabledTests = [
|
|
"Test_convert_shell"
|
|
"Test_fa_shell_command"
|
|
"Test_fq_shell_command"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A simple read-only sequence database, designed for short reads";
|
|
homepage = "https://pypi.org/project/screed/";
|
|
maintainers = with maintainers; [ luizirber ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|