diff options
author | Tristan Helmich <tristan.helmich@gmail.com> | 2016-02-09 16:47:04 +0100 |
---|---|---|
committer | Tristan Helmich <tristan.helmich@gmail.com> | 2016-02-11 16:24:48 +0100 |
commit | f8d0ba744732f1840d7f38a3b35c1895bfce96e0 (patch) | |
tree | e28a38cc64c8374aeed416fedfe1f3702fbf0dab /pkgs/applications/networking/nntp-proxy/default.nix | |
parent | ccece1ca88cac4f665cb956164de48eadd2c3907 (diff) |
nntp-proxy: init at 2014-01-06 (0358e7a)
Diffstat (limited to 'pkgs/applications/networking/nntp-proxy/default.nix')
-rw-r--r-- | pkgs/applications/networking/nntp-proxy/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/networking/nntp-proxy/default.nix b/pkgs/applications/networking/nntp-proxy/default.nix new file mode 100644 index 000000000000..05333f67ecfa --- /dev/null +++ b/pkgs/applications/networking/nntp-proxy/default.nix @@ -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; + }; +} |