mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
pacparser: init at 1.3.7
This commit is contained in:
parent
d541169e1a
commit
61a87491dc
27
pkgs/tools/networking/pacparser/default.nix
Normal file
27
pkgs/tools/networking/pacparser/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -657,6 +657,8 @@ with pkgs;
|
||||
|
||||
lastpass-cli = callPackage ../tools/security/lastpass-cli { };
|
||||
|
||||
pacparser = callPackage ../tools/networking/pacparser { };
|
||||
|
||||
pass = callPackage ../tools/security/pass { };
|
||||
|
||||
passExtensions = recurseIntoAttrs pass.extensions;
|
||||
|
Loading…
Reference in New Issue
Block a user