uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
34
pkgs/applications/science/biology/bedtools/default.nix
Normal file
34
pkgs/applications/science/biology/bedtools/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{lib, stdenv, fetchFromGitHub, zlib, python3, bzip2, xz}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bedtools";
|
||||
version = "2.30.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "arq5x";
|
||||
repo = "bedtools2";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-NqKldF7ePJn3pT+AkESIQghBKSFFOEBBsTaKEbU+oaQ=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [ zlib bzip2 xz ];
|
||||
|
||||
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";
|
||||
installPhase = "make prefix=$out SHELL=${stdenv.shell} CXX=${cxx} CC=${cc} install";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A powerful toolset for genome arithmetic";
|
||||
license = licenses.gpl2;
|
||||
homepage = "https://bedtools.readthedocs.io/en/latest/";
|
||||
maintainers = with maintainers; [ jbedo ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue