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
27
pkgs/applications/science/biology/repseek/default.nix
Normal file
27
pkgs/applications/science/biology/repseek/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "repseek";
|
||||
version = "9Sep2014";
|
||||
src = fetchurl {
|
||||
url = "https://bioinfo.mnhn.fr/abi/public/RepSeek/RepSeek.${version}.tgz";
|
||||
sha256 = "1jiknji3ivrv7zmrfbf2mccfpdwhin3lfxfsciaqwf69b3sda8nf";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
mkdir -p $out/bin
|
||||
substituteInPlace Makefile \
|
||||
--replace "INSTALLDIR = \$\$HOME/bin" "INSTALLDIR = $out/bin/" \
|
||||
--replace "CC= gcc" "CC = $CC"
|
||||
'' + lib.optionalString stdenv.isLinux ''
|
||||
substituteInPlace Makefile --replace "MACHINE = MACOSX" "MACHINE = LINUX"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Tool to retrieve approximate repeats from large DNA sequences";
|
||||
homepage = "https://bioinfo.mnhn.fr/abi/public/RepSeek";
|
||||
maintainers = [ lib.maintainers.bzizou ];
|
||||
license = lib.licenses.lgpl21;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue