Merge branch 'staging-next' (PR #62209)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
cacertHook() {
|
||||
export NIX_SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt
|
||||
# left for compatibility
|
||||
export SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt
|
||||
}
|
||||
|
||||
|
||||
25
pkgs/data/misc/publicsuffix-list/default.nix
Normal file
25
pkgs/data/misc/publicsuffix-list/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
pname = "publicsuffix-list";
|
||||
version = "2019-05-24";
|
||||
in fetchFromGitHub rec {
|
||||
name = "${pname}-${version}";
|
||||
owner = "publicsuffix";
|
||||
repo = "list";
|
||||
rev = "a1db0e898956e126de65be1a5e977fbbbbeebe33";
|
||||
sha256 = "092153w2jr7nx28p9wc9k6b5azi9c39ghnqfnfiwfzv1j8jm3znq";
|
||||
|
||||
postFetch = ''
|
||||
tar xf $downloadedFile --strip=1
|
||||
install -Dm0444 public_suffix_list.dat tests/test_psl.txt -t $out/share/publicsuffix
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://publicsuffix.org/";
|
||||
description = "Cross-vendor public domain suffix database";
|
||||
platforms = platforms.all;
|
||||
license = licenses.mpl20;
|
||||
maintainers = [ maintainers.c0bw3b ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user