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,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, git, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "topgit";
|
||||
version = "0.19.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mackyle";
|
||||
repo = "topgit";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "sha256-K0X1DGc1LQsoteUhoHLxVJRrZaaPLKSSF61OKyGB5Qg=";
|
||||
};
|
||||
|
||||
makeFlags = [ "prefix=${placeholder "out"}" ];
|
||||
|
||||
nativeBuildInputs = [ perl git ];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 README -t "$out/share/doc/${pname}-${version}/"
|
||||
install -Dm755 contrib/tg-completion.bash -t "$out/share/bash-completion/completions/"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "TopGit manages large amount of interdependent topic branches";
|
||||
homepage = "https://github.com/mackyle/topgit";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ marcweber ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue