From cc1685cf0f2a212716e1831e6312941e9cc72cc1 Mon Sep 17 00:00:00 2001 From: Brad Langhorst Date: Sun, 4 Sep 2022 12:00:38 -0400 Subject: [PATCH 1/2] maintainers: adds bwlang --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 016523fdab5d..ab14ba2a5b0b 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2038,6 +2038,12 @@ githubId = 157330; name = "Ben Burdette"; }; + bwlang = { + email = "brad@langhorst.com"; + github = "bwlang"; + githubId = 61636; + name = "Brad Langhorst"; + }; bzizou = { email = "Bruno@bzizou.net"; github = "bzizou"; From 2beb26b45be73dff0e80341b9e2de200c610a32f Mon Sep 17 00:00:00 2001 From: Brad Langhorst Date: Sun, 4 Sep 2022 12:07:09 -0400 Subject: [PATCH 2/2] seqtk: init at 1.3 Co-authored-by: Anderson Torres --- .../science/biology/seqtk/default.nix | 39 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 41 insertions(+) create mode 100644 pkgs/applications/science/biology/seqtk/default.nix diff --git a/pkgs/applications/science/biology/seqtk/default.nix b/pkgs/applications/science/biology/seqtk/default.nix new file mode 100644 index 000000000000..4b855f5c0205 --- /dev/null +++ b/pkgs/applications/science/biology/seqtk/default.nix @@ -0,0 +1,39 @@ +{ lib +, stdenv +, fetchFromGitHub +, zlib +, libdeflate +, isa-l +}: + +stdenv.mkDerivation rec { + pname = "seqtk"; + version = "1.3"; + + src = fetchFromGitHub { + owner = "lh3"; + repo = "seqtk"; + rev = "v${version}"; + hash = "sha256-1Hw/lnoFQumuEJg1n2C6vnWkBa+VLiEiDrosghSm360="; + }; + + buildInputs = [ zlib libdeflate isa-l ]; + + makeFlags = [ "CC=cc" ]; + + installPhase = '' + runHook preInstall + + install -Dm755 -t $out/bin seqtk + + runHook postInstall + ''; + + meta = with lib; { + description = "Toolkit for processing sequences in FASTA/Q formats"; + license = licenses.mit; + homepage = "https://github.com/lh3/seqtk"; + platforms = platforms.all; + maintainers = with maintainers; [ bwlang ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 17aeaed2252f..80bb0e8489f3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34706,6 +34706,8 @@ with pkgs; stdenv = gccStdenv; }; + seqtk = callPackage ../applications/science/biology/seqtk { }; + snpeff = callPackage ../applications/science/biology/snpeff { }; somafm-cli = callPackage ../tools/misc/somafm-cli { };