diff options
author | Robin Gloster <mail@glob.in> | 2017-09-28 00:52:58 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-09-28 00:54:01 +0200 |
commit | 7cbf3a27de3bcb9d090a5ef205f238c2e69e0786 (patch) | |
tree | b83367cf152c7a4cdf4098788e096a5327746639 /pkgs | |
parent | a3e2ecd7f746300703eb95dea91668e91519d003 (diff) | |
download | nixlib-7cbf3a27de3bcb9d090a5ef205f238c2e69e0786.tar nixlib-7cbf3a27de3bcb9d090a5ef205f238c2e69e0786.tar.gz nixlib-7cbf3a27de3bcb9d090a5ef205f238c2e69e0786.tar.bz2 nixlib-7cbf3a27de3bcb9d090a5ef205f238c2e69e0786.tar.lz nixlib-7cbf3a27de3bcb9d090a5ef205f238c2e69e0786.tar.xz nixlib-7cbf3a27de3bcb9d090a5ef205f238c2e69e0786.tar.zst nixlib-7cbf3a27de3bcb9d090a5ef205f238c2e69e0786.zip |
freebayes: clean up build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/science/biology/freebayes/builder.sh | 11 | ||||
-rw-r--r-- | pkgs/applications/science/biology/freebayes/default.nix | 6 |
2 files changed, 4 insertions, 13 deletions
diff --git a/pkgs/applications/science/biology/freebayes/builder.sh b/pkgs/applications/science/biology/freebayes/builder.sh deleted file mode 100644 index a9f56e77d7e3..000000000000 --- a/pkgs/applications/science/biology/freebayes/builder.sh +++ /dev/null @@ -1,11 +0,0 @@ -source $stdenv/setup - -unpackPhase - -cd freebayes-* - -make - -mkdir -p $out/bin -cp bin/freebayes bin/bamleftalign $out/bin -cp scripts/* $out/bin diff --git a/pkgs/applications/science/biology/freebayes/default.nix b/pkgs/applications/science/biology/freebayes/default.nix index ec11e4ccb307..99d2dfa55ddd 100644 --- a/pkgs/applications/science/biology/freebayes/default.nix +++ b/pkgs/applications/science/biology/freebayes/default.nix @@ -13,9 +13,11 @@ stdenv.mkDerivation rec { fetchSubmodules = true; }; - buildInputs = [ cmake gcc zlib bzip2 lzma ]; + buildInputs = [ zlib bzip2 lzma ]; - builder = ./builder.sh; + installPhase = '' + install -vD bin/freebayes bin/bamleftalign scripts/* -t $out/bin + ''; meta = with stdenv.lib; { description = "Bayesian haplotype-based polymorphism discovery and genotyping"; |