Unverified Commit 3fc472a1 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #205878 from luizirber/lirber/screed

parents f6f6796b 105c76e7
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };