Skip to content

Commit

Permalink
Fix salmon package description
Browse files Browse the repository at this point in the history
  • Loading branch information
bmpvieira authored Jan 12, 2019
1 parent c52515b commit 793e416
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions pkgs/applications/science/biology/salmon/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{ stdenv, fetchurl, makeWrapper,
cmake, autoconf, pkgconfig,
cudatoolkit, linuxPackages,
bash, curl, unzip, bzip2, lzma,
boost, tbb, jemalloc }:
{ stdenv, fetchurl, bash, cmake, pkgconfig, curl, cacert, unzip, zlib, lzma, bzip2, tbb, jemalloc, boost }:

stdenv.mkDerivation rec {
name = "${pname}-${version}";
Expand All @@ -14,28 +10,18 @@ stdenv.mkDerivation rec {
sha256 = "18zgky3fm3wcgjh5r2dq88p11xvr1cyczgmsqqpc3d5hqppx3swi";
};

buildInputs = [
makeWrapper
cmake autoconf pkgconfig
cudatoolkit linuxPackages.nvidia_x11
bash curl unzip bzip2 lzma
boost tbb jemalloc
];

CUDA_PATH = "${cudatoolkit}";
nativeBuildInputs = [ bash cmake pkgconfig curl cacert unzip ];
buildInputs = [ zlib lzma bzip2 tbb jemalloc boost ];

preConfigure = ''
for i in scripts/*.sh; do
substituteInPlace $i --replace /bin/bash ${bash}/bin/bash
substituteInPlace $i --replace /bin/bash $shell
done
substituteInPlace CMakeLists.txt --replace \
'set(Boost_USE_STATIC_LIBS ON)' \
'set(Boost_USE_STATIC_LIBS OFF)'
'';

installTargets = "install-bin install-doc";

meta = with stdenv.lib; {
description = "Highly-accurate & wicked fast transcript-level quantification from RNA-seq reads using lightweight alignments";
license = licenses.gpl3;
Expand Down

0 comments on commit 793e416

Please sign in to comment.