Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 37 lines 723 B view raw
1{ lib, stdenvNoCC 2, fetchurl 3, unzip 4}: 5 6stdenvNoCC.mkDerivation rec { 7 pname = "unicode-character-database"; 8 version = "15.1.0"; 9 10 src = fetchurl { 11 url = "https://www.unicode.org/Public/zipped/${version}/UCD.zip"; 12 sha256 = "sha256-yxxmPQU5JlAM1QEilzYEV1JxOgZr11gCCYWYt6cFYXc="; 13 }; 14 15 nativeBuildInputs = [ 16 unzip 17 ]; 18 19 sourceRoot = "."; 20 21 installPhase = '' 22 runHook preInstall 23 24 mkdir -p $out/share/unicode 25 cp -r * $out/share/unicode 26 rm $out/share/unicode/env-vars 27 28 runHook postInstall 29 ''; 30 31 meta = with lib; { 32 description = "Unicode Character Database"; 33 homepage = "https://www.unicode.org/"; 34 license = licenses.unicode-dfs-2016; 35 platforms = platforms.all; 36 }; 37}