From 2ada3b5d3e4d776fc1e5dcdc1c34a4b7bd884614 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Tue, 17 Dec 2019 14:26:28 +1100 Subject: [PATCH] samblaster: init 0.1.24 --- .../science/biology/samblaster/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/science/biology/samblaster/default.nix diff --git a/pkgs/applications/science/biology/samblaster/default.nix b/pkgs/applications/science/biology/samblaster/default.nix new file mode 100644 index 000000000000..7795ba237367 --- /dev/null +++ b/pkgs/applications/science/biology/samblaster/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "samblaster"; + version = "0.1.24"; + + src = fetchFromGitHub { + owner = "GregoryFaust"; + repo = "samblaster"; + rev = "v.${version}"; + sha256 = "0iv2ddfw8363vb2x8gr3p8g88whb6mb9m0pf71i2cqsbv6jghap7"; + }; + + installPhase = '' + mkdir -p $out/bin + cp samblaster $out/bin + ''; + + meta = with stdenv.lib; { + description = "Tool for marking duplicates and extracting discordant/split reads from SAM/BAM files"; + maintainers = with maintainers; [ jbedo ]; + license = licenses.mit; + homepage = "https://github.com/GregoryFaust/samblaster"; + platforms = platforms.x86_64; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f635f7a81eb1..f2225ac24303 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24919,6 +24919,8 @@ in mpi = true; }); + samblaster = callPackage ../applications/science/biology/samblaster { }; + samtools = callPackage ../applications/science/biology/samtools { }; samtools_0_1_19 = callPackage ../applications/science/biology/samtools/samtools_0_1_19.nix { stdenv = gccStdenv;