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
30
pkgs/development/tools/rep/default.nix
Normal file
30
pkgs/development/tools/rep/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, asciidoc-full }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rep";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eraserhd";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "pqmISVm3rYGxRuwKieVpRwXE8ufWnBHEA6h2hrob51s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
asciidoc-full
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace rc/rep.kak --replace '$(rep' '$('"$out/bin/rep"
|
||||
'';
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Single-shot nREPL client";
|
||||
homepage = "https://github.com/eraserhd/rep";
|
||||
license = licenses.epl10;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.eraserhd ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue