bedtools: use python3
This commit is contained in:
parent
15d4161931
commit
5a5cb718a5
@ -1,4 +1,4 @@
|
||||
{lib, stdenv, fetchFromGitHub, zlib, python, bzip2, lzma}:
|
||||
{lib, stdenv, fetchFromGitHub, zlib, python3, bzip2, lzma}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bedtools";
|
||||
@ -11,7 +11,13 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-NqKldF7ePJn3pT+AkESIQghBKSFFOEBBsTaKEbU+oaQ=";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib python bzip2 lzma ];
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [ zlib bzip2 lzma ];
|
||||
cxx = if stdenv.cc.isClang then "clang++" else "g++";
|
||||
cc = if stdenv.cc.isClang then "clang" else "gcc";
|
||||
buildPhase = "make prefix=$out SHELL=${stdenv.shell} CXX=${cxx} CC=${cc} -j $NIX_BUILD_CORES";
|
||||
|
Loading…
Reference in New Issue
Block a user