Files
nixpkgs/pkgs/by-name/sp/spades/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.2 KiB
Nix

{
lib,
stdenv,
bzip2,
cmake,
fetchFromGitHub,
ncurses,
python3,
readline,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "spades";
version = "4.2.0";
src = fetchFromGitHub {
owner = "ablab";
repo = "spades";
tag = "v${finalAttrs.version}";
hash = "sha256-BlZjfZKtCm1kWNPjdth3pYFN0plU7xfTsFotPefzzMY=";
};
sourceRoot = "${finalAttrs.src.name}/src";
cmakeFlags = [
"-DZLIB_ENABLE_TESTS=OFF"
"-DSPADES_BUILD_INTERNAL=OFF"
];
preConfigure = ''
# The CMakeListsInternal.txt file should be empty in the release tarball
echo "" > CMakeListsInternal.txt
'';
nativeBuildInputs = [ cmake ];
buildInputs = [
bzip2
ncurses
python3
readline
];
doCheck = true;
strictDeps = true;
meta = {
description = "St. Petersburg genome assembler, a toolkit for assembling and analyzing sequencing data";
changelog = "https://github.com/ablab/spades/blob/${finalAttrs.version}/changelog.md";
downloadPage = "https://github.com/ablab/spades";
homepage = "http://ablab.github.io/spades";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ bzizou ];
broken = stdenv.hostPlatform.isMusl;
};
})