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
33
pkgs/applications/networking/nntp-proxy/default.nix
Normal file
33
pkgs/applications/networking/nntp-proxy/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchFromGitHub, libconfig, pkg-config, libevent, openssl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "nntp-proxy";
|
||||
version = "2014-01-06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nieluj";
|
||||
repo = "nntp-proxy";
|
||||
rev = "0358e7ad6c4676f90ac5074320b16e1461b0011a";
|
||||
sha256 = "0jwxh71am83fbnq9mn06jl06rq8qybm506js79xmmc3xbk5pqvy4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libconfig libevent openssl ];
|
||||
|
||||
installFlags = [ "INSTALL_DIR=$(out)/bin/" ];
|
||||
|
||||
prePatch = ''
|
||||
mkdir -p $out/bin
|
||||
substituteInPlace Makefile \
|
||||
--replace /usr/bin/install $(type -P install) \
|
||||
--replace gcc cc
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Simple NNTP proxy with SSL support";
|
||||
homepage = "https://github.com/nieluj/nntp-proxy";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.fadenb ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue