python3Packages.screed: init at 1.1.1

This commit is contained in:
Luiz Irber 2022-12-11 14:22:07 -08:00
parent 3f113f8c53
commit 3953ad2e6b
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
, bz2file
, setuptools
, setuptools-scm
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "screed";
version = "1.1.1";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-EB4ZNImNLUoU+dnJd3S4wTyQpmuNK3NLtakPsO1iCbU=";
};
nativeBuildInputs = [ setuptools-scm ];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
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"
];
propagatedBuildInputs = [ bz2file setuptools ];
meta = with lib; {
description = "A simple read-only sequence database, designed for short reads";
homepage = "https://pypi.org/project/screed/";
license = licenses.bsd3;
};
}

View file

@ -10375,6 +10375,8 @@ self: super: with self; {
scrapy-splash = callPackage ../development/python-modules/scrapy-splash { };
screed = callPackage ../development/python-modules/screed { };
screeninfo = callPackage ../development/python-modules/screeninfo { };
screenlogicpy = callPackage ../development/python-modules/screenlogicpy { };