forked from mirrors/nixpkgs
Add libpsl 0.7.1: Publix Suffix List C library
This commit is contained in:
parent
c3f6c8c582
commit
72d925f7ef
37
pkgs/development/libraries/libpsl/default.nix
Normal file
37
pkgs/development/libraries/libpsl/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook, icu, libxslt, pkgconfig }:
|
||||
|
||||
let version = "0.7.1"; in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libpsl-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "0hbsidbmwgpg0h48wh2pzsq59j8az7naz3s5q3yqn99yyjji2vgw";
|
||||
rev = name;
|
||||
repo = "libpsl";
|
||||
owner = "rockdaboot";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "C library for the Publix Suffix List";
|
||||
longDescription = ''
|
||||
libpsl is a C library for the Publix Suffix List (PSL). A "public suffix"
|
||||
is a domain name under which Internet users can directly register own
|
||||
names. Browsers and other web clients can use it to avoid privacy-leaking
|
||||
"supercookies" and "super domain" certificates, for highlighting parts of
|
||||
the domain in a user interface or sorting domain lists by site.
|
||||
'';
|
||||
homepage = http://rockdaboot.github.io/libpsl/;
|
||||
license = with licenses; mit;
|
||||
platforms = with platforms; linux;
|
||||
maintainers = with maintainers; [ nckx ];
|
||||
};
|
||||
|
||||
buildInputs = [ autoreconfHook icu libxslt pkgconfig ];
|
||||
|
||||
configureFlags = "--disable-static --enable-man";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
}
|
|
@ -6824,6 +6824,8 @@ let
|
|||
|
||||
libpseudo = callPackage ../development/libraries/libpseudo { };
|
||||
|
||||
libpsl = callPackage ../development/libraries/libpsl { };
|
||||
|
||||
libpst = callPackage ../development/libraries/libpst { };
|
||||
|
||||
libpwquality = callPackage ../development/libraries/libpwquality { };
|
||||
|
|
Loading…
Reference in a new issue