Files
nixpkgs/pkgs/by-name/sr/sratoolkit/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

59 lines
1.0 KiB
Nix

{
stdenv,
lib,
fetchFromGitHub,
cmake,
python3,
bison,
flex,
libxml2,
openjdk,
ncbi-vdb,
mbedtls,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "sratoolkit";
# NOTE: When updating make sure to update ncbi-vdb as well for versions to match
version = "3.2.1";
src = fetchFromGitHub {
owner = "ncbi";
repo = "sra-tools";
tag = finalAttrs.version;
hash = "sha256-OeM4syv9c1rZn2ferrhXyKJu68ywVYwnHoqnviWBZy4=";
};
patches = [ ./attribute_unused.patch ];
cmakeFlags = [
"-DVDB_INCDIR=${ncbi-vdb}/include"
"-DVDB_LIBDIR=${ncbi-vdb}/lib"
];
buildInputs = [
ncbi-vdb
libxml2
mbedtls
];
nativeBuildInputs = [
cmake
python3
bison
flex
openjdk
];
meta = {
homepage = "https://github.com/ncbi/sra-tools";
description = "Collection of tools and libraries for using data in the INSDC Sequence Read Archives";
license = lib.licenses.ncbiPd;
maintainers = with lib.maintainers; [
t4ccer
];
platforms = lib.platforms.unix;
};
})