samblaster: Initial packaging

This commit is contained in:
Tyson Whitehead
2019-10-29 14:44:00 -04:00
parent 1c1b029b58
commit d722075b64
2 changed files with 30 additions and 0 deletions

View File

@@ -50,6 +50,8 @@ self: super: pkgs: with pkgs; {
sambamba = callPackage ./sambamba.nix { };
samblaster = callPackage ./samblaster.nix { };
idba = callPackage ./idba.nix { };
nixStable = ( super.nixStable.override { confDir= "/nix/etc"; } ).overrideAttrs

28
pkgs/samblaster.nix Normal file
View File

@@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "0.1.24";
name = "samblaster-${version}";
src = fetchFromGitHub {
inherit name;
owner = "GregoryFaust";
repo = "samblaster";
rev = "v.${version}";
sha256 = "0iv2ddfw8363vb2x8gr3p8g88whb6mb9m0pf71i2cqsbv6jghap7";
};
installPhase = ''
mkdir -p "$out/bin"
cp samblaster "$out/bin"
'';
buildInputs = [ ];
meta = with stdenv.lib; {
description = "A fast and flexible program for marking duplicates in read-id grouped paired-end SAM files.";
homepage = https://github.com/GregoryFaust/samblaster;
platforms = platforms.all;
license = licenses.mit;
};
}