pacparser: init at 1.3.7

This commit is contained in:
Nikolay Amiantov 2018-05-03 13:08:11 +03:00
parent d541169e1a
commit 61a87491dc
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "pacparser-${version}";
version = "1.3.7";
src = fetchurl {
url = "https://github.com/manugarg/pacparser/releases/download/${version}/${name}.tar.gz";
sha256 = "0jfjm8lqyhdy9ny8a8icyd4rhclhfn608cr1i15jml82q8pyqj7b";
};
makeFlags = [ "NO_INTERNET=1" ];
preConfigure = ''
export makeFlags="$makeFlags PREFIX=$out"
patchShebangs tests/runtests.sh
cd src
'';
meta = with stdenv.lib; {
description = "A library to parse proxy auto-config (PAC) files";
homepage = http://pacparser.manugarg.com/;
license = licenses.lgpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@ -657,6 +657,8 @@ with pkgs;
lastpass-cli = callPackage ../tools/security/lastpass-cli { }; lastpass-cli = callPackage ../tools/security/lastpass-cli { };
pacparser = callPackage ../tools/networking/pacparser { };
pass = callPackage ../tools/security/pass { }; pass = callPackage ../tools/security/pass { };
passExtensions = recurseIntoAttrs pass.extensions; passExtensions = recurseIntoAttrs pass.extensions;