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
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qttools, subversion, apr }:
|
||||
|
||||
let
|
||||
version = "1.0.18";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "svn-all-fast-export";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "svn-all-fast-export";
|
||||
repo = "svn2git";
|
||||
rev = version;
|
||||
sha256 = "1b5yx2316hbyvw3v30vn1ljma9yd21nd59wis1gi34g92lgvqcd6";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake qttools ];
|
||||
buildInputs = [ apr.dev subversion.dev qtbase ];
|
||||
|
||||
qmakeFlags = [
|
||||
"VERSION=${version}"
|
||||
"APR_INCLUDE=${apr.dev}/include/apr-1"
|
||||
"SVN_INCLUDE=${subversion.dev}/include/subversion-1"
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = "-lsvn_fs-1";
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/svn-all-fast-export/svn2git";
|
||||
description = "A fast-import based converter for an svn repo to git repos";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.flokli ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue