diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-02-16 22:49:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 22:49:50 +0100 |
commit | 3fc472a147d9f5cb22d7f7f509c6f57749cee50f (patch) | |
tree | 73b43d87247f06f0cd25afd00c07d7cf4925e024 | |
parent | f6f6796bc9738c6f29fb7ffc4a5f7d26614f7cc6 (diff) | |
parent | 105c76e711cbdbf5f615ce37f702cb37228f3bc1 (diff) | |
download | nixpkgs-3fc472a147d9f5cb22d7f7f509c6f57749cee50f.tar nixpkgs-3fc472a147d9f5cb22d7f7f509c6f57749cee50f.tar.gz nixpkgs-3fc472a147d9f5cb22d7f7f509c6f57749cee50f.tar.bz2 nixpkgs-3fc472a147d9f5cb22d7f7f509c6f57749cee50f.tar.lz nixpkgs-3fc472a147d9f5cb22d7f7f509c6f57749cee50f.tar.xz nixpkgs-3fc472a147d9f5cb22d7f7f509c6f57749cee50f.tar.zst nixpkgs-3fc472a147d9f5cb22d7f7f509c6f57749cee50f.zip |
Merge pull request #205878 from luizirber/lirber/screed
-rw-r--r-- | maintainers/maintainer-list.nix | 6 | ||||
-rw-r--r-- | pkgs/development/python-modules/screed/default.nix | 43 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
3 files changed, 51 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ba7d586e841..6e9e3faf60e 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 00000000000..f21e09d1e58 --- /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 c025140f539..7b5a3e86dac 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 { }; |