Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

unicode-idna: init at 16.0.0

authored by jopejoe1 and committed by Francesco Gazzetta ee467ba3 015d924d

+34
+34
pkgs/by-name/un/unicode-idna/package.nix
···
··· 1 + { 2 + lib, 3 + stdenvNoCC, 4 + fetchurl, 5 + }: 6 + 7 + stdenvNoCC.mkDerivation (finalAttrs: { 8 + pname = "unicode-idna"; 9 + version = "16.0.0"; 10 + 11 + src = fetchurl { 12 + url = "https://www.unicode.org/Public/idna/${finalAttrs.version}/IdnaMappingTable.txt"; 13 + hash = "sha256-bbLvTtNfOz3nTrwuAEBKlgf3bUmfV2uNQEPPFPHtF1w="; 14 + }; 15 + 16 + dontUnpack = true; 17 + 18 + installPhase = '' 19 + runHook preInstall 20 + 21 + mkdir -p $out/share/unicode/idna 22 + cp -r $src $out/share/unicode/idna/IdnaMappingTable.txt 23 + 24 + runHook postInstall 25 + ''; 26 + 27 + meta = { 28 + description = "unicode IDNA compatible processing data"; 29 + homepage = "http://www.unicode.org/reports/tr46/"; 30 + license = lib.licenses.unicode-dfs-2016; 31 + maintainers = with lib.maintainers; [ jopejoe1 ]; 32 + platforms = lib.platforms.all; 33 + }; 34 + })