This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
124 changed files
with
371,142 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Hackage database snapshot, used by maintainers/scripts/regenerate-hackage-packages.sh | ||
# and callHackage | ||
{ lib, fetchurl }: | ||
let | ||
pin = lib.importJSON ./pin.json; | ||
in | ||
fetchurl { | ||
inherit (pin) url sha256; | ||
name = "all-cabal-hashes-${lib.substring 0 7 pin.commit}.tar.gz"; | ||
passthru.updateScript = ../../../../maintainers/scripts/haskell/update-hackage.sh; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"commit": "4eb9a5fde06b5d7343665582243debaf1d77e0a9", | ||
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/4eb9a5fde06b5d7343665582243debaf1d77e0a9.tar.gz", | ||
"sha256": "0dzyfr1gv79riy2vh840b5hqly8rs10zhj01zi9nfn7jd9pzql28", | ||
"msg": "Update from Hackage at 2024-04-16T17:36:35Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ lib, stdenv, fetchFromGitHub, meson, ninja }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "argp-standalone"; | ||
version = "1.5.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "argp-standalone"; | ||
repo = "argp-standalone"; | ||
rev = version; | ||
sha256 = "jWnoWVnUVDQlsC9ru7oB9PdtZuyCCNqGnMqF/f2m0ZY="; | ||
}; | ||
|
||
nativeBuildInputs = [ meson ninja ]; | ||
|
||
doCheck = true; | ||
|
||
meta = with lib; { | ||
homepage = "https://github.com/argp-standalone/argp-standalone"; | ||
description = "Standalone version of arguments parsing functions from Glibc"; | ||
platforms = platforms.unix; | ||
maintainers = with maintainers; [ amar1729 ]; | ||
license = licenses.lgpl21Plus; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ stdenv, lib, fetchurl }: | ||
|
||
let | ||
|
||
rootHints = fetchurl { | ||
# Original source https://www.internic.net/domain/named.root | ||
# occasionally suffers from pointless hash changes, | ||
# and having stable sources for older versions has advantages, too. | ||
urls = map (prefix: prefix + "d9c96ae96f066a85d7/etc/root.hints") [ | ||
"https://gitlab.nic.cz/knot/knot-resolver/raw/" | ||
"https://raw.githubusercontent.com/CZ-NIC/knot-resolver/" | ||
]; | ||
hash = "sha256-4lG/uPnNHBNIZ/XIeDM1w3iukrpeW0JIjTnGSwkJ8U4="; | ||
}; | ||
|
||
rootKey = ./root.key; | ||
rootDs = ./root.ds; | ||
|
||
in | ||
|
||
stdenv.mkDerivation { | ||
pname = "dns-root-data"; | ||
version = "2023-11-27"; | ||
|
||
buildCommand = '' | ||
mkdir $out | ||
cp ${rootHints} $out/root.hints | ||
cp ${rootKey} $out/root.key | ||
cp ${rootDs} $out/root.ds | ||
''; | ||
|
||
meta = with lib; { | ||
description = "DNS root data including root zone and DNSSEC key"; | ||
maintainers = with maintainers; [ fpletz vcunat ]; | ||
license = licenses.gpl3Plus; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
. IN DS 20326 8 2 E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
. 172800 IN DNSKEY 257 3 8 AwEAAaz/tAm8yTn4Mfeh5eyI96WSVexTBAvkMgJzkKTOiW1vkIbzxeF3+/4RgWOq7HrxRixHlFlExOLAJr5emLvN7SWXgnLh4+B5xQlNVz8Og8kvArMtNROxVQuCaSnIDdD5LKyWbRd2n9WGe2R8PzgCmr3EgVLrjyBxWezF0jLHwVN8efS3rCj/EWgvIWgb9tarpVUDK/b58Da+sqqls3eNbuv7pr+eoZG+SrDK6nWeL3c6H5Apxz7LjVc1uTIdsIXxuOLYA4/ilBmSVIzuDWfdRUfhHdY6+cn8HFRm+2hM8AnXGXws9555KrUB5qihylGa8subX2Nn6UwNR1AkUTV74bU= ;{id = 20326 (ksk), size = 2048b} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env nix-shell | ||
#!nix-shell -i bash -p busybox unbound | ||
|
||
TMP=`mktemp` | ||
unbound-anchor -a "$TMP" | ||
grep -Ev "^($$|;)" "$TMP" | sed -e 's/ ;;.*//' > root.key | ||
|
||
unbound-anchor -F -a "$TMP" | ||
sed '/^;/d' < "$TMP" > root.ds | ||
rm $TMP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.