samblaster: Initial packaging
This commit is contained in:
@@ -50,6 +50,8 @@ self: super: pkgs: with pkgs; {
|
|||||||
|
|
||||||
sambamba = callPackage ./sambamba.nix { };
|
sambamba = callPackage ./sambamba.nix { };
|
||||||
|
|
||||||
|
samblaster = callPackage ./samblaster.nix { };
|
||||||
|
|
||||||
idba = callPackage ./idba.nix { };
|
idba = callPackage ./idba.nix { };
|
||||||
|
|
||||||
nixStable = ( super.nixStable.override { confDir= "/nix/etc"; } ).overrideAttrs
|
nixStable = ( super.nixStable.override { confDir= "/nix/etc"; } ).overrideAttrs
|
||||||
|
|||||||
28
pkgs/samblaster.nix
Normal file
28
pkgs/samblaster.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user