diff options
author | t4ccer | 2024-07-10 13:01:15 -0600 |
---|---|---|
committer | t4ccer | 2024-07-10 13:01:15 -0600 |
commit | 530a1191a20b9e7bf25fdde50b046d940aeaa64c (patch) | |
tree | 6d6ae2125754975e776ed1c41a3834c7754c6ac2 | |
parent | 54bc082f5a7219d122e74fe52c021cf59fed9d6f (diff) |
sratoolkit: 2.11.3 -> 3.1.1
-rw-r--r-- | pkgs/applications/science/biology/sratoolkit/default.nix | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/pkgs/applications/science/biology/sratoolkit/default.nix b/pkgs/applications/science/biology/sratoolkit/default.nix index 62c21a23eb66..6d9b3dbe511a 100644 --- a/pkgs/applications/science/biology/sratoolkit/default.nix +++ b/pkgs/applications/science/biology/sratoolkit/default.nix @@ -7,26 +7,13 @@ , 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 { +stdenv.mkDerivation (finalAttrs: { pname = "sratoolkit"; - version = "2.11.3"; + version = "3.1.1"; src = fetchurl { - url = "https://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/${version}/sratoolkit.${version}-ubuntu64.tar.gz"; - sha256 = "1590lc4cplxr3lhjqci8fjncy67imn2h14qd2l87chmhjh243qvx"; + url = "https://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/${finalAttrs.version}/sratoolkit.${finalAttrs.version}-ubuntu64.tar.gz"; + hash = "sha256-tmjb+i6TBBdG0cMTaRJyrqS56lKykdevt51G3AU2dog="; }; nativeBuildInputs = [ @@ -34,13 +21,13 @@ stdenv.mkDerivation rec { ]; buildInputs = [ - libidn11 + libidn zlib bzip2 stdenv.cc.cc.lib ]; - sourceRoot = "sratoolkit.${version}-ubuntu64/bin"; + sourceRoot = "sratoolkit.${finalAttrs.version}-ubuntu64/bin"; installPhase = '' find -L . -executable -type f -! -name "*remote-fuser*" -exec install -m755 -D {} $out/bin/{} \; @@ -53,4 +40,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ thyol ]; platforms = [ "x86_64-linux" ]; }; -} +}) |