Merge pull request #205878 from luizirber/lirber/screed
This commit is contained in:
commit
3fc472a147
3 changed files with 51 additions and 0 deletions
|
@ -8573,6 +8573,12 @@
|
|||
githubId = 22085373;
|
||||
name = "Luis Hebendanz";
|
||||
};
|
||||
luizirber = {
|
||||
email = "nixpkgs@luizirber.org";
|
||||
github = "luizirber";
|
||||
githubId = 6642;
|
||||
name = "Luiz Irber";
|
||||
};
|
||||
luizribeiro = {
|
||||
email = "nixpkgs@l9o.dev";
|
||||
matrix = "@luizribeiro:matrix.org";
|
||||
|
|
43
pkgs/development/python-modules/screed/default.nix
Normal file
43
pkgs/development/python-modules/screed/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ 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/";
|
||||
maintainers = with maintainers; [ luizirber ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
|
@ -10383,6 +10383,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 { };
|
||||
|
|
Loading…
Reference in a new issue