From 2a93bee7f32c6eabea918ec99251015e5b0b4f16 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 6 Mar 2015 01:03:30 +0100 Subject: [PATCH] Add nxproxy 3.5.0-2015-02-18 Thanks to Christoph-Simon Senjak --- pkgs/tools/admin/nxproxy/default.nix | 29 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/tools/admin/nxproxy/default.nix diff --git a/pkgs/tools/admin/nxproxy/default.nix b/pkgs/tools/admin/nxproxy/default.nix new file mode 100644 index 000000000000..67d07d6eb3b1 --- /dev/null +++ b/pkgs/tools/admin/nxproxy/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchgit, autoconf, libxcomp }: + +let version = "3.5.0-2015-02-18"; in +stdenv.mkDerivation { + name = "nxproxy-${version}"; + + src = fetchgit { + url = git://code.x2go.org/nx-libs.git; + rev = "2b2a02f93f552a38de8f72a971fa3f3ff42b3298"; + sha256 = "11n7dv1cn9icjgyxmsbac115vmbaar47cmp8k76vd516f2x41dw9"; + }; + + meta = with stdenv.lib; { + description = "NX compression proxy"; + homepage = "http://code.x2go.org/gitweb?p=nx-libs.git;a=summary"; + license = with licenses; gpl2; + platforms = with platforms; linux; + maintainers = with maintainers; [ nckx ]; + }; + + buildInputs = [ autoconf libxcomp ]; + + preConfigure = '' + cd nxproxy/ + autoconf + ''; + + installTargets = [ "install.bin" ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8d477ddbfabd..3ca70fbda4e5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2090,6 +2090,8 @@ let nylon = callPackage ../tools/networking/nylon { }; + nxproxy = callPackage ../tools/admin/nxproxy { }; + nzbget = callPackage ../tools/networking/nzbget { }; oathToolkit = callPackage ../tools/security/oath-toolkit { };