diff options
author | Nikolay Amiantov <ab@fmap.me> | 2018-05-03 13:08:11 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2018-05-08 16:27:55 +0300 |
commit | 61a87491dc226267f7a979ea0f7ab81386c453d9 (patch) | |
tree | 354b1283f95730b2006c7695b89a198392101b72 /pkgs/tools/networking/pacparser | |
parent | d541169e1a28d22f591ad7ca0edc48f76fa8eff4 (diff) |
pacparser: init at 1.3.7
Diffstat (limited to 'pkgs/tools/networking/pacparser')
-rw-r--r-- | pkgs/tools/networking/pacparser/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/networking/pacparser/default.nix b/pkgs/tools/networking/pacparser/default.nix new file mode 100644 index 0000000000000..54b3cf8fd81e0 --- /dev/null +++ b/pkgs/tools/networking/pacparser/default.nix @@ -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 ]; + }; +} |