2021-12-19 01:06:50 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "subread";
|
2024-10-11 05:15:48 +00:00
|
|
|
version = "2.0.7";
|
2021-12-19 01:06:50 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/subread/subread-${version}/subread-${version}-source.tar.gz";
|
2024-10-11 05:15:48 +00:00
|
|
|
sha256 = "sha256-/tjt3hn52NiqEo721K5atnvOLb8iWJ9AlJlaE6cVq3U=";
|
2021-12-19 01:06:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
cd src
|
2024-09-26 11:04:55 +00:00
|
|
|
cp Makefile.${if stdenv.hostPlatform.isLinux then "Linux" else "MacOS"} Makefile
|
2021-12-19 01:06:50 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [ "CC_EXEC=cc" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out
|
|
|
|
cp -r ../bin $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-09-26 11:04:55 +00:00
|
|
|
broken = stdenv.hostPlatform.isDarwin;
|
2021-12-19 01:06:50 +00:00
|
|
|
description = "High-performance read alignment, quantification and mutation discovery";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ jbedo ];
|
|
|
|
platforms = [ "x86_64-darwin" "x86_64-linux" ];
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://subread.sourceforge.net/";
|
2021-12-19 01:06:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|