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
28
pkgs/tools/networking/pwnat/default.nix
Normal file
28
pkgs/tools/networking/pwnat/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${date}";
|
||||
pname = "pwnat";
|
||||
date = "2014-09-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "samyk";
|
||||
repo = pname;
|
||||
rev = "1d07c2eb53171733831c0cd01e4e96a3204ec446";
|
||||
sha256 = "056xhlnf1axa6k90i018xwijkwc9zc7fms35hrkzwgs40g9ybrx5";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/pwnat
|
||||
cp pwnat $out/bin
|
||||
cp README* COPYING* $out/share/pwnat
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://samy.pl/pwnat/";
|
||||
description = "ICMP NAT to NAT client-server communication";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [viric];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue