diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ba7d586e8411..6e9e3faf60e6 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; diff --git a/pkgs/development/python-modules/screed/default.nix b/pkgs/development/python-modules/screed/default.nix new file mode 100644 index 000000000000..f21e09d1e581 --- /dev/null +++ b/pkgs/development/python-modules/screed/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c025140f5393..7b5a3e86dac2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };