git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #91647 from jbedo/whisper

whisper: init at 2.0.1

commitde257138863bab94a5c0c1d51534bc6322b1cd48 authorLassulus <github@lassul.us> dateFri 21 Aug 2020, 18:09 (6 years ago) parent7d03cf23139597
2 files changed+36
pkgs/applications/science/biology/whisper/default.nix+34 pkgs/top-level/all-packages.nix+2
pkgs/applications/science/biology/whisper/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ stdenv, fetchFromGitHub, fetchurl }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "whisper";
5+ version = "2.0.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "refresh-bio";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "0wpx1w1mar2d6zq2v14vy6nn896ds1n3zshxhhrrj5d528504iyw";
12+ };
13+
14+ preConfigure = ''
15+ cd src
16+
17+ # disable default static linking
18+ sed -i 's/ -static / /' makefile
19+ '';
20+
21+ installPhase = ''
22+ runHook preInstall
23+ install -Dt $out/bin whisper whisper-index
24+ runHook postInstall
25+ '';
26+
27+ meta = with stdenv.lib; {
28+ description = "Short read sequence mapper";
29+ license = licenses.gpl3;
30+ homepage = "https://github.com/refresh-bio/whisper";
31+ maintainers = with maintainers; [ jbedo ];
32+ platforms = platforms.x86_64;
33+ };
34+}
pkgs/top-level/all-packages.nix+2
@@ -25464,6 +25464,8 @@ in
2546425464
2546525465 varscan = callPackage ../applications/science/biology/varscan { };
2546625466
25467+ whisper = callPackage ../applications/science/biology/whisper { };
25468+
2546725469 hmmer = callPackage ../applications/science/biology/hmmer { };
2546825470
2546925471 bwa = callPackage ../applications/science/biology/bwa { };