various: refactor package definitions (#443475)

authored by Yohann Boniface and committed by GitHub d31888f4 af654d78

+80 -80
+7 -7
pkgs/by-name/_1/_1password-cli/package.nix
··· 44 if (builtins.elem system platforms) then 45 sources.${system} 46 else 47 - throw "Source for ${pname} is not available for ${system}"; 48 49 nativeBuildInputs = [ 50 installShellFiles ··· 63 64 installPhase = '' 65 runHook preInstall 66 - install -D ${mainProgram} $out/bin/${mainProgram} 67 runHook postInstall 68 ''; 69 70 postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' 71 HOME=$TMPDIR 72 - installShellCompletion --cmd ${mainProgram} \ 73 - --bash <($out/bin/${mainProgram} completion bash) \ 74 - --fish <($out/bin/${mainProgram} completion fish) \ 75 - --zsh <($out/bin/${mainProgram} completion zsh) 76 ''; 77 78 dontStrip = stdenv.hostPlatform.isDarwin; 79 80 doInstallCheck = true; 81 82 - versionCheckProgram = "${builtins.placeholder "out"}/bin/${mainProgram}"; 83 versionCheckProgramArg = "--version"; 84 85 passthru = {
··· 44 if (builtins.elem system platforms) then 45 sources.${system} 46 else 47 + throw "Source for 1password-cli is not available for ${system}"; 48 49 nativeBuildInputs = [ 50 installShellFiles ··· 63 64 installPhase = '' 65 runHook preInstall 66 + install -D op $out/bin/op 67 runHook postInstall 68 ''; 69 70 postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' 71 HOME=$TMPDIR 72 + installShellCompletion --cmd op \ 73 + --bash <($out/bin/op completion bash) \ 74 + --fish <($out/bin/op completion fish) \ 75 + --zsh <($out/bin/op completion zsh) 76 ''; 77 78 dontStrip = stdenv.hostPlatform.isDarwin; 79 80 doInstallCheck = true; 81 82 + versionCheckProgram = "${builtins.placeholder "out"}/bin/op"; 83 versionCheckProgramArg = "--version"; 84 85 passthru = {
+3 -3
pkgs/by-name/_1/_1password-gui/linux.nix
··· 109 cp -a * $out/share/1password 110 111 # Desktop file 112 - install -Dt $out/share/applications resources/${pname}.desktop 113 - substituteInPlace $out/share/applications/${pname}.desktop \ 114 - --replace-fail 'Exec=/opt/1Password/${pname}' 'Exec=${pname}' 115 116 '' 117 + (lib.optionalString (polkitPolicyOwners != [ ]) ''
··· 109 cp -a * $out/share/1password 110 111 # Desktop file 112 + install -Dt $out/share/applications resources/1password.desktop 113 + substituteInPlace $out/share/applications/1password.desktop \ 114 + --replace-fail 'Exec=/opt/1Password/1password' 'Exec=1password' 115 116 '' 117 + (lib.optionalString (polkitPolicyOwners != [ ]) ''
+2 -2
pkgs/by-name/aa/aaphoto/package.nix
··· 9 llvmPackages, 10 }: 11 12 - stdenv.mkDerivation rec { 13 pname = "aaphoto"; 14 version = "0.45"; 15 ··· 32 ]; 33 34 postInstall = '' 35 - install -Dm644 NEWS README REMARKS TODO -t $out/share/doc/${pname} 36 ''; 37 38 meta = {
··· 9 llvmPackages, 10 }: 11 12 + stdenv.mkDerivation { 13 pname = "aaphoto"; 14 version = "0.45"; 15 ··· 32 ]; 33 34 postInstall = '' 35 + install -Dm644 NEWS README REMARKS TODO -t $out/share/doc/aaphoto 36 ''; 37 38 meta = {
+4 -4
pkgs/by-name/ac/acpi/package.nix
··· 4 fetchurl, 5 }: 6 7 - stdenv.mkDerivation rec { 8 pname = "acpi"; 9 version = "1.8"; 10 11 src = fetchurl { 12 - url = "mirror://sourceforge/acpiclient/${version}/${pname}-${version}.tar.gz"; 13 - sha256 = "sha256-5kxuALU815dCfqMqFgUTQlsD7U8HdzP3Hx8J/zQPIws="; 14 }; 15 16 meta = { ··· 27 platforms = lib.platforms.linux; 28 maintainers = with lib.maintainers; [ ]; 29 }; 30 - }
··· 4 fetchurl, 5 }: 6 7 + stdenv.mkDerivation (finalAttrs: { 8 pname = "acpi"; 9 version = "1.8"; 10 11 src = fetchurl { 12 + url = "mirror://sourceforge/acpiclient/${finalAttrs.version}/acpi-${finalAttrs.version}.tar.gz"; 13 + hash = "sha256-5kxuALU815dCfqMqFgUTQlsD7U8HdzP3Hx8J/zQPIws="; 14 }; 15 16 meta = { ··· 27 platforms = lib.platforms.linux; 28 maintainers = with lib.maintainers; [ ]; 29 }; 30 + })
+7 -7
pkgs/by-name/yu/yubikey-touch-detector/package.nix
··· 16 src = fetchFromGitHub { 17 owner = "maximbaz"; 18 repo = "yubikey-touch-detector"; 19 - rev = version; 20 hash = "sha256-aHR/y8rAKS+dMvRdB3oAmOiI7hTA6qlF4Z05OjwYOO4="; 21 }; 22 vendorHash = "sha256-oHEcpu3QvcVC/YCtGtP7nNT9++BSU8BPT5pf8NdLrOo="; ··· 33 ]; 34 35 postInstall = '' 36 - install -Dm444 -t $out/share/doc/${pname} *.{md,example} 37 38 - install -Dm444 -t $out/share/licenses/${pname} LICENSE 39 40 install -Dm444 -t $out/share/icons/hicolor/128x128/apps yubikey-touch-detector.png 41 ··· 48 installManPage yubikey-touch-detector.1 49 ''; 50 51 - meta = with lib; { 52 description = "Tool to detect when your YubiKey is waiting for a touch"; 53 homepage = "https://github.com/maximbaz/yubikey-touch-detector"; 54 - maintainers = with maintainers; [ sumnerevans ]; 55 - license = licenses.isc; 56 - platforms = platforms.linux; 57 mainProgram = "yubikey-touch-detector"; 58 }; 59 }
··· 16 src = fetchFromGitHub { 17 owner = "maximbaz"; 18 repo = "yubikey-touch-detector"; 19 + tag = version; 20 hash = "sha256-aHR/y8rAKS+dMvRdB3oAmOiI7hTA6qlF4Z05OjwYOO4="; 21 }; 22 vendorHash = "sha256-oHEcpu3QvcVC/YCtGtP7nNT9++BSU8BPT5pf8NdLrOo="; ··· 33 ]; 34 35 postInstall = '' 36 + install -Dm444 -t $out/share/doc/yubikey-touch-detector *.{md,example} 37 38 + install -Dm444 -t $out/share/licenses/yubikey-touch-detector LICENSE 39 40 install -Dm444 -t $out/share/icons/hicolor/128x128/apps yubikey-touch-detector.png 41 ··· 48 installManPage yubikey-touch-detector.1 49 ''; 50 51 + meta = { 52 description = "Tool to detect when your YubiKey is waiting for a touch"; 53 homepage = "https://github.com/maximbaz/yubikey-touch-detector"; 54 + maintainers = with lib.maintainers; [ sumnerevans ]; 55 + license = lib.licenses.isc; 56 + platforms = lib.platforms.linux; 57 mainProgram = "yubikey-touch-detector"; 58 }; 59 }
+8 -8
pkgs/by-name/yu/yuicompressor/package.nix
··· 6 jre, 7 }: 8 9 - stdenv.mkDerivation rec { 10 pname = "yuicompressor"; 11 version = "2.4.8"; 12 13 src = fetchurl { 14 - url = "https://github.com/yui/yuicompressor/releases/download/v${version}/${pname}-${version}.jar"; 15 sha256 = "1qjxlak9hbl9zd3dl5ks0w4zx5z64wjsbk7ic73r1r45fasisdrh"; 16 }; 17 ··· 25 "-cp $out/lib/yuicompressor.jar com.yahoo.platform.yui.compressor.YUICompressor" 26 ''; 27 28 - meta = with lib; { 29 description = "JavaScript and CSS minifier"; 30 mainProgram = "yuicompressor"; 31 homepage = "http://yui.github.io/yuicompressor/"; 32 - sourceProvenance = with sourceTypes; [ binaryBytecode ]; 33 - license = licenses.bsd3; 34 - maintainers = with maintainers; [ jwiegley ]; 35 - platforms = platforms.all; 36 }; 37 - }
··· 6 jre, 7 }: 8 9 + stdenv.mkDerivation (finalAttrs: { 10 pname = "yuicompressor"; 11 version = "2.4.8"; 12 13 src = fetchurl { 14 + url = "https://github.com/yui/yuicompressor/releases/download/v${finalAttrs.version}/yuicompressor-${finalAttrs.version}.jar"; 15 sha256 = "1qjxlak9hbl9zd3dl5ks0w4zx5z64wjsbk7ic73r1r45fasisdrh"; 16 }; 17 ··· 25 "-cp $out/lib/yuicompressor.jar com.yahoo.platform.yui.compressor.YUICompressor" 26 ''; 27 28 + meta = { 29 description = "JavaScript and CSS minifier"; 30 mainProgram = "yuicompressor"; 31 homepage = "http://yui.github.io/yuicompressor/"; 32 + sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 33 + license = lib.licenses.bsd3; 34 + maintainers = with lib.maintainers; [ jwiegley ]; 35 + platforms = lib.platforms.all; 36 }; 37 + })
+4 -4
pkgs/by-name/za/zammad/package.nix
··· 37 }; 38 39 rubyEnv = bundlerEnv { 40 - name = "${pname}-gems-${version}"; 41 inherit version; 42 43 # Which ruby version to select: ··· 127 }; 128 }; 129 130 - meta = with lib; { 131 description = "Web-based, open source user support/ticketing solution"; 132 homepage = "https://zammad.org"; 133 - license = licenses.agpl3Plus; 134 platforms = [ 135 "x86_64-linux" 136 "aarch64-linux" 137 ]; 138 - maintainers = with maintainers; [ 139 taeer 140 netali 141 ];
··· 37 }; 38 39 rubyEnv = bundlerEnv { 40 + name = "zammad-gems-${version}"; 41 inherit version; 42 43 # Which ruby version to select: ··· 127 }; 128 }; 129 130 + meta = { 131 description = "Web-based, open source user support/ticketing solution"; 132 homepage = "https://zammad.org"; 133 + license = lib.licenses.agpl3Plus; 134 platforms = [ 135 "x86_64-linux" 136 "aarch64-linux" 137 ]; 138 + maintainers = with lib.maintainers; [ 139 taeer 140 netali 141 ];
+15 -15
pkgs/by-name/za/zap/package.nix
··· 8 runtimeShell, 9 }: 10 11 - stdenv.mkDerivation rec { 12 pname = "zap"; 13 version = "2.16.1"; 14 src = fetchurl { 15 - url = "https://github.com/zaproxy/zaproxy/releases/download/v${version}/ZAP_${version}_Linux.tar.gz"; 16 - sha256 = "sha256-Wy64MZsIUSGm6K1Q1p1n2++MhnFm9xqTe/yIjSR6KsE="; 17 }; 18 19 desktopItems = [ ··· 44 45 mkdir -p $out/{bin,share} 46 47 - cp -pR . "$out/share/${pname}/" 48 49 - cat >> "$out/bin/${pname}" << EOF 50 #!${runtimeShell} 51 export PATH="${lib.makeBinPath [ jre ]}:\$PATH" 52 export JAVA_HOME='${jre}' 53 if ! [ -f "\$HOME/.ZAP/config.xml" ];then 54 mkdir -p "\$HOME/.ZAP" 55 - head -n 2 $out/share/${pname}/xml/config.xml > "\$HOME/.ZAP/config.xml" 56 - echo "<version>${version_tag}</version>" >> "\$HOME/.ZAP/config.xml" 57 - tail -n +3 $out/share/${pname}/xml/config.xml >> "\$HOME/.ZAP/config.xml" 58 fi 59 - exec "$out/share/${pname}/zap.sh" "\$@" 60 EOF 61 62 - chmod u+x "$out/bin/${pname}" 63 64 runHook postInstall 65 ''; 66 67 - meta = with lib; { 68 homepage = "https://www.zaproxy.org/"; 69 description = "Java application for web penetration testing"; 70 - maintainers = with maintainers; [ 71 mog 72 rafael 73 ]; 74 - platforms = platforms.linux; 75 - license = licenses.asl20; 76 mainProgram = "zap"; 77 }; 78 - }
··· 8 runtimeShell, 9 }: 10 11 + stdenv.mkDerivation (finalAttrs: { 12 pname = "zap"; 13 version = "2.16.1"; 14 src = fetchurl { 15 + url = "https://github.com/zaproxy/zaproxy/releases/download/v${finalAttrs.version}/ZAP_${finalAttrs.version}_Linux.tar.gz"; 16 + hash = "sha256-Wy64MZsIUSGm6K1Q1p1n2++MhnFm9xqTe/yIjSR6KsE="; 17 }; 18 19 desktopItems = [ ··· 44 45 mkdir -p $out/{bin,share} 46 47 + cp -pR . "$out/share/zap/" 48 49 + cat >> "$out/bin/zap" << EOF 50 #!${runtimeShell} 51 export PATH="${lib.makeBinPath [ jre ]}:\$PATH" 52 export JAVA_HOME='${jre}' 53 if ! [ -f "\$HOME/.ZAP/config.xml" ];then 54 mkdir -p "\$HOME/.ZAP" 55 + head -n 2 $out/share/zap/xml/config.xml > "\$HOME/.ZAP/config.xml" 56 + echo "<version>${finalAttrs.version_tag}</version>" >> "\$HOME/.ZAP/config.xml" 57 + tail -n +3 $out/share/zap/xml/config.xml >> "\$HOME/.ZAP/config.xml" 58 fi 59 + exec "$out/share/zap/zap.sh" "\$@" 60 EOF 61 62 + chmod u+x "$out/bin/zap" 63 64 runHook postInstall 65 ''; 66 67 + meta = { 68 homepage = "https://www.zaproxy.org/"; 69 description = "Java application for web penetration testing"; 70 + maintainers = with lib.maintainers; [ 71 mog 72 rafael 73 ]; 74 + platforms = lib.platforms.linux; 75 + license = lib.licenses.asl20; 76 mainProgram = "zap"; 77 }; 78 + })
+4 -4
pkgs/by-name/zi/zile/package.nix
··· 12 vala, 13 }: 14 15 - stdenv.mkDerivation rec { 16 pname = "zile"; 17 version = "2.6.4"; 18 19 src = fetchurl { 20 - url = "mirror://gnu/zile/${pname}-${version}.tar.gz"; 21 hash = "sha256-1dRLhctJBkPQcH4aIYbzoymYwvbquqlIFHm2XK7uV8A="; 22 }; 23 ··· 47 48 meta = { 49 homepage = "https://www.gnu.org/software/zile/"; 50 - changelog = "https://git.savannah.gnu.org/cgit/zile.git/plain/NEWS?h=v${version}"; 51 description = "Implements Lua Editors"; 52 longDescription = '' 53 GNU Zile is a text editor development kit, so that you can (relatively) ··· 82 platforms = lib.platforms.unix; 83 mainProgram = "zile"; 84 }; 85 - }
··· 12 vala, 13 }: 14 15 + stdenv.mkDerivation (finalAttrs: { 16 pname = "zile"; 17 version = "2.6.4"; 18 19 src = fetchurl { 20 + url = "mirror://gnu/zile/zile-${finalAttrs.version}.tar.gz"; 21 hash = "sha256-1dRLhctJBkPQcH4aIYbzoymYwvbquqlIFHm2XK7uV8A="; 22 }; 23 ··· 47 48 meta = { 49 homepage = "https://www.gnu.org/software/zile/"; 50 + changelog = "https://git.savannah.gnu.org/cgit/zile.git/plain/NEWS?h=v${finalAttrs.version}"; 51 description = "Implements Lua Editors"; 52 longDescription = '' 53 GNU Zile is a text editor development kit, so that you can (relatively) ··· 82 platforms = lib.platforms.unix; 83 mainProgram = "zile"; 84 }; 85 + })
+8 -8
pkgs/by-name/zi/zita-ajbridge/package.nix
··· 8 zita-resampler, 9 }: 10 11 - stdenv.mkDerivation rec { 12 pname = "zita-ajbridge"; 13 version = "0.8.4"; 14 15 src = fetchurl { 16 - url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2"; 17 - sha256 = "0g5v0l0zmqh049mhv62n8s5bpm0yrlby7mkxxhs5qwadp8v4w9mw"; 18 }; 19 20 buildInputs = [ ··· 35 36 enableParallelBuilding = true; 37 38 - meta = with lib; { 39 description = "Connect additional ALSA devices to JACK"; 40 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/index.html"; 41 - license = licenses.gpl3Plus; 42 - maintainers = with maintainers; [ orivej ]; 43 - platforms = platforms.linux; 44 }; 45 - }
··· 8 zita-resampler, 9 }: 10 11 + stdenv.mkDerivation (finalAttrs: { 12 pname = "zita-ajbridge"; 13 version = "0.8.4"; 14 15 src = fetchurl { 16 + url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-ajbridge-${finalAttrs.version}.tar.bz2"; 17 + hash = "sha256-vCZONrpNcVw07H3W4xfNHtS7ikZWmA1rIgDi+gEFuzw="; 18 }; 19 20 buildInputs = [ ··· 35 36 enableParallelBuilding = true; 37 38 + meta = { 39 description = "Connect additional ALSA devices to JACK"; 40 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/index.html"; 41 + license = lib.licenses.gpl3Plus; 42 + maintainers = with lib.maintainers; [ orivej ]; 43 + platforms = lib.platforms.linux; 44 }; 45 + })
+5 -5
pkgs/by-name/zn/znapzend/package.nix
··· 15 pname = "Mojo-Log-Clearable"; 16 version = "1.001"; 17 src = fetchurl { 18 - url = "mirror://cpan/authors/id/D/DB/DBOOK/${pname}-${version}.tar.gz"; 19 hash = "sha256-guBqKdWemc4mC/xp77Wd7qeV2iRqY4wrQ5NRsHtsCnI="; 20 }; 21 buildInputs = with perl.pkgs; [ ModuleBuildTiny ]; ··· 70 $out/bin/znapzend --version 71 ''; 72 73 - meta = with lib; { 74 description = "High performance open source ZFS backup with mbuffer and ssh support"; 75 homepage = "https://www.znapzend.org"; 76 - license = licenses.gpl3; 77 - maintainers = with maintainers; [ 78 otwieracz 79 ma27 80 ]; 81 - platforms = platforms.all; 82 }; 83 })
··· 15 pname = "Mojo-Log-Clearable"; 16 version = "1.001"; 17 src = fetchurl { 18 + url = "mirror://cpan/authors/id/D/DB/DBOOK/Mojo-Log-Clearable-${version}.tar.gz"; 19 hash = "sha256-guBqKdWemc4mC/xp77Wd7qeV2iRqY4wrQ5NRsHtsCnI="; 20 }; 21 buildInputs = with perl.pkgs; [ ModuleBuildTiny ]; ··· 70 $out/bin/znapzend --version 71 ''; 72 73 + meta = { 74 description = "High performance open source ZFS backup with mbuffer and ssh support"; 75 homepage = "https://www.znapzend.org"; 76 + license = lib.licenses.gpl3; 77 + maintainers = with lib.maintainers; [ 78 otwieracz 79 ma27 80 ]; 81 + platforms = lib.platforms.all; 82 }; 83 })
+9 -9
pkgs/by-name/zo/zod/package.nix
··· 21 version = "2011-09-06"; 22 src = fetchzip { 23 url = "mirror://sourceforge/zod/linux_releases/zod_linux-${version}.tar.gz"; 24 - sha256 = "017v96aflrv07g8j8zk9mq8f8rqxl5228rjff5blq8dxpsv1sx7h"; 25 }; 26 postPatch = '' 27 sed '1i#include <ctime>' -i zod_src/common.cpp # gcc12 ··· 50 hardeningDisable 51 NIX_LDFLAGS 52 ; 53 - pname = "${pname}-engine"; 54 enableParallelBuilding = true; 55 preBuild = "cd zod_src"; 56 installPhase = '' ··· 69 hardeningDisable 70 NIX_LDFLAGS 71 ; 72 - pname = "${pname}-map_editor"; 73 enableParallelBuilding = true; 74 preBuild = "cd zod_src"; 75 makeFlags = [ "map_editor" ]; ··· 88 zod_engine 89 zod_map_editor 90 ; 91 - pname = "${pname}-launcher"; 92 # This is necessary because the zod_launcher has terrible fixed-width window 93 # the Idea is to apply the scalingFactor to all positions and sizes and I tested 1,2,3 and 4 94 # 2,3,4 look acceptable on my 4k monitor and 1 is unreadable. ··· 109 install -m755 zod_launcher $out/bin 110 ''; 111 }; 112 - zod_assets = runCommandLocal "${pname}-assets" { } '' 113 mkdir -p $out/usr/lib/commander-zod{,blank_maps} 114 cp -r ${src}/assets $out/usr/lib/commander-zod/assets 115 for i in ${src}/*.map ${src}/*.txt; do ··· 128 zod_map_editor 129 zod_assets 130 ]; 131 - meta = with lib; { 132 description = "Multiplayer remake of ZED"; 133 homepage = "https://zod.sourceforge.net/"; 134 - maintainers = with maintainers; [ zeri ]; 135 - license = licenses.gpl3Plus; # Says the website 136 - platforms = platforms.linux; 137 }; 138 }
··· 21 version = "2011-09-06"; 22 src = fetchzip { 23 url = "mirror://sourceforge/zod/linux_releases/zod_linux-${version}.tar.gz"; 24 + hash = "sha256-8HQdtr69IUxXcU5mJEShHWfkEK5pfiTRO2Bn6pRJ+wQ="; 25 }; 26 postPatch = '' 27 sed '1i#include <ctime>' -i zod_src/common.cpp # gcc12 ··· 50 hardeningDisable 51 NIX_LDFLAGS 52 ; 53 + pname = "zod-engine-engine"; 54 enableParallelBuilding = true; 55 preBuild = "cd zod_src"; 56 installPhase = '' ··· 69 hardeningDisable 70 NIX_LDFLAGS 71 ; 72 + pname = "zod-engine-map_editor"; 73 enableParallelBuilding = true; 74 preBuild = "cd zod_src"; 75 makeFlags = [ "map_editor" ]; ··· 88 zod_engine 89 zod_map_editor 90 ; 91 + pname = "zod-engine-launcher"; 92 # This is necessary because the zod_launcher has terrible fixed-width window 93 # the Idea is to apply the scalingFactor to all positions and sizes and I tested 1,2,3 and 4 94 # 2,3,4 look acceptable on my 4k monitor and 1 is unreadable. ··· 109 install -m755 zod_launcher $out/bin 110 ''; 111 }; 112 + zod_assets = runCommandLocal "zod-engine-assets" { } '' 113 mkdir -p $out/usr/lib/commander-zod{,blank_maps} 114 cp -r ${src}/assets $out/usr/lib/commander-zod/assets 115 for i in ${src}/*.map ${src}/*.txt; do ··· 128 zod_map_editor 129 zod_assets 130 ]; 131 + meta = { 132 description = "Multiplayer remake of ZED"; 133 homepage = "https://zod.sourceforge.net/"; 134 + maintainers = with lib.maintainers; [ zeri ]; 135 + license = lib.licenses.gpl3Plus; # Says the website 136 + platforms = lib.platforms.linux; 137 }; 138 }
+4 -4
pkgs/by-name/zo/zookeeper/package.nix
··· 13 # https://zookeeper.apache.org/doc/r3.9.2/zookeeperAdmin.html#sc_requiredSoftware 14 jre = jdk11_headless; 15 in 16 - stdenv.mkDerivation rec { 17 pname = "zookeeper"; 18 version = "3.9.3"; 19 20 src = fetchurl { 21 - url = "mirror://apache/zookeeper/${pname}-${version}/apache-${pname}-${version}-bin.tar.gz"; 22 hash = "sha512-1E2HDBaRZi778ai68YWckBuCDcX/Fjs26BvrJ7b7880xtfHwdWl+2q9tPnpMsMyS+STc/2SylO8T1TVYm9rxQw=="; 23 }; 24 ··· 53 meta = { 54 homepage = "https://zookeeper.apache.org"; 55 description = "Apache Zookeeper"; 56 - changelog = "https://zookeeper.apache.org/doc/r${version}/releasenotes.html"; 57 license = lib.licenses.asl20; 58 maintainers = with lib.maintainers; [ 59 nathan-gs ··· 62 platforms = lib.platforms.unix; 63 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 64 }; 65 - }
··· 13 # https://zookeeper.apache.org/doc/r3.9.2/zookeeperAdmin.html#sc_requiredSoftware 14 jre = jdk11_headless; 15 in 16 + stdenv.mkDerivation (finalAttrs: { 17 pname = "zookeeper"; 18 version = "3.9.3"; 19 20 src = fetchurl { 21 + url = "mirror://apache/zookeeper/zookeeper-${finalAttrs.version}/apache-zookeeper-${finalAttrs.version}-bin.tar.gz"; 22 hash = "sha512-1E2HDBaRZi778ai68YWckBuCDcX/Fjs26BvrJ7b7880xtfHwdWl+2q9tPnpMsMyS+STc/2SylO8T1TVYm9rxQw=="; 23 }; 24 ··· 53 meta = { 54 homepage = "https://zookeeper.apache.org"; 55 description = "Apache Zookeeper"; 56 + changelog = "https://zookeeper.apache.org/doc/r${finalAttrs.version}/releasenotes.html"; 57 license = lib.licenses.asl20; 58 maintainers = with lib.maintainers; [ 59 nathan-gs ··· 62 platforms = lib.platforms.unix; 63 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 64 }; 65 + })