Merge pull request #12933 from mayflower/pkgs_upstream/nntp-proxy

nntp-proxy: init at 2014-01-06 (0358e7a)
This commit is contained in:
Franz Pletz 2016-02-12 08:26:29 +01:00
commit bb55126965
3 changed files with 34 additions and 0 deletions

View file

@ -106,6 +106,7 @@
ertes = "Ertugrul Söylemez <ertesx@gmx.de>";
exi = "Reno Reckling <nixos@reckling.org>";
exlevan = "Alexey Levan <exlevan@gmail.com>";
fadenb = "Tristan Helmich <tristan.helmich+nixos@gmail.com>";
falsifian = "James Cook <james.cook@utoronto.ca>";
flosse = "Markus Kohlhase <mail@markus-kohlhase.de>";
fluffynukeit = "Daniel Austin <dan@fluffynukeit.com>";

View file

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, libconfig, pkgconfig, libevent, openssl }:
stdenv.mkDerivation rec {
name = "nntp-proxy-${version}";
version = "2014-01-06";
src = fetchFromGitHub {
owner = "nieluj";
repo = "nntp-proxy";
rev = "0358e7ad6c4676f90ac5074320b16e1461b0011a";
sha256 = "0jwxh71am83fbnq9mn06jl06rq8qybm506js79xmmc3xbk5pqvy4";
};
buildInputs = [ libconfig pkgconfig libevent openssl ];
installFlags = "INSTALL_DIR=\${out}/bin/";
preInstall = ''
mkdir -p $out/bin
substituteInPlace Makefile \
--replace /usr/bin/install $(type -P install)
'';
meta = {
description = "Simple NNTP proxy with SSL support";
homepage = https://github.com/nieluj/nntp-proxy;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.fadenb ];
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -8046,6 +8046,8 @@ let
nix = pkgs.nixUnstable;
};
nntp-proxy = callPackage ../applications/networking/nntp-proxy { };
non = callPackage ../applications/audio/non { };
nspr = callPackage ../development/libraries/nspr { };