lol

qrtool: 0.11.8 -> 0.12.1 (#433685)

authored by philiptaron.tngl.sh and committed by

GitHub 130291bc d7cb63ff

+12 -13
+12 -13
pkgs/by-name/qr/qrtool/package.nix
··· 7 7 installShellFiles, 8 8 }: 9 9 10 - rustPlatform.buildRustPackage rec { 10 + rustPlatform.buildRustPackage (finalAttrs: { 11 11 pname = "qrtool"; 12 - version = "0.11.8"; 12 + version = "0.12.1"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "sorairolake"; 16 16 repo = "qrtool"; 17 - rev = "v${version}"; 18 - hash = "sha256-f/2AaNnojtZMhJod6ukLwEq+Bsu6O2oTD9OWGL8IS80="; 17 + tag = "v${finalAttrs.version}"; 18 + hash = "sha256-I/LyDHV3pbRj+utzJBLvkgstEOodLkvfQT6uMLnOEgM="; 19 19 }; 20 20 21 - cargoHash = "sha256-wXs3Y0g+inUU3Qho5UhZOJhNDs65HS6FjPdZQBuwLM0="; 21 + cargoHash = "sha256-c1sw0zyJZDvJe3Hcn1W4UPkqTKqRhywHpR6HLrqAN+A="; 22 22 23 23 nativeBuildInputs = [ 24 24 asciidoctor ··· 28 28 postInstall = '' 29 29 # Built by ./build.rs using `asciidoctor` 30 30 installManPage ./target/*/release/build/qrtool*/out/*.? 31 - 32 31 '' 33 32 + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' 34 33 installShellCompletion --cmd qrtool \ 35 - --bash <($out/bin/qrtool --generate-completion bash) \ 36 - --fish <($out/bin/qrtool --generate-completion fish) \ 37 - --zsh <($out/bin/qrtool --generate-completion zsh) 34 + --bash <($out/bin/qrtool completion bash) \ 35 + --fish <($out/bin/qrtool completion fish) \ 36 + --zsh <($out/bin/qrtool completion zsh) 38 37 ''; 39 38 40 - meta = with lib; { 41 - maintainers = with maintainers; [ philiptaron ]; 39 + meta = { 42 40 description = "Utility for encoding and decoding QR code images"; 43 - license = licenses.asl20; 41 + license = lib.licenses.asl20; 44 42 homepage = "https://sorairolake.github.io/qrtool/book/index.html"; 45 43 changelog = "https://sorairolake.github.io/qrtool/book/changelog.html"; 46 44 mainProgram = "qrtool"; 45 + maintainers = with lib.maintainers; [ philiptaron ]; 47 46 }; 48 - } 47 + })