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
40
pkgs/applications/science/biology/genmap/default.nix
Normal file
40
pkgs/applications/science/biology/genmap/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, gtest
|
||||
, which
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "genmap";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cpockrandt";
|
||||
repo = "genmap";
|
||||
rev = "genmap-v${version}";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "sha256-7sIKBRMNzyCrZ/c2nXkknb6a5YsXe6DRE2IFhp6AviY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
doCheck = true;
|
||||
patches = [ ./gtest.patch ];
|
||||
checkInputs = [ gtest which ];
|
||||
preCheck = "make genmap_algo_test";
|
||||
|
||||
# disable benchmarks
|
||||
preConfigure = ''
|
||||
echo > benchmarks/CMakeLists.txt
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Ultra-fast computation of genome mappability";
|
||||
license = lib.licenses.bsd3;
|
||||
homepage = "https://github.com/cpockrandt/genmap";
|
||||
maintainers = with lib.maintainers; [ jbedo ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue