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
29
pkgs/tools/networking/openvpn/openvpn_learnaddress.nix
Normal file
29
pkgs/tools/networking/openvpn/openvpn_learnaddress.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchgit, makeWrapper, coreutils, gawk, util-linux }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "openvpn-learnaddress";
|
||||
version = "unstable-2013-10-21";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://gist.github.com/4058733.git";
|
||||
rev = "19b03c3beb0190df46ea07bf4b68244acb8eae80";
|
||||
sha256 = "16pcyvyhwsx34i0cjkkx906lmrwdd9gvznvqdwlad4ha8l8f8z42";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ coreutils gawk util-linux ];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm555 ovpn-learnaddress $out/libexec/openvpn/openvpn-learnaddress
|
||||
|
||||
wrapProgram $out/libexec/openvpn/openvpn-learnaddress \
|
||||
--prefix PATH : ${lib.makeBinPath [ coreutils gawk util-linux ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Openvpn learn-address script to manage a hosts-like file";
|
||||
homepage = "https://gist.github.com/offlinehacker/4058733/";
|
||||
maintainers = [ lib.maintainers.offline ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue