mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
sratoolkit: init at 2.11.3
This commit is contained in:
parent
79bb815a1c
commit
81d6f1c7dc
56
pkgs/applications/science/biology/sratoolkit/default.nix
Normal file
56
pkgs/applications/science/biology/sratoolkit/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, autoPatchelfHook
|
||||
, libidn
|
||||
, zlib
|
||||
, bzip2
|
||||
}:
|
||||
|
||||
|
||||
let
|
||||
libidn11 = libidn.overrideAttrs (old: {
|
||||
pname = "libidn";
|
||||
version = "1.34";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/libidn/libidn-1.34.tar.gz";
|
||||
sha256 = "0g3fzypp0xjcgr90c5cyj57apx1cmy0c6y9lvw2qdcigbyby469p";
|
||||
};
|
||||
});
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sratoolkit";
|
||||
version = "2.11.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/${version}/sratoolkit.${version}-ubuntu64.tar.gz";
|
||||
sha256 = "1590lc4cplxr3lhjqci8fjncy67imn2h14qd2l87chmhjh243qvx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libidn11
|
||||
zlib
|
||||
bzip2
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
sourceRoot = "./sratoolkit.${version}-ubuntu64/bin";
|
||||
|
||||
installPhase = ''
|
||||
find -L . -executable -type f -! -name "*remote-fuser*" -exec install -m755 -D {} $out/bin/{} \;
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ncbi/sra-tools";
|
||||
description = "The SRA Toolkit and SDK from NCBI is a collection of tools and libraries for using data in the INSDC Sequence Read Archives.";
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ thyol ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
@ -16218,6 +16218,8 @@ with pkgs;
|
||||
|
||||
srandrd = callPackage ../tools/X11/srandrd { };
|
||||
|
||||
sratoolkit = callPackage ../applications/science/biology/sratoolkit { };
|
||||
|
||||
srecord = callPackage ../development/tools/misc/srecord { };
|
||||
|
||||
srelay = callPackage ../tools/networking/srelay { };
|
||||
|
Loading…
Reference in New Issue
Block a user