diff options
author | Justin Bedo <cu@cua0.org> | 2017-03-07 15:54:31 +1100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2017-03-08 22:36:29 +0100 |
commit | 7f214e64109438fb8a9bbffd94ca41021d8b8fa7 (patch) | |
tree | 80ec46a48c0d01673c909bfc4bb0dece37192fc9 /pkgs/applications/science/biology | |
parent | 661048c803f7c0c7aa1915162580b7c21316a4a3 (diff) | |
download | nixpkgs-7f214e64109438fb8a9bbffd94ca41021d8b8fa7.tar nixpkgs-7f214e64109438fb8a9bbffd94ca41021d8b8fa7.tar.gz nixpkgs-7f214e64109438fb8a9bbffd94ca41021d8b8fa7.tar.bz2 nixpkgs-7f214e64109438fb8a9bbffd94ca41021d8b8fa7.tar.lz nixpkgs-7f214e64109438fb8a9bbffd94ca41021d8b8fa7.tar.xz nixpkgs-7f214e64109438fb8a9bbffd94ca41021d8b8fa7.tar.zst nixpkgs-7f214e64109438fb8a9bbffd94ca41021d8b8fa7.zip |
bedtools: init at 2.26.0
Diffstat (limited to 'pkgs/applications/science/biology')
-rw-r--r-- | pkgs/applications/science/biology/bedtools/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/science/biology/bedtools/default.nix b/pkgs/applications/science/biology/bedtools/default.nix new file mode 100644 index 00000000000..cd5c980b001 --- /dev/null +++ b/pkgs/applications/science/biology/bedtools/default.nix @@ -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; + }; +} |