Skip to content

Commit

Permalink
bedtools: init at 2.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedo authored and rycee committed Mar 8, 2017
1 parent 661048c commit 7f214e6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/applications/science/biology/bedtools/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{stdenv, fetchFromGitHub, zlib, python}:

stdenv.mkDerivation rec {
name = "bedtools-${version}";
version = "2.26.0";

src = fetchFromGitHub {
owner = "arq5x";
repo = "bedtools2";
rev = "v${version}";
sha256 = "1j2ia68rmcw3qksjm5gvv1cb84bh76vmln59mvncr2an23f5a3ss";
};

buildInputs = [ zlib python ];
buildPhase = "make prefix=$out SHELL=${stdenv.shell} -j $NIX_BUILD_CORES";
installPhase = "make prefix=$out SHELL=${stdenv.shell} install";

meta = with stdenv.lib; {
description = "A powerful toolset for genome arithmetic.";
license = licenses.gpl2;
homepage = https://bedtools.readthedocs.io/en/latest/;
maintainers = with maintainers; [ jbedo ];
platforms = platforms.unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16970,6 +16970,8 @@ with pkgs;
stdenv = overrideCC stdenv gcc49;
};

bedtools = callPackage ../applications/science/biology/bedtools/default.nix { };

bcftools = callPackage ../applications/science/biology/bcftools { };

ecopcr = callPackage ../applications/science/biology/ecopcr { };
Expand Down

0 comments on commit 7f214e6

Please sign in to comment.