subread: init 2.0.3

This commit is contained in:
Justin Bedo 2021-12-14 12:42:47 +11:00
parent 69958994ab
commit 6a1f4a51eb
No known key found for this signature in database
GPG key ID: 2C18202C56C182BD
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ lib
, stdenv
, fetchurl
, zlib
}:
stdenv.mkDerivation rec {
pname = "subread";
version = "2.0.3";
src = fetchurl {
url = "mirror://sourceforge/subread/subread-${version}/subread-${version}-source.tar.gz";
sha256 = "sha256-Vs7zovkU1DJxMGnVwoL0iDHDoezIlDKtVYDKoyKl9Ws=";
};
buildInputs = [
zlib
];
configurePhase = ''
cd src
cp Makefile.${if stdenv.isLinux then "Linux" else "MacOS"} Makefile
'';
makeFlags = [ "CC_EXEC=cc" ];
installPhase = ''
mkdir $out
cp -r ../bin $out
'';
meta = with lib; {
description = "High-performance read alignment, quantification and mutation discovery";
license = licenses.gpl3;
maintainers = with maintainers; [ jbedo ];
platforms = [ "x86_64-darwin" "x86_64-linux" ];
homepage = "http://subread.sourceforge.net/";
};
}

View file

@ -31565,6 +31565,8 @@ with pkgs;
sage = callPackage ../applications/science/math/sage { };
sageWithDoc = sage.override { withDoc = true; };
subread = callPackage ../applications/science/biology/subread { };
suitesparse_4_2 = callPackage ../development/libraries/science/math/suitesparse/4.2.nix { };
suitesparse_4_4 = callPackage ../development/libraries/science/math/suitesparse/4.4.nix {};
suitesparse_5_3 = callPackage ../development/libraries/science/math/suitesparse {};