forked from mirrors/nixpkgs
added support for cntlm on nixos!
svn path=/nixpkgs/trunk/; revision=29736
This commit is contained in:
parent
8d94826486
commit
f3f0940e25
25
pkgs/tools/networking/cntlm/default.nix
Normal file
25
pkgs/tools/networking/cntlm/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, fetchurl, which}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "cntlm-0.35.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/cntlm/cntlm-0.35.1.tar.gz;
|
||||
sha256 = "7b3fb7184e72cc3f1743bb8e503a5305e96458bc630a7e1ebfc9f3c07ffa6c5e";
|
||||
};
|
||||
|
||||
buildInputs = [ which ];
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin; cp cntlm $out/bin/;
|
||||
ensureDir $out/share/; cp COPYRIGHT README VERSION doc/cntlm.conf $out/share/;
|
||||
ensureDir $out/man/; cp doc/cntlm.1 $out/man/;
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Cntlm is an NTLM/NTLMv2 authenticating HTTP proxy";
|
||||
homepage = http://cntlm.sourceforge.net/;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.qknight ];
|
||||
};
|
||||
}
|
|
@ -1197,6 +1197,8 @@ let
|
|||
|
||||
proxytunnel = callPackage ../tools/misc/proxytunnel { };
|
||||
|
||||
cntlm = callPackage ../tools/networking/cntlm { };
|
||||
|
||||
psmisc = callPackage ../os-specific/linux/psmisc { };
|
||||
|
||||
pstoedit = callPackage ../tools/graphics/pstoedit { };
|
||||
|
|
Loading…
Reference in a new issue