mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
strelka: drop
strelka depends on Python 2.6+, and does not support Python 3.
This commit is contained in:
parent
1547499357
commit
c54a339de4
2 changed files with 1 additions and 76 deletions
|
@ -1,76 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
stdenv,
|
|
||||||
fetchFromGitHub,
|
|
||||||
fetchpatch,
|
|
||||||
cmake,
|
|
||||||
boost,
|
|
||||||
zlib,
|
|
||||||
python2,
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "strelka";
|
|
||||||
version = "2.9.10";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "Illumina";
|
|
||||||
repo = "strelka";
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "1nykbmim1124xh22nrhrsn8xgjb3s2y7akrdapn9sl1gdych4ppf";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Pull pending fix for gcc-12:
|
|
||||||
# https://github.com/Illumina/strelka/pull/204
|
|
||||||
(fetchpatch {
|
|
||||||
name = "limits.patch";
|
|
||||||
url = "https://github.com/Illumina/strelka/commit/98272cd345c6e4c672e6a5b7721204fcac0502d6.patch";
|
|
||||||
hash = "sha256-psBiuN32nvwZ+QX51JQjIdRhEE3k7PfwbkD10ckqvZk=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace src/cmake/boost.cmake \
|
|
||||||
--replace "1.58.0" "${boost.version}" \
|
|
||||||
--replace "Boost_USE_STATIC_LIBS ON" "Boost_USE_STATIC_LIBS OFF"
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
|
||||||
buildInputs = [
|
|
||||||
boost
|
|
||||||
zlib
|
|
||||||
python2
|
|
||||||
];
|
|
||||||
|
|
||||||
cmakeFlags = [
|
|
||||||
"-DCMAKE_CXX_STANDARD=14"
|
|
||||||
];
|
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = toString [
|
|
||||||
"-Wno-error=maybe-uninitialized"
|
|
||||||
"-Wno-error=pessimizing-move"
|
|
||||||
];
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
sed -i 's|/usr/bin/env python|${python2}/bin/python|' src/python/lib/makeRunScript.py
|
|
||||||
patchShebangs .
|
|
||||||
'';
|
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
pushd $out/lib/python/pyflow
|
|
||||||
sed -i 's|/bin/bash|${stdenv.shell}|' pyflowTaskWrapper.py
|
|
||||||
rm pyflowTaskWrapper.pyc
|
|
||||||
echo "import pyflowTaskWrapper" | python2
|
|
||||||
popd
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Germline and small variant caller";
|
|
||||||
license = licenses.gpl3;
|
|
||||||
homepage = "https://github.com/Illumina/strelka";
|
|
||||||
maintainers = with maintainers; [ jbedo ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
|
@ -1460,6 +1460,7 @@ mapAliases {
|
||||||
steam-run-native = steam-run; # added 2022-02-21
|
steam-run-native = steam-run; # added 2022-02-21
|
||||||
StormLib = stormlib; # Added 2024-01-21
|
StormLib = stormlib; # Added 2024-01-21
|
||||||
strawberry-qt5 = throw "strawberry-qt5 has been replaced by strawberry-qt6"; # Added 2024-11-22
|
strawberry-qt5 = throw "strawberry-qt5 has been replaced by strawberry-qt6"; # Added 2024-11-22
|
||||||
|
strelka = throw "strelka depends on Python 2.6+, and does not support Python 3."; # Added 2025-03-17
|
||||||
sumneko-lua-language-server = lua-language-server; # Added 2023-02-07
|
sumneko-lua-language-server = lua-language-server; # Added 2023-02-07
|
||||||
sumokoin = throw "sumokoin has been removed as it was abandoned upstream"; # Added 2024-11-23
|
sumokoin = throw "sumokoin has been removed as it was abandoned upstream"; # Added 2024-11-23
|
||||||
swiProlog = lib.warnOnInstantiate "swiProlog has been renamed to swi-prolog" swi-prolog; # Added 2024-09-07
|
swiProlog = lib.warnOnInstantiate "swiProlog has been renamed to swi-prolog" swi-prolog; # Added 2024-09-07
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue