From d26a1a9e5e2a286f8a16f1abfbaf184e577febe3 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Fri, 6 Feb 2026 18:50:05 +0100 Subject: [PATCH] various: switch buildRustPackage packages to use finalAttrs this shouldn't create any rebuilds the following script was used to generate this: ```fish #!/usr/bin/env fish # nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd} set base (git rev-parse HEAD) set scope pkgs/by-name set builder buildRustPackage set files (rg --files-with-matches -F "$builder rec {" $scope | sort -u) for file in $files echo $file sd -F "$builder rec {" "$builder (finalAttrs: {" $file # version sd -F 'version}' 'finalAttrs.version}' $file sd -F '${version' '${finalAttrs.version' $file sd -F '= version' '= finalAttrs.version' $file sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file sd -F ' + version;' ' + finalAttrs.version;' $file sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file # src sd -F 'src}' 'finalAttrs.src}' $file sd -F '${src' '${finalAttrs.src' $file sd -F '= src' '= finalAttrs.src' $file sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file sd -F 'inherit (src' 'inherit (finalAttrs.src' $file # meta sd -F '${meta' '${finalAttrs.meta' $file sd -F '= meta' '= finalAttrs.meta' $file sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file # other sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file sd -F 'libPath}' 'finalAttrs.libPath}' $file sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file # pname (restored afterwards) sd -F 'pname}' 'finalAttrs.pname}' $file sd -F '${pname' '${finalAttrs.pname' $file sd -F '= pname' '= finalAttrs.pname' $file # close finalAttrs lambda echo ')' >>$file # catch some errors early if ! nixfmt $file git restore $file continue end if ! nixf-diagnose -i sema-primop-overridden $file git restore $file continue end end set torestore (rg -F .finalAttrs --files-with-matches $scope) if test (count $torestore) -gt 0 git restore $torestore end set torestore (rg -F finalAttrs.pname --files-with-matches $scope) if test (count $torestore) -gt 0 git restore $torestore end # commit for faster eval times git add pkgs git commit --no-gpg-sign -m temp set torestore for file in $files # file hasn't changed if git diff --quiet $base $file continue end # try to eval the package to definitely catch all errors echo $file set pname (string split / $file -f 4) if ! nix eval .#$pname set torestore $torestore $file end end # restore files that don't eval git reset --soft $base git restore --staged . if test (count $torestore) -gt 0 git restore $torestore end ``` after that some manual cleanup was done: - restoring files that cause changes in the number of lines - restoring files that cause rebuilds - restoring files that cause merge conflicts with staging --- pkgs/by-name/aa/aaa/package.nix | 6 +++--- pkgs/by-name/aa/aarch64-esr-decoder/package.nix | 8 ++++---- pkgs/by-name/aa/aardvark-dns/package.nix | 8 ++++---- pkgs/by-name/ab/ab-av1/package.nix | 8 ++++---- pkgs/by-name/ad/ad/package.nix | 6 +++--- pkgs/by-name/ad/add-determinism/package.nix | 6 +++--- pkgs/by-name/ad/adguardian/package.nix | 6 +++--- pkgs/by-name/ad/adrs/package.nix | 6 +++--- pkgs/by-name/ae/aerogramme/package.nix | 6 +++--- pkgs/by-name/af/afterburn/package.nix | 6 +++--- pkgs/by-name/ag/age-plugin-ledger/package.nix | 6 +++--- pkgs/by-name/ag/age-plugin-yubikey/package.nix | 6 +++--- pkgs/by-name/ag/agnos/package.nix | 6 +++--- pkgs/by-name/ai/aichat/package.nix | 6 +++--- pkgs/by-name/ai/aiken/package.nix | 6 +++--- pkgs/by-name/ai/airgorah/package.nix | 8 ++++---- pkgs/by-name/al/alejandra/package.nix | 8 ++++---- pkgs/by-name/al/alfis/package.nix | 8 ++++---- pkgs/by-name/al/alioth/package.nix | 6 +++--- pkgs/by-name/al/alvr/package.nix | 12 ++++++------ pkgs/by-name/am/amber-secret/package.nix | 8 ++++---- pkgs/by-name/am/amber/package.nix | 6 +++--- pkgs/by-name/an/anchor/package.nix | 8 ++++---- pkgs/by-name/an/anewer/package.nix | 6 +++--- pkgs/by-name/an/angle-grinder/package.nix | 6 +++--- pkgs/by-name/ao/aoc-cli/package.nix | 6 +++--- pkgs/by-name/ap/aphorme/package.nix | 8 ++++---- pkgs/by-name/ap/apt-swarm/package.nix | 8 ++++---- pkgs/by-name/ar/ares-rs/package.nix | 8 ++++---- pkgs/by-name/ar/argon/package.nix | 8 ++++---- pkgs/by-name/ar/arp-scan-rs/package.nix | 8 ++++---- pkgs/by-name/ar/artem/package.nix | 8 ++++---- pkgs/by-name/as/asak/package.nix | 8 ++++---- pkgs/by-name/as/ashell/package.nix | 8 ++++---- pkgs/by-name/as/askalono/package.nix | 8 ++++---- pkgs/by-name/as/asuka/package.nix | 6 +++--- pkgs/by-name/as/asusctl/package.nix | 8 ++++---- pkgs/by-name/at/atac/package.nix | 6 +++--- pkgs/by-name/au/audion/package.nix | 8 ++++---- pkgs/by-name/au/autotiling-rs/package.nix | 6 +++--- pkgs/by-name/av/av1an-unwrapped/package.nix | 8 ++++---- pkgs/by-name/av/avml/package.nix | 6 +++--- pkgs/by-name/aw/awatcher/package.nix | 6 +++--- pkgs/by-name/aw/awsbck/package.nix | 6 +++--- pkgs/by-name/ba/backdown/package.nix | 8 ++++---- pkgs/by-name/ba/bartib/package.nix | 6 +++--- pkgs/by-name/ba/basilk/package.nix | 8 ++++---- pkgs/by-name/ba/batmon/package.nix | 8 ++++---- pkgs/by-name/ba/bato/package.nix | 8 ++++---- .../be/beancount-language-server/package.nix | 6 +++--- pkgs/by-name/be/below/package.nix | 6 +++--- pkgs/by-name/be/bend/package.nix | 6 +++--- pkgs/by-name/bi/bibiman/package.nix | 6 +++--- .../bi/bign-handheld-thumbnailer/package.nix | 10 +++++----- pkgs/by-name/bi/biliup-rs/package.nix | 8 ++++---- pkgs/by-name/bi/bingrep/package.nix | 6 +++--- pkgs/by-name/bi/binocle/package.nix | 6 +++--- pkgs/by-name/bi/binsider/package.nix | 6 +++--- pkgs/by-name/bi/biodiff/package.nix | 8 ++++---- pkgs/by-name/bi/biscuit-cli/package.nix | 8 ++++---- pkgs/by-name/bi/bite/package.nix | 12 ++++++------ pkgs/by-name/bk/bkt/package.nix | 6 +++--- pkgs/by-name/bl/blflash/package.nix | 6 +++--- pkgs/by-name/bl/bluetui/package.nix | 6 +++--- pkgs/by-name/bo/boa/package.nix | 8 ++++---- pkgs/by-name/bo/bonk/package.nix | 6 +++--- pkgs/by-name/bo/bootc/package.nix | 6 +++--- pkgs/by-name/bo/bootspec-lix/package.nix | 6 +++--- pkgs/by-name/bo/bootspec/package.nix | 6 +++--- pkgs/by-name/bo/bore-cli/package.nix | 6 +++--- pkgs/by-name/bo/bottom-rs/package.nix | 6 +++--- pkgs/by-name/bo/boxbuddy/package.nix | 6 +++--- pkgs/by-name/bo/boxxy/package.nix | 6 +++--- pkgs/by-name/br/brush/package.nix | 10 +++++----- pkgs/by-name/bu/buckle/package.nix | 6 +++--- pkgs/by-name/bu/buffrs/package.nix | 6 +++--- pkgs/by-name/bu/bukubrow/package.nix | 6 +++--- pkgs/by-name/bu/bulloak/package.nix | 6 +++--- pkgs/by-name/bu/bunbun/package.nix | 8 ++++---- pkgs/by-name/bu/bunyan-rs/package.nix | 6 +++--- pkgs/by-name/bu/bupstash/package.nix | 6 +++--- pkgs/by-name/bz/bzmenu/package.nix | 6 +++--- pkgs/by-name/ca/cairo-lang/package.nix | 6 +++--- pkgs/by-name/ca/caligula/package.nix | 6 +++--- pkgs/by-name/ca/cantus/package.nix | 6 +++--- pkgs/by-name/ca/capnproto-rust/package.nix | 6 +++--- pkgs/by-name/ca/cargo-3ds/package.nix | 6 +++--- pkgs/by-name/ca/cargo-about/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-autoinherit/package.nix | 6 +++--- pkgs/by-name/ca/cargo-binstall/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-bisect-rustc/package.nix | 6 +++--- pkgs/by-name/ca/cargo-bitbake/package.nix | 6 +++--- pkgs/by-name/ca/cargo-bloat/package.nix | 6 +++--- pkgs/by-name/ca/cargo-bootimage/package.nix | 6 +++--- pkgs/by-name/ca/cargo-bump/package.nix | 6 +++--- .../by-name/ca/cargo-bundle-licenses/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-cache/package.nix | 6 +++--- pkgs/by-name/ca/cargo-careful/package.nix | 6 +++--- pkgs/by-name/ca/cargo-clone/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-crev/package.nix | 6 +++--- pkgs/by-name/ca/cargo-criterion/package.nix | 6 +++--- pkgs/by-name/ca/cargo-cross/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-deadlinks/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-deb/package.nix | 6 +++--- pkgs/by-name/ca/cargo-depgraph/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-dephell/package.nix | 6 +++--- pkgs/by-name/ca/cargo-diet/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-dist/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-docset/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-duplicates/package.nix | 6 +++--- pkgs/by-name/ca/cargo-edit/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-espmonitor/package.nix | 6 +++--- pkgs/by-name/ca/cargo-feature/package.nix | 6 +++--- .../ca/cargo-features-manager/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-flamegraph/package.nix | 6 +++--- pkgs/by-name/ca/cargo-fund/package.nix | 6 +++--- pkgs/by-name/ca/cargo-fuzz/package.nix | 6 +++--- pkgs/by-name/ca/cargo-i18n/package.nix | 6 +++--- pkgs/by-name/ca/cargo-info/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-insta/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-lambda/package.nix | 6 +++--- pkgs/by-name/ca/cargo-leptos/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-limit/package.nix | 6 +++--- pkgs/by-name/ca/cargo-llvm-lines/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-make/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-modules/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-msrv/package.nix | 6 +++--- pkgs/by-name/ca/cargo-ndk/package.nix | 6 +++--- pkgs/by-name/ca/cargo-outdated/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-pgo/package.nix | 6 +++--- pkgs/by-name/ca/cargo-pio/package.nix | 6 +++--- pkgs/by-name/ca/cargo-readme/package.nix | 6 +++--- pkgs/by-name/ca/cargo-rr/package.nix | 6 +++--- pkgs/by-name/ca/cargo-sort-derives/package.nix | 6 +++--- pkgs/by-name/ca/cargo-sort/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-supply-chain/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-sweep/package.nix | 6 +++--- pkgs/by-name/ca/cargo-swift/package.nix | 6 +++--- pkgs/by-name/ca/cargo-temp/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-typify/package.nix | 6 +++--- pkgs/by-name/ca/cargo-wasi/package.nix | 6 +++--- pkgs/by-name/ca/cargo-watch/package.nix | 6 +++--- pkgs/by-name/ca/cargo-whatfeatures/package.nix | 6 +++--- pkgs/by-name/ca/cargo-wipe/package.nix | 6 +++--- pkgs/by-name/ca/cargo-wizard/package.nix | 8 ++++---- pkgs/by-name/ca/cargo-xbuild/package.nix | 6 +++--- pkgs/by-name/ca/cargo-xwin/package.nix | 6 +++--- pkgs/by-name/ca/carl/package.nix | 8 ++++---- pkgs/by-name/ca/castor/package.nix | 6 +++--- pkgs/by-name/ca/cauwugo/package.nix | 6 +++--- pkgs/by-name/cb/cbfmt/package.nix | 6 +++--- pkgs/by-name/ce/cedar/package.nix | 8 ++++---- pkgs/by-name/ce/celeste/package.nix | 8 ++++---- pkgs/by-name/ce/centerpiece/package.nix | 6 +++--- pkgs/by-name/cf/cfdyndns/package.nix | 6 +++--- pkgs/by-name/ch/charasay/package.nix | 6 +++--- pkgs/by-name/ch/chars/package.nix | 6 +++--- .../ch/chirpstack-concentratord/package.nix | 6 +++--- pkgs/by-name/ch/choose/package.nix | 6 +++--- pkgs/by-name/ci/cicero-tui/package.nix | 6 +++--- pkgs/by-name/ci/ciel/package.nix | 6 +++--- pkgs/by-name/ci/circom/package.nix | 8 ++++---- pkgs/by-name/cj/cjdns/package.nix | 8 ++++---- pkgs/by-name/cl/cl-wordle/package.nix | 6 +++--- pkgs/by-name/cl/clapboard/package.nix | 6 +++--- pkgs/by-name/cl/clashtui/package.nix | 10 +++++----- pkgs/by-name/cl/click/package.nix | 6 +++--- pkgs/by-name/cl/clipcat/package.nix | 6 +++--- pkgs/by-name/cl/cloak/package.nix | 6 +++--- pkgs/by-name/cl/clock-rs/package.nix | 6 +++--- pkgs/by-name/cm/cmd-wrapped/package.nix | 6 +++--- pkgs/by-name/cn/cntr/package.nix | 6 +++--- pkgs/by-name/co/cocogitto/package.nix | 6 +++--- pkgs/by-name/co/cocom/package.nix | 6 +++--- pkgs/by-name/co/code-minimap/package.nix | 6 +++--- pkgs/by-name/co/code2prompt/package.nix | 6 +++--- pkgs/by-name/co/codeberg-cli/package.nix | 6 +++--- pkgs/by-name/co/codevis/package.nix | 8 ++++---- pkgs/by-name/co/codex-acp/package.nix | 8 ++++---- pkgs/by-name/co/coinlive/package.nix | 8 ++++---- pkgs/by-name/co/coldsnap/package.nix | 8 ++++---- pkgs/by-name/co/colo/package.nix | 6 +++--- pkgs/by-name/co/colorpanes/package.nix | 6 +++--- pkgs/by-name/co/coloursum/package.nix | 6 +++--- pkgs/by-name/co/commit-formatter/package.nix | 6 +++--- pkgs/by-name/co/commitlint-rs/package.nix | 8 ++++---- pkgs/by-name/co/commitmsgfmt/package.nix | 8 ++++---- pkgs/by-name/co/comodoro/package.nix | 8 ++++---- pkgs/by-name/co/comrak/package.nix | 8 ++++---- pkgs/by-name/co/config-store/package.nix | 6 +++--- pkgs/by-name/co/conmon-rs/package.nix | 6 +++--- pkgs/by-name/co/conserve/package.nix | 6 +++--- pkgs/by-name/co/convco/package.nix | 6 +++--- pkgs/by-name/co/cook-cli/package.nix | 10 +++++----- pkgs/by-name/co/copycat/package.nix | 6 +++--- .../by-name/co/cosmic-ext-calculator/package.nix | 8 ++++---- pkgs/by-name/co/cosmic-ext-tweaks/package.nix | 8 ++++---- pkgs/by-name/co/cotp/package.nix | 6 +++--- pkgs/by-name/cp/cpc/package.nix | 6 +++--- pkgs/by-name/cr/crab-hole/package.nix | 6 +++--- pkgs/by-name/cr/crabz/package.nix | 8 ++++---- pkgs/by-name/cr/crate2nix/package.nix | 8 ++++---- pkgs/by-name/cr/critcmp/package.nix | 6 +++--- pkgs/by-name/cr/crusader/package.nix | 10 +++++----- pkgs/by-name/cs/csv-tui/package.nix | 6 +++--- pkgs/by-name/cs/csv2parquet/package.nix | 6 +++--- pkgs/by-name/cs/csview/package.nix | 6 +++--- pkgs/by-name/cs/csvlens/package.nix | 8 ++++---- pkgs/by-name/cy/cyme/package.nix | 10 +++++----- pkgs/by-name/da/dabet/package.nix | 6 +++--- pkgs/by-name/da/daktilo/package.nix | 8 ++++---- pkgs/by-name/da/darklua/package.nix | 8 ++++---- pkgs/by-name/dd/ddh/package.nix | 6 +++--- pkgs/by-name/de/deadnix/package.nix | 6 +++--- pkgs/by-name/de/deepfilternet/package.nix | 8 ++++---- pkgs/by-name/de/deqp-runner/package.nix | 6 +++--- pkgs/by-name/de/desed/package.nix | 8 ++++---- pkgs/by-name/de/desk-exec/package.nix | 6 +++--- pkgs/by-name/df/dfrs/package.nix | 6 +++--- pkgs/by-name/dh/dhcpm/package.nix | 6 +++--- pkgs/by-name/di/didu/package.nix | 6 +++--- pkgs/by-name/di/didyoumean/package.nix | 6 +++--- pkgs/by-name/di/diesel-cli-ext/package.nix | 6 +++--- pkgs/by-name/di/diffr/package.nix | 6 +++--- pkgs/by-name/di/dijo/package.nix | 6 +++--- pkgs/by-name/di/diskus/package.nix | 6 +++--- pkgs/by-name/di/display3d/package.nix | 6 +++--- pkgs/by-name/di/diswall/package.nix | 6 +++--- pkgs/by-name/dn/dnglab/package.nix | 6 +++--- pkgs/by-name/dn/dnspeep/package.nix | 6 +++--- pkgs/by-name/do/doctave/package.nix | 8 ++++---- pkgs/by-name/do/dogedns/package.nix | 6 +++--- pkgs/by-name/do/doh-proxy-rust/package.nix | 6 +++--- pkgs/by-name/do/dotenv-linter/package.nix | 6 +++--- pkgs/by-name/do/dotter/package.nix | 6 +++--- pkgs/by-name/dr/drill/package.nix | 6 +++--- pkgs/by-name/dt/dtool/package.nix | 6 +++--- pkgs/by-name/dt/dtui/package.nix | 8 ++++---- pkgs/by-name/du/ducker/package.nix | 8 ++++---- pkgs/by-name/du/dufs/package.nix | 8 ++++---- pkgs/by-name/du/dum/package.nix | 8 ++++---- pkgs/by-name/du/dummyhttp/package.nix | 6 +++--- pkgs/by-name/du/dupe-krill/package.nix | 6 +++--- pkgs/by-name/du/dura/package.nix | 6 +++--- pkgs/by-name/du/dutree/package.nix | 6 +++--- pkgs/by-name/dy/dynein/package.nix | 6 +++--- pkgs/by-name/dy/dysk/package.nix | 8 ++++---- pkgs/by-name/ea/ea/package.nix | 6 +++--- pkgs/by-name/ea/each/package.nix | 6 +++--- pkgs/by-name/ea/ear2ctl/package.nix | 6 +++--- pkgs/by-name/ea/earthlyls/package.nix | 8 ++++---- pkgs/by-name/ea/easytier/package.nix | 8 ++++---- pkgs/by-name/ec/ecc/package.nix | 8 ++++---- pkgs/by-name/ec/ecpdap/package.nix | 6 +++--- pkgs/by-name/ef/effitask/package.nix | 6 +++--- pkgs/by-name/ef/efmt/package.nix | 6 +++--- pkgs/by-name/eg/egglog/package.nix | 6 +++--- pkgs/by-name/eg/ego/package.nix | 6 +++--- pkgs/by-name/el/elan/package.nix | 8 ++++---- .../el/element-desktop/seshat/default.nix | 10 +++++----- pkgs/by-name/el/elf2nucleus/package.nix | 6 +++--- pkgs/by-name/el/elfcat/package.nix | 6 +++--- pkgs/by-name/el/eludris/package.nix | 6 +++--- pkgs/by-name/em/emacs-lsp-booster/package.nix | 6 +++--- pkgs/by-name/em/emplace/package.nix | 6 +++--- pkgs/by-name/em/emulsion/package.nix | 6 +++--- pkgs/by-name/en/encrypted-dns-server/package.nix | 8 ++++---- pkgs/by-name/en/enkei/package.nix | 6 +++--- pkgs/by-name/en/envio/package.nix | 8 ++++---- pkgs/by-name/ep/epick/package.nix | 6 +++--- pkgs/by-name/ep/epilys-bb/package.nix | 6 +++--- pkgs/by-name/er/erdtree/package.nix | 8 ++++---- pkgs/by-name/er/erg/package.nix | 10 +++++----- pkgs/by-name/es/esbuild-config/package.nix | 6 +++--- pkgs/by-name/es/esp-generate/package.nix | 6 +++--- pkgs/by-name/eu/eureka-ideas/package.nix | 8 ++++---- pkgs/by-name/ev/evebox/package.nix | 8 ++++---- pkgs/by-name/ev/evscript/package.nix | 6 +++--- pkgs/by-name/ev/evsieve/package.nix | 6 +++--- pkgs/by-name/ev/evtx/package.nix | 8 ++++---- .../ex/external-editor-revived/package.nix | 6 +++--- pkgs/by-name/ex/extest/package.nix | 6 +++--- pkgs/by-name/ez/ezno/package.nix | 8 ++++---- pkgs/by-name/fa/fac-build/package.nix | 6 +++--- pkgs/by-name/fa/faircamp/package.nix | 6 +++--- pkgs/by-name/fa/fanctl/package.nix | 6 +++--- pkgs/by-name/fa/fast-ssh/package.nix | 6 +++--- pkgs/by-name/fa/fastmod/package.nix | 6 +++--- pkgs/by-name/fc/fcast-client/package.nix | 6 +++--- pkgs/by-name/fc/fcp/package.nix | 8 ++++---- pkgs/by-name/fd/fd/package.nix | 8 ++++---- pkgs/by-name/fe/fedigroups/package.nix | 6 +++--- pkgs/by-name/fe/felix-fm/package.nix | 8 ++++---- pkgs/by-name/fe/ferium/package.nix | 6 +++--- pkgs/by-name/fe/fernglas/package.nix | 12 ++++++------ pkgs/by-name/ff/ff2mpv-rust/package.nix | 6 +++--- pkgs/by-name/ff/ffizer/package.nix | 8 ++++---- pkgs/by-name/ff/ffsend/package.nix | 6 +++--- pkgs/by-name/fi/fido2luks/package.nix | 6 +++--- pkgs/by-name/fi/fim-rs/package.nix | 8 ++++---- pkgs/by-name/fi/finalfusion-utils/package.nix | 6 +++--- pkgs/by-name/fi/findex/package.nix | 6 +++--- pkgs/by-name/fi/findomain/package.nix | 8 ++++---- pkgs/by-name/fi/firezone-gateway/package.nix | 8 ++++---- .../fi/firezone-headless-client/package.nix | 8 ++++---- pkgs/by-name/fi/firezone-relay/package.nix | 6 +++--- pkgs/by-name/fi/fishy/package.nix | 8 ++++---- pkgs/by-name/fj/fjo/package.nix | 6 +++--- pkgs/by-name/fl/flake-checker/package.nix | 10 +++++----- pkgs/by-name/fl/flake-edit/package.nix | 8 ++++---- pkgs/by-name/fl/flamelens/package.nix | 8 ++++---- pkgs/by-name/fl/flavours/package.nix | 8 ++++---- pkgs/by-name/fl/flawz/package.nix | 8 ++++---- pkgs/by-name/fl/flip-link/package.nix | 8 ++++---- pkgs/by-name/fl/flirt/package.nix | 6 +++--- pkgs/by-name/fl/flitter/package.nix | 6 +++--- .../fl/flutter_rust_bridge_codegen/package.nix | 6 +++--- pkgs/by-name/fn/fnm/package.nix | 6 +++--- pkgs/by-name/fo/fontc/package.nix | 8 ++++---- pkgs/by-name/fo/fontfor/package.nix | 6 +++--- pkgs/by-name/fo/fortune-kind/package.nix | 8 ++++---- pkgs/by-name/fo/foxmarks/package.nix | 8 ++++---- pkgs/by-name/fr/framework-tool/package.nix | 6 +++--- pkgs/by-name/fr/fre/package.nix | 8 ++++---- pkgs/by-name/fr/frece/package.nix | 6 +++--- pkgs/by-name/fr/freshfetch/package.nix | 6 +++--- pkgs/by-name/fs/fselect/package.nix | 6 +++--- pkgs/by-name/fs/fsrx/package.nix | 6 +++--- pkgs/by-name/fs/fst/package.nix | 6 +++--- pkgs/by-name/fu/fum/package.nix | 8 ++++---- pkgs/by-name/fu/function-runner/package.nix | 6 +++--- pkgs/by-name/fu/fundoc/package.nix | 6 +++--- pkgs/by-name/fu/funzzy/package.nix | 8 ++++---- pkgs/by-name/fw/fw/package.nix | 6 +++--- pkgs/by-name/fz/fzf-make/package.nix | 10 +++++----- pkgs/by-name/ga/galerio/package.nix | 6 +++--- pkgs/by-name/ga/game-rs/package.nix | 8 ++++---- pkgs/by-name/gd/gdrive3/package.nix | 8 ++++---- pkgs/by-name/ge/geckodriver/package.nix | 6 +++--- pkgs/by-name/ge/gen-license/package.nix | 6 +++--- pkgs/by-name/ge/genact/package.nix | 8 ++++---- pkgs/by-name/ge/genealogos-cli/package.nix | 8 ++++---- pkgs/by-name/ge/genpass/package.nix | 6 +++--- pkgs/by-name/ge/geticons/package.nix | 6 +++--- pkgs/by-name/ge/gex/package.nix | 8 ++++---- pkgs/by-name/gh/ghciwatch/package.nix | 6 +++--- pkgs/by-name/gh/ghostie/package.nix | 8 ++++---- pkgs/by-name/gi/gifski/package.nix | 8 ++++---- pkgs/by-name/gi/gimoji/package.nix | 6 +++--- pkgs/by-name/gi/ginko/package.nix | 8 ++++---- pkgs/by-name/gi/girouette/package.nix | 8 ++++---- pkgs/by-name/gi/git-absorb/package.nix | 6 +++--- pkgs/by-name/gi/git-branchless/package.nix | 6 +++--- pkgs/by-name/gi/git-cliff/package.nix | 8 ++++---- .../gi/git-credential-keepassxc/package.nix | 6 +++--- pkgs/by-name/gi/git-dive/package.nix | 8 ++++---- pkgs/by-name/gi/git-gone/package.nix | 8 ++++---- pkgs/by-name/gi/git-graph/package.nix | 6 +++--- pkgs/by-name/gi/git-ignore/package.nix | 8 ++++---- .../gi/git-interactive-rebase-tool/package.nix | 10 +++++----- pkgs/by-name/gi/git-metrics/package.nix | 6 +++--- pkgs/by-name/gi/git-nomad/package.nix | 8 ++++---- pkgs/by-name/gi/git-ps-rs/package.nix | 6 +++--- pkgs/by-name/gi/git-quickfix/package.nix | 6 +++--- pkgs/by-name/gi/git-smash/package.nix | 8 ++++---- pkgs/by-name/gi/git-stack/package.nix | 8 ++++---- pkgs/by-name/gi/git-together/package.nix | 8 ++++---- pkgs/by-name/gi/git-trim/package.nix | 6 +++--- pkgs/by-name/gi/git-workspace/package.nix | 6 +++--- pkgs/by-name/gi/gitlab-ci-ls/package.nix | 6 +++--- pkgs/by-name/gi/gitlab-clippy/package.nix | 6 +++--- pkgs/by-name/gi/gitnr/package.nix | 8 ++++---- pkgs/by-name/gi/gitrs/package.nix | 6 +++--- pkgs/by-name/gi/gitu/package.nix | 8 ++++---- pkgs/by-name/gl/glas/package.nix | 8 ++++---- pkgs/by-name/gl/glicol-cli/package.nix | 8 ++++---- pkgs/by-name/gl/glrnvim/package.nix | 6 +++--- pkgs/by-name/go/gobble/package.nix | 6 +++--- pkgs/by-name/go/gossip/package.nix | 10 +++++----- pkgs/by-name/go/gotify-desktop/package.nix | 6 +++--- pkgs/by-name/go/goxlr-utility/package.nix | 6 +++--- pkgs/by-name/gp/gpauth/package.nix | 10 +++++----- pkgs/by-name/gp/gping/package.nix | 8 ++++---- pkgs/by-name/gp/gptman/package.nix | 6 +++--- pkgs/by-name/gq/gql/package.nix | 8 ++++---- pkgs/by-name/gr/graphql-client/package.nix | 6 +++--- pkgs/by-name/gr/grex/package.nix | 8 ++++---- pkgs/by-name/ha/handlr-regex/package.nix | 6 +++--- pkgs/by-name/ha/hanko/package.nix | 6 +++--- pkgs/by-name/ha/hatsu/package.nix | 8 ++++---- pkgs/by-name/ha/haylxon/package.nix | 6 +++--- pkgs/by-name/hc/hck/package.nix | 8 ++++---- pkgs/by-name/he/hebbot/package.nix | 6 +++--- pkgs/by-name/he/heliocron/package.nix | 8 ++++---- pkgs/by-name/he/hex/package.nix | 10 +++++----- pkgs/by-name/he/hexdino/package.nix | 6 +++--- pkgs/by-name/he/hexpatch/package.nix | 8 ++++---- pkgs/by-name/he/hextazy/package.nix | 8 ++++---- pkgs/by-name/he/hexyl/package.nix | 8 ++++---- pkgs/by-name/he/heygpt/package.nix | 8 ++++---- pkgs/by-name/hi/highlight-assertions/package.nix | 6 +++--- pkgs/by-name/hi/hiksink/package.nix | 6 +++--- pkgs/by-name/hi/hired/package.nix | 6 +++--- pkgs/by-name/hm/hmm/package.nix | 8 ++++---- pkgs/by-name/ho/hoard/package.nix | 8 ++++---- pkgs/by-name/ho/hors/package.nix | 8 ++++---- pkgs/by-name/ht/htmlq/package.nix | 6 +++--- pkgs/by-name/ht/htmx-lsp2/package.nix | 6 +++--- pkgs/by-name/ht/httm/package.nix | 8 ++++---- pkgs/by-name/ht/httplz/package.nix | 8 ++++---- pkgs/by-name/hu/hullcaster/package.nix | 6 +++--- pkgs/by-name/hu/hunt/package.nix | 6 +++--- pkgs/by-name/hw/hwatch/package.nix | 6 +++--- pkgs/by-name/hy/hydra-cli/package.nix | 6 +++--- pkgs/by-name/hy/hyperlink/package.nix | 6 +++--- pkgs/by-name/hy/hyperspeedcube/package.nix | 6 +++--- pkgs/by-name/hy/hyprdim/package.nix | 6 +++--- .../by-name/hy/hyprland-activewindow/package.nix | 6 +++--- .../hy/hyprland-autoname-workspaces/package.nix | 6 +++--- .../hy/hyprland-monitor-attached/package.nix | 6 +++--- .../hy/hyprland-per-window-layout/package.nix | 6 +++--- .../hy/hyprland-workspaces-tui/package.nix | 6 +++--- pkgs/by-name/hy/hyprland-workspaces/package.nix | 6 +++--- pkgs/by-name/hy/hyprnome/package.nix | 6 +++--- pkgs/by-name/i3/i3-back/package.nix | 6 +++--- pkgs/by-name/i3/i3bar-river/package.nix | 6 +++--- pkgs/by-name/i3/i3status-rust/package.nix | 6 +++--- pkgs/by-name/ia/ianny/package.nix | 6 +++--- pkgs/by-name/ia/iay/package.nix | 6 +++--- pkgs/by-name/id/idmail/package.nix | 8 ++++---- pkgs/by-name/if/ifrextractor-rs/package.nix | 6 +++--- pkgs/by-name/if/ifwifi/package.nix | 6 +++--- pkgs/by-name/ig/igrep/package.nix | 8 ++++---- pkgs/by-name/ii/iio-niri/package.nix | 6 +++--- pkgs/by-name/ik/ikill/package.nix | 6 +++--- pkgs/by-name/im/image-roll/package.nix | 6 +++--- pkgs/by-name/in/inferno/package.nix | 8 ++++---- pkgs/by-name/in/inherd-quake/package.nix | 6 +++--- pkgs/by-name/in/inhibridge/package.nix | 6 +++--- pkgs/by-name/in/inlyne/package.nix | 8 ++++---- pkgs/by-name/in/innernet/package.nix | 8 ++++---- pkgs/by-name/in/inori/package.nix | 8 ++++---- pkgs/by-name/in/inputplumber/package.nix | 8 ++++---- pkgs/by-name/in/integrity-scrub/package.nix | 6 +++--- pkgs/by-name/in/intelli-shell/package.nix | 6 +++--- pkgs/by-name/in/intermodal/package.nix | 8 ++++---- pkgs/by-name/io/iocaine/package.nix | 8 ++++---- pkgs/by-name/ip/iperf3d/package.nix | 6 +++--- pkgs/by-name/ir/irust/package.nix | 6 +++--- pkgs/by-name/iv/ivyterm/package.nix | 8 ++++---- pkgs/by-name/iw/iwmenu/package.nix | 6 +++--- pkgs/by-name/iw/iwqr/package.nix | 6 +++--- pkgs/by-name/ja/jay/package.nix | 6 +++--- pkgs/by-name/je/jellyfin-rpc/package.nix | 8 ++++---- pkgs/by-name/je/jellyfin-tui/package.nix | 8 ++++---- pkgs/by-name/jf/jf/package.nix | 6 +++--- pkgs/by-name/ji/jikken/package.nix | 8 ++++---- pkgs/by-name/ji/jinja-lsp/package.nix | 6 +++--- pkgs/by-name/jl/jless/package.nix | 8 ++++---- pkgs/by-name/jo/joshuto/package.nix | 8 ++++---- pkgs/by-name/jo/jot/package.nix | 6 +++--- pkgs/by-name/jo/jotdown/package.nix | 8 ++++---- pkgs/by-name/jr/jrsonnet/package.nix | 6 +++--- pkgs/by-name/js/jsonwatch/package.nix | 8 ++++---- pkgs/by-name/jw/jwt-cli/package.nix | 8 ++++---- pkgs/by-name/jw/jwt-hack/package.nix | 8 ++++---- .../ka/kak-tree-sitter-unwrapped/package.nix | 6 +++--- pkgs/by-name/ka/kakoune-lsp/package.nix | 6 +++--- pkgs/by-name/ka/kalker/package.nix | 8 ++++---- pkgs/by-name/ka/kamp/package.nix | 6 +++--- pkgs/by-name/ka/kanha/package.nix | 6 +++--- pkgs/by-name/ka/kaput-cli/package.nix | 8 ++++---- pkgs/by-name/ka/karlender/package.nix | 6 +++--- pkgs/by-name/kb/kbs2/package.nix | 8 ++++---- pkgs/by-name/kb/kbt/package.nix | 6 +++--- pkgs/by-name/kc/kcl-language-server/package.nix | 10 +++++----- pkgs/by-name/kc/kclvm_cli/package.nix | 8 ++++---- pkgs/by-name/kd/kdash/package.nix | 6 +++--- pkgs/by-name/kd/kdotool/package.nix | 6 +++--- pkgs/by-name/ke/keedump/package.nix | 8 ++++---- pkgs/by-name/ke/kestrel/package.nix | 6 +++--- pkgs/by-name/ke/keyscope/package.nix | 10 +++++----- pkgs/by-name/ki/kitty-img/package.nix | 8 ++++---- pkgs/by-name/ki/kittycad-kcl-lsp/package.nix | 8 ++++---- pkgs/by-name/kl/klipper-estimator/package.nix | 10 +++++----- pkgs/by-name/kl/klog-rs/package.nix | 8 ++++---- pkgs/by-name/km/kmon/package.nix | 8 ++++---- pkgs/by-name/ko/komodo/package.nix | 8 ++++---- pkgs/by-name/ko/kondo/package.nix | 6 +++--- pkgs/by-name/ko/kontroll/package.nix | 6 +++--- pkgs/by-name/ko/kord/package.nix | 6 +++--- pkgs/by-name/kr/krankerl/package.nix | 6 +++--- pkgs/by-name/kr/krapslog/package.nix | 6 +++--- pkgs/by-name/kr/krill/package.nix | 8 ++++---- pkgs/by-name/kt/kty/package.nix | 8 ++++---- pkgs/by-name/ku/kubetui/package.nix | 8 ++++---- pkgs/by-name/ku/kubie/package.nix | 6 +++--- pkgs/by-name/kx/kx-aspe-cli/package.nix | 6 +++--- pkgs/by-name/la/lalrpop/package.nix | 8 ++++---- pkgs/by-name/la/languagetool-rust/package.nix | 6 +++--- pkgs/by-name/la/lapce/package.nix | 10 +++++----- pkgs/by-name/la/laurel/package.nix | 8 ++++---- pkgs/by-name/la/lazycli/package.nix | 6 +++--- pkgs/by-name/la/lazymc/package.nix | 6 +++--- pkgs/by-name/ld/ldproxy/package.nix | 8 ++++---- pkgs/by-name/le/leaf/package.nix | 6 +++--- pkgs/by-name/le/leftwm/package.nix | 8 ++++---- pkgs/by-name/le/legba/package.nix | 8 ++++---- pkgs/by-name/le/lemmy-help/package.nix | 8 ++++---- pkgs/by-name/le/lemurs/package.nix | 6 +++--- pkgs/by-name/le/leptosfmt/package.nix | 8 ++++---- pkgs/by-name/le/lethe/package.nix | 6 +++--- pkgs/by-name/li/lianad/package.nix | 6 +++--- pkgs/by-name/li/libdovi/package.nix | 6 +++--- pkgs/by-name/li/libetebase/package.nix | 6 +++--- pkgs/by-name/li/libimagequant/package.nix | 6 +++--- pkgs/by-name/li/librespeed-rust/package.nix | 6 +++--- pkgs/by-name/li/libsignal-ffi/package.nix | 6 +++--- pkgs/by-name/li/license-cli/package.nix | 6 +++--- pkgs/by-name/li/licensure/package.nix | 6 +++--- pkgs/by-name/li/lighthouse-steamvr/package.nix | 6 +++--- pkgs/by-name/li/listenbrainz-mpd/package.nix | 8 ++++---- pkgs/by-name/li/little_boxes/package.nix | 6 +++--- pkgs/by-name/ll/lls/package.nix | 6 +++--- pkgs/by-name/lo/lobtui/package.nix | 6 +++--- pkgs/by-name/lo/lockbook-desktop/package.nix | 8 ++++---- pkgs/by-name/lo/lockbook/package.nix | 6 +++--- pkgs/by-name/lo/lon/package.nix | 8 ++++---- pkgs/by-name/lo/lowfi/package.nix | 6 +++--- pkgs/by-name/ls/lsd/package.nix | 6 +++--- pkgs/by-name/ls/lsfg-vk-ui/package.nix | 8 ++++---- pkgs/by-name/ls/lsp-ai/package.nix | 8 ++++---- pkgs/by-name/lu/lucida-downloader/package.nix | 6 +++--- pkgs/by-name/lu/ludtwig/package.nix | 6 +++--- pkgs/by-name/lu/luminous-ttv/package.nix | 8 ++++---- pkgs/by-name/lu/lutgen-studio/package.nix | 6 +++--- pkgs/by-name/lu/lutgen/package.nix | 6 +++--- pkgs/by-name/ly/lychee/package.nix | 8 ++++---- pkgs/by-name/ma/maa-cli/package.nix | 6 +++--- pkgs/by-name/ma/macchina/package.nix | 8 ++++---- pkgs/by-name/ma/magic-wormhole-rs/package.nix | 8 ++++---- pkgs/by-name/ma/maker-panel/package.nix | 6 +++--- pkgs/by-name/ma/makima/package.nix | 6 +++--- pkgs/by-name/ma/managarr/package.nix | 6 +++--- pkgs/by-name/ma/manix/package.nix | 6 +++--- .../ma/markdown2html-converter/package.nix | 8 ++++---- pkgs/by-name/ma/matrix-commander-rs/package.nix | 8 ++++---- pkgs/by-name/ma/matugen/package.nix | 8 ++++---- pkgs/by-name/mc/mcfly-fzf/package.nix | 6 +++--- pkgs/by-name/mc/mcfly/package.nix | 8 ++++---- pkgs/by-name/mc/mchprs/package.nix | 6 +++--- pkgs/by-name/mc/mcumgr-client/package.nix | 6 +++--- pkgs/by-name/md/mdbook-admonish/package.nix | 6 +++--- pkgs/by-name/md/mdbook-d2/package.nix | 8 ++++---- pkgs/by-name/md/mdbook-emojicodes/package.nix | 8 ++++---- pkgs/by-name/md/mdbook-epub/package.nix | 6 +++--- pkgs/by-name/md/mdbook-footnote/package.nix | 6 +++--- pkgs/by-name/md/mdbook-graphviz/package.nix | 6 +++--- pkgs/by-name/md/mdbook-i18n-helpers/package.nix | 8 ++++---- .../md/mdbook-kroki-preprocessor/package.nix | 6 +++--- pkgs/by-name/md/mdbook-linkcheck/package.nix | 6 +++--- pkgs/by-name/md/mdbook-mermaid/package.nix | 8 ++++---- pkgs/by-name/md/mdbook-open-on-gh/package.nix | 6 +++--- pkgs/by-name/md/mdbook-pagetoc/package.nix | 6 +++--- pkgs/by-name/md/mdbook-toc/package.nix | 6 +++--- pkgs/by-name/md/mdbook-variables/package.nix | 6 +++--- pkgs/by-name/md/mdsh/package.nix | 6 +++--- pkgs/by-name/me/measureme/package.nix | 6 +++--- pkgs/by-name/me/mekuteriya/package.nix | 6 +++--- pkgs/by-name/me/melody/package.nix | 6 +++--- pkgs/by-name/me/meme-bingo-web/package.nix | 6 +++--- pkgs/by-name/me/memtest_vulkan/package.nix | 6 +++--- pkgs/by-name/me/menyoki/package.nix | 8 ++++---- pkgs/by-name/mh/mhost/package.nix | 6 +++--- pkgs/by-name/mi/microbin/package.nix | 8 ++++---- pkgs/by-name/mi/microfetch/package.nix | 6 +++--- pkgs/by-name/mi/microserver/package.nix | 6 +++--- pkgs/by-name/mi/millet/package.nix | 8 ++++---- pkgs/by-name/mi/minesweep-rs/package.nix | 6 +++--- pkgs/by-name/mi/mini-calc/package.nix | 10 +++++----- pkgs/by-name/mi/minidsp/package.nix | 6 +++--- pkgs/by-name/mi/minijinja/package.nix | 8 ++++---- pkgs/by-name/mi/mise/package.nix | 8 ++++---- pkgs/by-name/mi/mitm-cache/package.nix | 6 +++--- pkgs/by-name/mi/mitra/package.nix | 6 +++--- pkgs/by-name/mi/mixxc/package.nix | 6 +++--- pkgs/by-name/mm/mmtc/package.nix | 8 ++++---- pkgs/by-name/mm/mmtui/package.nix | 8 ++++---- pkgs/by-name/mo/mollysocket/package.nix | 8 ++++---- pkgs/by-name/mo/monolith/package.nix | 6 +++--- pkgs/by-name/mo/moproxy/package.nix | 6 +++--- pkgs/by-name/mo/morsel/package.nix | 6 +++--- pkgs/by-name/mo/motoc/package.nix | 6 +++--- pkgs/by-name/mo/mountpoint-s3/package.nix | 6 +++--- pkgs/by-name/mo/mouse-actions/package.nix | 6 +++--- pkgs/by-name/mo/moxide/package.nix | 6 +++--- pkgs/by-name/mo/moxnotify/package.nix | 6 +++--- pkgs/by-name/mo/mozwire/package.nix | 6 +++--- pkgs/by-name/mp/mpd-discord-rpc/package.nix | 8 ++++---- pkgs/by-name/mp/mpris-notifier/package.nix | 6 +++--- pkgs/by-name/mp/mpv-handler/package.nix | 6 +++--- pkgs/by-name/mp/mpv-subs-popout/package.nix | 6 +++--- pkgs/by-name/mq/mqttui/package.nix | 8 ++++---- pkgs/by-name/mu/mujmap/package.nix | 6 +++--- pkgs/by-name/mu/mus/package.nix | 6 +++--- pkgs/by-name/my/mycelium/package.nix | 10 +++++----- pkgs/by-name/my/myxer/package.nix | 6 +++--- pkgs/by-name/na/namaka/package.nix | 8 ++++---- pkgs/by-name/na/narrowlink/package.nix | 6 +++--- pkgs/by-name/na/natls/package.nix | 6 +++--- pkgs/by-name/na/navi/package.nix | 6 +++--- pkgs/by-name/nb/nbtscanner/package.nix | 10 +++++----- pkgs/by-name/nd/ndstrim/package.nix | 8 ++++---- pkgs/by-name/ne/neocmakelsp/package.nix | 6 +++--- pkgs/by-name/ne/nerdfix/package.nix | 8 ++++---- pkgs/by-name/ne/netavark/package.nix | 8 ++++---- pkgs/by-name/ne/netbox2netshot/package.nix | 6 +++--- pkgs/by-name/ne/netop/package.nix | 8 ++++---- pkgs/by-name/ne/neverest/package.nix | 10 +++++----- pkgs/by-name/ng/ngrrram/package.nix | 6 +++--- pkgs/by-name/ni/nil/package.nix | 10 +++++----- pkgs/by-name/ni/nirius/package.nix | 6 +++--- pkgs/by-name/ni/nitrotpm-tools/package.nix | 6 +++--- pkgs/by-name/ni/nix-btm/package.nix | 6 +++--- pkgs/by-name/ni/nix-doc/package.nix | 6 +++--- pkgs/by-name/ni/nix-du/package.nix | 8 ++++---- pkgs/by-name/ni/nix-forecast/package.nix | 8 ++++---- pkgs/by-name/ni/nix-health/package.nix | 6 +++--- pkgs/by-name/ni/nix-index-unwrapped/package.nix | 8 ++++---- pkgs/by-name/ni/nix-janitor/package.nix | 8 ++++---- pkgs/by-name/ni/nix-ld/package.nix | 6 +++--- pkgs/by-name/ni/nix-melt/package.nix | 8 ++++---- .../by-name/ni/nix-query-tree-viewer/package.nix | 6 +++--- .../nix-store-veritysetup-generator/package.nix | 8 ++++---- pkgs/by-name/ni/nix-weather/package.nix | 8 ++++---- pkgs/by-name/ni/nix-web/package.nix | 6 +++--- pkgs/by-name/ni/nix-your-shell/package.nix | 8 ++++---- pkgs/by-name/ni/nixci/package.nix | 6 +++--- pkgs/by-name/ni/nixel/package.nix | 6 +++--- pkgs/by-name/ni/nixpacks/package.nix | 6 +++--- pkgs/by-name/ni/nixpkgs-fmt/package.nix | 6 +++--- .../ni/nixpkgs-lint-community/package.nix | 8 ++++---- .../ni/nixseparatedebuginfod2/package.nix | 6 +++--- pkgs/by-name/ni/nixtract/package.nix | 6 +++--- pkgs/by-name/nm/nm-file-secret-agent/package.nix | 6 +++--- pkgs/by-name/no/noaa-apt/package.nix | 8 ++++---- pkgs/by-name/no/nomino/package.nix | 8 ++++---- pkgs/by-name/no/noseyparker/package.nix | 10 +++++----- pkgs/by-name/no/nostr-rs-relay/package.nix | 8 ++++---- pkgs/by-name/no/nostui/package.nix | 6 +++--- pkgs/by-name/no/notmuch-mailmover/package.nix | 6 +++--- pkgs/by-name/no/novops/package.nix | 6 +++--- pkgs/by-name/np/npins/package.nix | 6 +++--- pkgs/by-name/np/nps/package.nix | 8 ++++---- pkgs/by-name/nr/nrr/package.nix | 6 +++--- pkgs/by-name/ns/nsh/package.nix | 8 ++++---- pkgs/by-name/nt/ntpd-rs/package.nix | 10 +++++----- pkgs/by-name/nu/numbat/package.nix | 8 ++++---- pkgs/by-name/nu/nurl/package.nix | 8 ++++---- pkgs/by-name/nv/nvidia_oc/package.nix | 8 ++++---- pkgs/by-name/nv/nvmetcfg/package.nix | 6 +++--- pkgs/by-name/ob/obsidian-export/package.nix | 8 ++++---- pkgs/by-name/oc/octofetch/package.nix | 6 +++--- pkgs/by-name/ok/okapi/package.nix | 6 +++--- pkgs/by-name/ok/okolors/package.nix | 6 +++--- pkgs/by-name/om/omekasy/package.nix | 6 +++--- pkgs/by-name/on/onefetch/package.nix | 8 ++++---- pkgs/by-name/on/onetun/package.nix | 6 +++--- pkgs/by-name/oo/oo7/package.nix | 8 ++++---- pkgs/by-name/op/open-scq30/package.nix | 8 ++++---- pkgs/by-name/op/openapi-tui/package.nix | 6 +++--- pkgs/by-name/op/openpgp-ca/package.nix | 6 +++--- pkgs/by-name/op/openpgp-card-tools/package.nix | 6 +++--- pkgs/by-name/or/oranda/package.nix | 8 ++++---- pkgs/by-name/or/ord/package.nix | 8 ++++---- pkgs/by-name/os/oscavmgr/package.nix | 8 ++++---- pkgs/by-name/ot/otadump/package.nix | 6 +++--- pkgs/by-name/ot/otree/package.nix | 8 ++++---- pkgs/by-name/ou/ouch/package.nix | 8 ++++---- pkgs/by-name/ow/owmods-cli/package.nix | 12 ++++++------ pkgs/by-name/ow/owmods-gui/package.nix | 16 ++++++++-------- pkgs/by-name/ox/ox/package.nix | 10 +++++----- pkgs/by-name/ox/oxide-rs/package.nix | 6 +++--- pkgs/by-name/ox/oxipng/package.nix | 6 +++--- .../pa/package-version-server/package.nix | 8 ++++---- pkgs/by-name/pa/packetry/package.nix | 6 +++--- pkgs/by-name/pa/page/package.nix | 6 +++--- pkgs/by-name/pa/pam_rssh/package.nix | 6 +++--- pkgs/by-name/pa/pandoc-katex/package.nix | 6 +++--- pkgs/by-name/pa/paper-age/package.nix | 8 ++++---- pkgs/by-name/pa/parallel-disk-usage/package.nix | 6 +++--- pkgs/by-name/pa/parinfer-rust-emacs/package.nix | 6 +++--- pkgs/by-name/pa/parseable/package.nix | 10 +++++----- pkgs/by-name/pa/paru/package.nix | 8 ++++---- pkgs/by-name/pa/passepartui/package.nix | 8 ++++---- pkgs/by-name/pa/passerine/package.nix | 6 +++--- pkgs/by-name/pa/pastel/package.nix | 8 ++++---- pkgs/by-name/pa/patsh/package.nix | 8 ++++---- pkgs/by-name/pa/pazi/package.nix | 6 +++--- pkgs/by-name/pb/pbpctrl/package.nix | 6 +++--- pkgs/by-name/pd/pdfrip/package.nix | 8 ++++---- pkgs/by-name/pe/peep/package.nix | 8 ++++---- pkgs/by-name/pe/pest-ide-tools/package.nix | 6 +++--- pkgs/by-name/pf/pfetch-rs/package.nix | 8 ++++---- pkgs/by-name/pg/pgcat/package.nix | 6 +++--- pkgs/by-name/ph/phetch/package.nix | 8 ++++---- pkgs/by-name/ph/phraze/package.nix | 8 ++++---- pkgs/by-name/pi/piano-rs/package.nix | 6 +++--- pkgs/by-name/pi/pict-rs/package.nix | 6 +++--- pkgs/by-name/pi/pid1/package.nix | 6 +++--- pkgs/by-name/pi/pik/package.nix | 6 +++--- pkgs/by-name/pi/pinyin-tool/package.nix | 6 +++--- pkgs/by-name/pi/pipes-rs/package.nix | 8 ++++---- pkgs/by-name/pi/piping-server-rust/package.nix | 8 ++++---- pkgs/by-name/pi/pipr/package.nix | 6 +++--- pkgs/by-name/pi/pizarra/package.nix | 6 +++--- pkgs/by-name/pk/pkarr/package.nix | 6 +++--- pkgs/by-name/pl/planus/package.nix | 8 ++++---- pkgs/by-name/pl/please/package.nix | 8 ++++---- pkgs/by-name/pl/pls/package.nix | 8 ++++---- pkgs/by-name/pn/pngquant/package.nix | 8 ++++---- .../by-name/pn/pnpm-shell-completion/package.nix | 6 +++--- pkgs/by-name/po/podlet/package.nix | 8 ++++---- pkgs/by-name/po/pokeget-rs/package.nix | 6 +++--- pkgs/by-name/po/polarity/package.nix | 6 +++--- pkgs/by-name/po/polkadot/package.nix | 6 +++--- pkgs/by-name/po/polylux2pdfpc/package.nix | 8 ++++---- pkgs/by-name/po/pomsky/package.nix | 8 ++++---- pkgs/by-name/po/porsmo/package.nix | 6 +++--- pkgs/by-name/po/pouf/package.nix | 8 ++++---- pkgs/by-name/po/powerstation/package.nix | 8 ++++---- pkgs/by-name/pq/pqrs/package.nix | 6 +++--- pkgs/by-name/pr/pr-tracker/package.nix | 8 ++++---- pkgs/by-name/pr/prettypst/package.nix | 6 +++--- pkgs/by-name/pr/procs/package.nix | 8 ++++---- pkgs/by-name/pr/projectable/package.nix | 8 ++++---- pkgs/by-name/pr/proto/package.nix | 8 ++++---- pkgs/by-name/pr/protoc-gen-rust-grpc/package.nix | 6 +++--- pkgs/by-name/pr/protols/package.nix | 8 ++++---- pkgs/by-name/pr/proximity-sort/package.nix | 6 +++--- pkgs/by-name/pr/prqlc/package.nix | 8 ++++---- pkgs/by-name/pr/prr/package.nix | 6 +++--- pkgs/by-name/ps/psw/package.nix | 6 +++--- pkgs/by-name/pt/ptags/package.nix | 6 +++--- pkgs/by-name/pu/pueue/package.nix | 8 ++++---- pkgs/by-name/pw/pw-viz/package.nix | 6 +++--- pkgs/by-name/pw/pw-volume/package.nix | 8 ++++---- pkgs/by-name/pw/pwalarmctl/package.nix | 6 +++--- pkgs/by-name/pw/pwalarmd/package.nix | 6 +++--- pkgs/by-name/pw/pwmenu/package.nix | 6 +++--- pkgs/by-name/pw/pwninit/package.nix | 6 +++--- pkgs/by-name/py/py-spy/package.nix | 8 ++++---- pkgs/by-name/py/pylyzer/package.nix | 8 ++++---- pkgs/by-name/py/python-launcher/package.nix | 8 ++++---- pkgs/by-name/qi/qir-runner/package.nix | 6 +++--- pkgs/by-name/qm/qmk_hid/package.nix | 6 +++--- pkgs/by-name/qr/qrrs/package.nix | 6 +++--- pkgs/by-name/qw/qwertone/package.nix | 6 +++--- pkgs/by-name/r0/r0vm/package.nix | 8 ++++---- pkgs/by-name/ra/rabbitmqadmin-ng/package.nix | 6 +++--- pkgs/by-name/ra/radio-cli/package.nix | 8 ++++---- pkgs/by-name/ra/rage/package.nix | 8 ++++---- pkgs/by-name/ra/rails-new/package.nix | 6 +++--- pkgs/by-name/ra/railway/package.nix | 8 ++++---- pkgs/by-name/ra/rana/package.nix | 6 +++--- pkgs/by-name/ra/rates/package.nix | 8 ++++---- pkgs/by-name/ra/rathole/package.nix | 6 +++--- pkgs/by-name/rb/rbw/package.nix | 8 ++++---- pkgs/by-name/rc/rcodesign/package.nix | 8 ++++---- pkgs/by-name/rc/rcp/package.nix | 8 ++++---- pkgs/by-name/rd/rdedup/package.nix | 6 +++--- pkgs/by-name/re/realm/package.nix | 6 +++--- pkgs/by-name/re/reason-shell/package.nix | 8 ++++---- pkgs/by-name/re/reddsaver/package.nix | 6 +++--- pkgs/by-name/re/refinery-cli/package.nix | 8 ++++---- pkgs/by-name/re/reindeer/package.nix | 6 +++--- pkgs/by-name/re/remodel/package.nix | 10 +++++----- pkgs/by-name/re/repak/package.nix | 8 ++++---- pkgs/by-name/re/replibyte/package.nix | 6 +++--- pkgs/by-name/re/rescrobbled/package.nix | 6 +++--- pkgs/by-name/re/restic-integrity/package.nix | 6 +++--- pkgs/by-name/re/restls/package.nix | 8 ++++---- pkgs/by-name/re/resvg/package.nix | 8 ++++---- pkgs/by-name/re/reth/package.nix | 6 +++--- pkgs/by-name/re/revpfw3/package.nix | 6 +++--- pkgs/by-name/re/rewatch/package.nix | 8 ++++---- pkgs/by-name/re/rewrk/package.nix | 8 ++++---- pkgs/by-name/rh/rhack/package.nix | 6 +++--- pkgs/by-name/rh/rhai-doc/package.nix | 8 ++++---- pkgs/by-name/ri/riff/package.nix | 8 ++++---- pkgs/by-name/ri/riffdiff/package.nix | 8 ++++---- pkgs/by-name/ri/rime-ls/package.nix | 6 +++--- pkgs/by-name/ri/rink/package.nix | 6 +++--- pkgs/by-name/ri/rip2/package.nix | 6 +++--- pkgs/by-name/ri/ripdrag/package.nix | 8 ++++---- pkgs/by-name/ri/ripgrep-all/package.nix | 8 ++++---- pkgs/by-name/ri/ripgrep/package.nix | 8 ++++---- pkgs/by-name/ri/rippkgs/package.nix | 6 +++--- pkgs/by-name/ri/ripsecrets/package.nix | 8 ++++---- pkgs/by-name/ri/ripunzip/package.nix | 6 +++--- pkgs/by-name/ri/river-bsp-layout/package.nix | 6 +++--- pkgs/by-name/ri/river-filtile/package.nix | 6 +++--- pkgs/by-name/ri/river-luatile/package.nix | 6 +++--- pkgs/by-name/rk/rkvm/package.nix | 8 ++++---- pkgs/by-name/rl/rlaunch/package.nix | 6 +++--- pkgs/by-name/rl/rlci/package.nix | 8 ++++---- pkgs/by-name/rm/rm-improved/package.nix | 6 +++--- pkgs/by-name/rm/rmenu/package.nix | 8 ++++---- pkgs/by-name/rm/rmpc/package.nix | 10 +++++----- pkgs/by-name/rn/rnr/package.nix | 8 ++++---- pkgs/by-name/ro/rogcat/package.nix | 8 ++++---- pkgs/by-name/ro/roogle/package.nix | 6 +++--- pkgs/by-name/ro/roon-tui/package.nix | 6 +++--- pkgs/by-name/ro/rops/package.nix | 8 ++++---- pkgs/by-name/ro/rot8/package.nix | 6 +++--- pkgs/by-name/ro/routinator/package.nix | 8 ++++---- pkgs/by-name/rp/rpg-cli/package.nix | 6 +++--- pkgs/by-name/rs/rs-git-fsmonitor/package.nix | 6 +++--- pkgs/by-name/rs/rsass/package.nix | 8 ++++---- pkgs/by-name/rs/rsclock/package.nix | 6 +++--- pkgs/by-name/rs/rshijack/package.nix | 6 +++--- pkgs/by-name/rs/rslint/package.nix | 6 +++--- pkgs/by-name/rs/rsop/package.nix | 6 +++--- pkgs/by-name/rt/rtrtr/package.nix | 8 ++++---- pkgs/by-name/rt/rtss/package.nix | 6 +++--- pkgs/by-name/rt/rtz/package.nix | 8 ++++---- pkgs/by-name/ru/rucola/package.nix | 8 ++++---- pkgs/by-name/ru/rucredstash/package.nix | 6 +++--- pkgs/by-name/ru/ruplacer/package.nix | 6 +++--- .../ru/rust-analyzer-unwrapped/package.nix | 8 ++++---- pkgs/by-name/ru/rust-cbindgen/package.nix | 8 ++++---- pkgs/by-name/ru/rust-code-analysis/package.nix | 6 +++--- pkgs/by-name/ru/rust-motd/package.nix | 8 ++++---- pkgs/by-name/ru/rust-parallel/package.nix | 6 +++--- pkgs/by-name/ru/rust-script/package.nix | 8 ++++---- pkgs/by-name/ru/rust-streamdeck/package.nix | 8 ++++---- .../ru/rust-synapse-compress-state/package.nix | 6 +++--- pkgs/by-name/ru/rust-traverse/package.nix | 8 ++++---- pkgs/by-name/ru/rustc-demangle/package.nix | 6 +++--- pkgs/by-name/ru/rustcat/package.nix | 8 ++++---- pkgs/by-name/ru/rustdesk-server/package.nix | 10 +++++----- pkgs/by-name/ru/rustdress/package.nix | 6 +++--- pkgs/by-name/ru/rusti-cal/package.nix | 6 +++--- pkgs/by-name/ru/rustic/package.nix | 8 ++++---- pkgs/by-name/ru/rustmission/package.nix | 8 ++++---- pkgs/by-name/ru/rustpython/package.nix | 6 +++--- pkgs/by-name/ru/rustscan/package.nix | 8 ++++---- pkgs/by-name/ru/rusty-diceware/package.nix | 8 ++++---- pkgs/by-name/ru/rustypaste-cli/package.nix | 8 ++++---- pkgs/by-name/ru/rustypaste/package.nix | 8 ++++---- pkgs/by-name/ru/rustywind/package.nix | 8 ++++---- pkgs/by-name/rw/rwalk/package.nix | 8 ++++---- pkgs/by-name/rw/rwedid/package.nix | 6 +++--- pkgs/by-name/rw/rwpspread/package.nix | 6 +++--- pkgs/by-name/rx/rx/package.nix | 6 +++--- pkgs/by-name/ry/rye/package.nix | 8 ++++---- pkgs/by-name/s3/s3rs/package.nix | 6 +++--- pkgs/by-name/sa/sad/package.nix | 8 ++++---- pkgs/by-name/sa/safecloset/package.nix | 8 ++++---- pkgs/by-name/sa/sagoin/package.nix | 8 ++++---- pkgs/by-name/sa/sanctity/package.nix | 6 +++--- pkgs/by-name/sa/satty/package.nix | 6 +++--- pkgs/by-name/sc/scooter/package.nix | 8 ++++---- pkgs/by-name/sc/screenly-cli/package.nix | 8 ++++---- pkgs/by-name/sc/scriptisto/package.nix | 8 ++++---- pkgs/by-name/sc/scryer-prolog/package.nix | 6 +++--- pkgs/by-name/sd/sd/package.nix | 6 +++--- pkgs/by-name/se/see-cat/package.nix | 6 +++--- pkgs/by-name/se/seehecht/package.nix | 6 +++--- pkgs/by-name/se/sendme/package.nix | 6 +++--- pkgs/by-name/se/sequoia-sqv/package.nix | 6 +++--- pkgs/by-name/se/sequoia-wot/package.nix | 6 +++--- pkgs/by-name/se/serie/package.nix | 6 +++--- pkgs/by-name/sf/sfz/package.nix | 6 +++--- pkgs/by-name/sh/shadow-tls/package.nix | 6 +++--- pkgs/by-name/sh/shadowenv/package.nix | 6 +++--- pkgs/by-name/sh/shadowsocks-rust/package.nix | 8 ++++---- pkgs/by-name/sh/shavee/package.nix | 6 +++--- pkgs/by-name/sh/sheldon/package.nix | 6 +++--- pkgs/by-name/sh/shellclear/package.nix | 8 ++++---- pkgs/by-name/sh/shellharden/package.nix | 6 +++--- pkgs/by-name/sh/shikane/package.nix | 8 ++++---- pkgs/by-name/sh/shisho/package.nix | 8 ++++---- pkgs/by-name/sh/shotgun/package.nix | 6 +++--- pkgs/by-name/sh/shotman/package.nix | 6 +++--- pkgs/by-name/sh/shpool/package.nix | 6 +++--- .../sh/shticker-book-unwritten/unwrapped.nix | 6 +++--- pkgs/by-name/si/sic-image-cli/package.nix | 8 ++++---- pkgs/by-name/si/sig/package.nix | 6 +++--- pkgs/by-name/si/siketyan-ghr/package.nix | 6 +++--- pkgs/by-name/si/silicon/package.nix | 6 +++--- pkgs/by-name/si/simple-http-server/package.nix | 8 ++++---- pkgs/by-name/si/sirula/package.nix | 6 +++--- pkgs/by-name/si/sizelint/package.nix | 6 +++--- pkgs/by-name/sl/sleek/package.nix | 6 +++--- pkgs/by-name/sl/slingshot/package.nix | 8 ++++---- pkgs/by-name/sl/slippy/package.nix | 8 ++++---- pkgs/by-name/sl/slowlorust/package.nix | 10 +++++----- pkgs/by-name/sm/smag/package.nix | 8 ++++---- pkgs/by-name/sm/smartcat/package.nix | 8 ++++---- pkgs/by-name/sn/snazy/package.nix | 10 +++++----- pkgs/by-name/sn/sniffglue/package.nix | 6 +++--- pkgs/by-name/sn/snpguest/package.nix | 8 ++++---- pkgs/by-name/sn/snphost/package.nix | 8 ++++---- pkgs/by-name/sn/snx-rs/package.nix | 8 ++++---- pkgs/by-name/so/solo2-cli/package.nix | 6 +++--- pkgs/by-name/so/songrec/package.nix | 6 +++--- pkgs/by-name/so/sozu/package.nix | 10 +++++----- pkgs/by-name/sp/spacer/package.nix | 8 ++++---- pkgs/by-name/sp/speedtest-rs/package.nix | 8 ++++---- pkgs/by-name/sp/spl/package.nix | 6 +++--- pkgs/by-name/sp/spotify-player/package.nix | 8 ++++---- pkgs/by-name/sp/spytrap-adb/package.nix | 8 ++++---- pkgs/by-name/sq/sqld/package.nix | 6 +++--- pkgs/by-name/sq/sqlx-cli/package.nix | 6 +++--- pkgs/by-name/sq/sqruff/package.nix | 8 ++++---- pkgs/by-name/sq/squawk/package.nix | 8 ++++---- pkgs/by-name/sr/srgn/package.nix | 12 ++++++------ pkgs/by-name/sr/srisum/package.nix | 8 ++++---- pkgs/by-name/ss/ssh-agent-mux/package.nix | 6 +++--- pkgs/by-name/ss/sshs/package.nix | 6 +++--- pkgs/by-name/ss/sss-cli/package.nix | 6 +++--- pkgs/by-name/ss/sss_code/package.nix | 6 +++--- pkgs/by-name/st/stardust-xr-flatland/package.nix | 6 +++--- pkgs/by-name/st/stardust-xr-kiara/package.nix | 8 ++++---- pkgs/by-name/st/stardust-xr-phobetor/package.nix | 6 +++--- .../by-name/st/stardust-xr-protostar/package.nix | 6 +++--- pkgs/by-name/st/stardust-xr-server/package.nix | 6 +++--- .../st/stardust-xr-sphereland/package.nix | 6 +++--- pkgs/by-name/st/stargazer/package.nix | 8 ++++---- pkgs/by-name/st/starlark-rust/package.nix | 8 ++++---- pkgs/by-name/st/static-web-server/package.nix | 8 ++++---- pkgs/by-name/st/steam-acf/package.nix | 6 +++--- pkgs/by-name/st/steamguard-cli/package.nix | 8 ++++---- pkgs/by-name/st/stgit/package.nix | 6 +++--- pkgs/by-name/st/strace-analyzer/package.nix | 6 +++--- pkgs/by-name/st/stratovirt/package.nix | 6 +++--- pkgs/by-name/st/stu/package.nix | 8 ++++---- pkgs/by-name/su/sub-batch/package.nix | 6 +++--- pkgs/by-name/su/substudy/package.nix | 6 +++--- pkgs/by-name/su/subxt/package.nix | 6 +++--- pkgs/by-name/su/suckit/package.nix | 6 +++--- pkgs/by-name/su/supergfxctl/package.nix | 6 +++--- pkgs/by-name/sv/svg2pdf/package.nix | 8 ++++---- pkgs/by-name/sv/svgbob/package.nix | 8 ++++---- pkgs/by-name/sv/svix-server/package.nix | 10 +++++----- pkgs/by-name/sv/svls/package.nix | 6 +++--- pkgs/by-name/sw/sway-easyfocus/package.nix | 6 +++--- pkgs/by-name/sw/sway-new-workspace/package.nix | 6 +++--- pkgs/by-name/sw/sway-overfocus/package.nix | 8 ++++---- pkgs/by-name/sw/sway-scratch/package.nix | 6 +++--- pkgs/by-name/sw/swc/package.nix | 6 +++--- pkgs/by-name/sy/symbolicator/package.nix | 12 ++++++------ pkgs/by-name/sy/syncstorage-rs/package.nix | 6 +++--- pkgs/by-name/sy/system-syzygy/package.nix | 8 ++++---- pkgs/by-name/sy/system76-firmware/package.nix | 6 +++--- .../system76-keyboard-configurator/package.nix | 6 +++--- pkgs/by-name/sy/systemd-credsubst/package.nix | 6 +++--- pkgs/by-name/sy/systeroid/package.nix | 8 ++++---- pkgs/by-name/sz/szyszka/package.nix | 6 +++--- pkgs/by-name/ta/tab-rs/package.nix | 6 +++--- pkgs/by-name/ta/tabiew/package.nix | 8 ++++---- pkgs/by-name/ta/tagref/package.nix | 6 +++--- pkgs/by-name/ta/tangara-cli/package.nix | 6 +++--- pkgs/by-name/ta/tangara-companion/package.nix | 10 +++++----- pkgs/by-name/ta/tarmac/package.nix | 10 +++++----- pkgs/by-name/ta/tarssh/package.nix | 6 +++--- pkgs/by-name/ta/taschenrechner/package.nix | 6 +++--- pkgs/by-name/ta/task-keeper/package.nix | 6 +++--- .../ta/taskchampion-sync-server/package.nix | 6 +++--- pkgs/by-name/ta/tasks/package.nix | 8 ++++---- pkgs/by-name/ta/taskwarrior-tui/package.nix | 6 +++--- pkgs/by-name/te/tealdeer/package.nix | 8 ++++---- pkgs/by-name/te/tectonic-unwrapped/package.nix | 8 ++++---- pkgs/by-name/te/teehee/package.nix | 8 ++++---- pkgs/by-name/te/teip/package.nix | 8 ++++---- pkgs/by-name/te/tenki/package.nix | 6 +++--- pkgs/by-name/te/tera-cli/package.nix | 6 +++--- pkgs/by-name/te/termscp/package.nix | 8 ++++---- pkgs/by-name/te/termsnap/package.nix | 6 +++--- pkgs/by-name/te/termusic/package.nix | 6 +++--- pkgs/by-name/te/tex-fmt/package.nix | 8 ++++---- pkgs/by-name/te/texture-synthesis/package.nix | 6 +++--- pkgs/by-name/th/the-way/package.nix | 8 ++++---- pkgs/by-name/th/theattyr/package.nix | 8 ++++---- .../th/thin-provisioning-tools/package.nix | 6 +++--- pkgs/by-name/th/thokr/package.nix | 6 +++--- pkgs/by-name/th/thud/package.nix | 6 +++--- pkgs/by-name/th/thumbs/package.nix | 6 +++--- pkgs/by-name/ti/tickrs/package.nix | 8 ++++---- pkgs/by-name/ti/tiny-dfr/package.nix | 6 +++--- pkgs/by-name/ti/tiny/package.nix | 8 ++++---- pkgs/by-name/tl/tlafmt/package.nix | 6 +++--- pkgs/by-name/tl/tlrc/package.nix | 8 ++++---- pkgs/by-name/to/toast/package.nix | 6 +++--- pkgs/by-name/to/toastify/package.nix | 8 ++++---- pkgs/by-name/to/todo/package.nix | 6 +++--- pkgs/by-name/to/tokio-console/package.nix | 6 +++--- pkgs/by-name/to/tomat/package.nix | 8 ++++---- pkgs/by-name/to/tombl/package.nix | 8 ++++---- pkgs/by-name/to/toml-cli/package.nix | 6 +++--- pkgs/by-name/to/topgrade/package.nix | 8 ++++---- pkgs/by-name/to/tox-node/package.nix | 6 +++--- pkgs/by-name/tp/tp-auto-kbbl/package.nix | 6 +++--- pkgs/by-name/tp/tpi/package.nix | 6 +++--- pkgs/by-name/tp/tplay/package.nix | 6 +++--- pkgs/by-name/tr/tracexec/package.nix | 6 +++--- pkgs/by-name/tr/tray-tui/package.nix | 6 +++--- pkgs/by-name/tr/tre-command/package.nix | 6 +++--- pkgs/by-name/tr/trinsic-cli/package.nix | 6 +++--- pkgs/by-name/tr/trippy/package.nix | 8 ++++---- pkgs/by-name/tr/trunk-ng/package.nix | 6 +++--- pkgs/by-name/tr/trunk/package.nix | 6 +++--- pkgs/by-name/tt/ttdl/package.nix | 8 ++++---- pkgs/by-name/tt/ttyper/package.nix | 8 ++++---- pkgs/by-name/tt/ttysvr/package.nix | 8 ++++---- pkgs/by-name/tu/tuc/package.nix | 6 +++--- pkgs/by-name/tu/tuckr/package.nix | 8 ++++---- pkgs/by-name/tu/tuicam/package.nix | 8 ++++---- pkgs/by-name/tu/tuliprox/package.nix | 10 +++++----- pkgs/by-name/tu/turn-rs/package.nix | 8 ++++---- pkgs/by-name/tu/turtle-build/package.nix | 6 +++--- pkgs/by-name/tu/tuxmux/package.nix | 6 +++--- pkgs/by-name/tv/tv/package.nix | 8 ++++---- pkgs/by-name/tw/twitch-hls-client/package.nix | 6 +++--- pkgs/by-name/tw/twm/package.nix | 8 ++++---- pkgs/by-name/ty/tydra/package.nix | 6 +++--- pkgs/by-name/ty/typeshare/package.nix | 8 ++++---- pkgs/by-name/ty/typical/package.nix | 8 ++++---- pkgs/by-name/ty/typos-lsp/package.nix | 8 ++++---- pkgs/by-name/tz/tzupdate/package.nix | 6 +++--- pkgs/by-name/ua/uair/package.nix | 6 +++--- pkgs/by-name/ud/udict/package.nix | 6 +++--- pkgs/by-name/ud/udpt/package.nix | 6 +++--- pkgs/by-name/ue/uefi-run/package.nix | 6 +++--- pkgs/by-name/ue/uesave/package.nix | 8 ++++---- pkgs/by-name/un/unbook/package.nix | 6 +++--- pkgs/by-name/un/unimap/package.nix | 8 ++++---- pkgs/by-name/un/unused/package.nix | 6 +++--- pkgs/by-name/ur/urlencode/package.nix | 6 +++--- pkgs/by-name/us/userborn/package.nix | 10 +++++----- pkgs/by-name/uw/uwc/package.nix | 6 +++--- pkgs/by-name/uw/uwuify/package.nix | 6 +++--- pkgs/by-name/va/vaultwarden/package.nix | 10 +++++----- pkgs/by-name/ve/veilid/package.nix | 6 +++--- pkgs/by-name/ve/veryl/package.nix | 8 ++++---- pkgs/by-name/vh/vhdl-ls/package.nix | 6 +++--- pkgs/by-name/vi/viceroy/package.nix | 6 +++--- pkgs/by-name/vi/viddy/package.nix | 6 +++--- pkgs/by-name/vi/vimcats/package.nix | 6 +++--- pkgs/by-name/vi/vimv-rs/package.nix | 6 +++--- pkgs/by-name/vi/viu/package.nix | 6 +++--- pkgs/by-name/vi/vivid/package.nix | 6 +++--- pkgs/by-name/vo/volta/package.nix | 6 +++--- pkgs/by-name/vt/vtracer/package.nix | 8 ++++---- pkgs/by-name/wa/wagyu/package.nix | 6 +++--- pkgs/by-name/wa/wapm/package.nix | 6 +++--- pkgs/by-name/wa/wasm-language-tools/package.nix | 8 ++++---- pkgs/by-name/wa/wasm-pack/package.nix | 6 +++--- pkgs/by-name/wa/wasm-tools/package.nix | 6 +++--- pkgs/by-name/wa/wasmer-pack/package.nix | 8 ++++---- pkgs/by-name/wa/wasmer/package.nix | 6 +++--- pkgs/by-name/wa/wasmi/package.nix | 8 ++++---- pkgs/by-name/wa/wastebin/package.nix | 8 ++++---- pkgs/by-name/wa/watchlog/package.nix | 6 +++--- pkgs/by-name/wa/waycorner/package.nix | 8 ++++---- .../wa/wayland-pipewire-idle-inhibit/package.nix | 6 +++--- pkgs/by-name/wa/waylevel/package.nix | 6 +++--- pkgs/by-name/wa/waylyrics/package.nix | 6 +++--- pkgs/by-name/wa/wayout/package.nix | 6 +++--- pkgs/by-name/wa/wayshot/package.nix | 6 +++--- pkgs/by-name/wa/wayvr/package.nix | 6 +++--- pkgs/by-name/we/websocat/package.nix | 8 ++++---- pkgs/by-name/we/weggli/package.nix | 10 +++++----- pkgs/by-name/wg/wg-netmanager/package.nix | 6 +++--- pkgs/by-name/wg/wgpu-utils/package.nix | 6 +++--- pkgs/by-name/wh/whitebox-tools/package.nix | 6 +++--- pkgs/by-name/wi/wiki-tui/package.nix | 8 ++++---- pkgs/by-name/wi/wired/package.nix | 6 +++--- pkgs/by-name/wi/wit-bindgen/package.nix | 6 +++--- pkgs/by-name/wl/wl-clip-persist/package.nix | 6 +++--- pkgs/by-name/wl/wl-clipboard-rs/package.nix | 8 ++++---- pkgs/by-name/wl/wl-gammarelay-rs/package.nix | 6 +++--- pkgs/by-name/wl/wlr-which-key/package.nix | 6 +++--- pkgs/by-name/wl/wluma/package.nix | 8 ++++---- pkgs/by-name/wo/woomer/package.nix | 8 ++++---- pkgs/by-name/wo/worker-build/package.nix | 6 +++--- pkgs/by-name/wo/workshop-runner/package.nix | 6 +++--- pkgs/by-name/wr/writedisk/package.nix | 6 +++--- pkgs/by-name/wt/wthrr/package.nix | 8 ++++---- pkgs/by-name/x4/x4/package.nix | 8 ++++---- pkgs/by-name/xa/xan/package.nix | 6 +++--- pkgs/by-name/xc/xcolor/package.nix | 6 +++--- .../xd/xdg-terminal-exec-mkhl/package.nix | 6 +++--- pkgs/by-name/xi/xidlehook/package.nix | 6 +++--- pkgs/by-name/xi/xiu/package.nix | 8 ++++---- pkgs/by-name/xp/xplr/package.nix | 8 ++++---- pkgs/by-name/xr/xrizer/package.nix | 6 +++--- pkgs/by-name/xw/xwayland-satellite/package.nix | 8 ++++---- pkgs/by-name/ya/yambar-hyprland-wses/package.nix | 6 +++--- pkgs/by-name/ya/yaydl/package.nix | 6 +++--- pkgs/by-name/ye/yew-fmt/package.nix | 8 ++++---- pkgs/by-name/yg/yggdrasil-jumper/package.nix | 6 +++--- pkgs/by-name/yo/yofi/package.nix | 6 +++--- pkgs/by-name/yo/youki/package.nix | 8 ++++---- pkgs/by-name/yo/youtube-tui/package.nix | 6 +++--- pkgs/by-name/yt/ytermusic/package.nix | 8 ++++---- pkgs/by-name/ze/zenith/package.nix | 6 +++--- .../ze/zenoh-backend-filesystem/package.nix | 6 +++--- .../ze/zenoh-backend-influxdb/package.nix | 6 +++--- .../by-name/ze/zenoh-backend-rocksdb/package.nix | 6 +++--- pkgs/by-name/ze/zenoh-plugin-mqtt/package.nix | 6 +++--- .../ze/zenoh-plugin-webserver/package.nix | 6 +++--- pkgs/by-name/ze/zenoh/package.nix | 10 +++++----- pkgs/by-name/ze/zeronsd/package.nix | 6 +++--- pkgs/by-name/zk/zktree/package.nix | 6 +++--- pkgs/by-name/zo/zola/package.nix | 8 ++++---- pkgs/by-name/zo/zoxide/package.nix | 8 ++++---- .../zp/zpool-auto-expand-partitions/package.nix | 6 +++--- pkgs/by-name/zr/zram-generator/package.nix | 6 +++--- 1120 files changed, 3881 insertions(+), 3881 deletions(-) diff --git a/pkgs/by-name/aa/aaa/package.nix b/pkgs/by-name/aa/aaa/package.nix index d5c64c0b9953..6eba8543a067 100644 --- a/pkgs/by-name/aa/aaa/package.nix +++ b/pkgs/by-name/aa/aaa/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "aaa"; version = "1.1.1"; src = fetchFromGitHub { owner = "DomesticMoth"; repo = "aaa"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-gIOlPjZOcmVLi9oOn4gBv6F+3Eq6t5b/3fKzoFqxclw="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ asciimoth ]; mainProgram = "aaa"; }; -} +}) diff --git a/pkgs/by-name/aa/aarch64-esr-decoder/package.nix b/pkgs/by-name/aa/aarch64-esr-decoder/package.nix index e64a4e7adaa5..e19d6cda1acb 100644 --- a/pkgs/by-name/aa/aarch64-esr-decoder/package.nix +++ b/pkgs/by-name/aa/aarch64-esr-decoder/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "aarch64-esr-decoder"; version = "0.2.4"; src = fetchFromGitHub { owner = "google"; repo = "aarch64-esr-decoder"; - tag = version; + tag = finalAttrs.version; hash = "sha256-ZpSrz7iwwzNrK+bFTMn5MPx4Zjceao9NKhjAyjuPLWY="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Utility for decoding aarch64 ESR register values"; homepage = "https://github.com/google/aarch64-esr-decoder"; - changelog = "https://github.com/google/aarch64-esr-decoder/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/google/aarch64-esr-decoder/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ jmbaur ]; mainProgram = "aarch64-esr-decoder"; }; -} +}) diff --git a/pkgs/by-name/aa/aardvark-dns/package.nix b/pkgs/by-name/aa/aardvark-dns/package.nix index 7186ac3397b2..ec20b9d59186 100644 --- a/pkgs/by-name/aa/aardvark-dns/package.nix +++ b/pkgs/by-name/aa/aardvark-dns/package.nix @@ -5,14 +5,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "aardvark-dns"; version = "1.17.0"; src = fetchFromGitHub { owner = "containers"; repo = "aardvark-dns"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-NJ1ViJpN6fBO9U1RkCkqyr6JXiHa5zX1BQAGGqKWVYY="; }; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { passthru.tests = { inherit (nixosTests) podman; }; meta = { - changelog = "https://github.com/containers/aardvark-dns/releases/tag/${src.rev}"; + changelog = "https://github.com/containers/aardvark-dns/releases/tag/${finalAttrs.src.rev}"; description = "Authoritative dns server for A/AAAA container records"; homepage = "https://github.com/containers/aardvark-dns"; license = lib.licenses.asl20; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "aardvark-dns"; }; -} +}) diff --git a/pkgs/by-name/ab/ab-av1/package.nix b/pkgs/by-name/ab/ab-av1/package.nix index 255ddb95d1e1..b8ef7cf273b3 100644 --- a/pkgs/by-name/ab/ab-av1/package.nix +++ b/pkgs/by-name/ab/ab-av1/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ab-av1"; version = "0.10.4"; src = fetchFromGitHub { owner = "alexheretic"; repo = "ab-av1"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-EPQUm51H/yY0O1x6QAx1a+VeCgTYoJ19BAcEY52Oduo="; }; @@ -31,9 +31,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "AV1 re-encoding using ffmpeg, svt-av1 & vmaf"; homepage = "https://github.com/alexheretic/ab-av1"; - changelog = "https://github.com/alexheretic/ab-av1/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/alexheretic/ab-av1/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "ab-av1"; }; -} +}) diff --git a/pkgs/by-name/ad/ad/package.nix b/pkgs/by-name/ad/ad/package.nix index 1fcd81abc2ee..be2c814d1683 100644 --- a/pkgs/by-name/ad/ad/package.nix +++ b/pkgs/by-name/ad/ad/package.nix @@ -6,14 +6,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ad"; version = "0.3.1"; src = fetchFromGitHub { owner = "sminez"; repo = "ad"; - tag = version; + tag = finalAttrs.version; sha256 = "0rd4krklpnvaimzblqx2ckab6lk4apkmvnqr618gnx8i5f4nyl6m"; }; @@ -58,4 +58,4 @@ rustPlatform.buildRustPackage rec { # https://github.com/sminez/ad/issues/28 platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/ad/add-determinism/package.nix b/pkgs/by-name/ad/add-determinism/package.nix index f6ef8414d570..41225c09b594 100644 --- a/pkgs/by-name/ad/add-determinism/package.nix +++ b/pkgs/by-name/ad/add-determinism/package.nix @@ -7,14 +7,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "add-determinism"; version = "0.7.2"; src = fetchFromGitHub { owner = "keszybz"; repo = "add-determinism"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-wy0jle1Fhq4wpxMY1IeS3FGHOOaH0Bu8qhvmaIRAJyI="; }; @@ -52,4 +52,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.all; mainProgram = "add-det"; }; -} +}) diff --git a/pkgs/by-name/ad/adguardian/package.nix b/pkgs/by-name/ad/adguardian/package.nix index bcc15b3a28d4..49e017f14657 100644 --- a/pkgs/by-name/ad/adguardian/package.nix +++ b/pkgs/by-name/ad/adguardian/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "adguardian"; version = "1.6.0"; src = fetchFromGitHub { owner = "Lissy93"; repo = "AdGuardian-Term"; - tag = version; + tag = finalAttrs.version; hash = "sha256-WxrSmCwLnXXs5g/hN3xWE66P5n0RD/L9MJpf5N2iNtY="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; }; -} +}) diff --git a/pkgs/by-name/ad/adrs/package.nix b/pkgs/by-name/ad/adrs/package.nix index b6ae93427663..2b33c6434fcc 100644 --- a/pkgs/by-name/ad/adrs/package.nix +++ b/pkgs/by-name/ad/adrs/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "adrs"; version = "0.6.1"; src = fetchFromGitHub { owner = "joshrotenberg"; repo = "adrs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-PAvn1yIptyiVG96BNXHPgc5rYEHyCTo42hh88dwxrhA="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dannixon ]; mainProgram = "adrs"; }; -} +}) diff --git a/pkgs/by-name/ae/aerogramme/package.nix b/pkgs/by-name/ae/aerogramme/package.nix index c3699568f8fd..c1b952a2039c 100644 --- a/pkgs/by-name/ae/aerogramme/package.nix +++ b/pkgs/by-name/ae/aerogramme/package.nix @@ -7,13 +7,13 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "aerogramme"; version = "0.3.0"; src = fetchgit { url = "https://git.deuxfleurs.fr/Deuxfleurs/aerogramme/"; - tag = version; + tag = finalAttrs.version; hash = "sha256-ER+P/XGqNzTLwDLK5EBZq/Dl29ZZKl2FdxDb+oLEJ8Y="; }; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "aerogramme"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/af/afterburn/package.nix b/pkgs/by-name/af/afterburn/package.nix index ecd5755d72d1..debb6584c5c6 100644 --- a/pkgs/by-name/af/afterburn/package.nix +++ b/pkgs/by-name/af/afterburn/package.nix @@ -6,14 +6,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "afterburn"; version = "5.10.0"; src = fetchFromGitHub { owner = "coreos"; repo = "afterburn"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-APVbrR4V2Go7ba+1AFZKi0eBxRnT2bm+Fy2/KmvhsjE="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "afterburn"; }; -} +}) diff --git a/pkgs/by-name/ag/age-plugin-ledger/package.nix b/pkgs/by-name/ag/age-plugin-ledger/package.nix index 117028549f56..57a2f6178934 100644 --- a/pkgs/by-name/ag/age-plugin-ledger/package.nix +++ b/pkgs/by-name/ag/age-plugin-ledger/package.nix @@ -8,14 +8,14 @@ rage, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "age-plugin-ledger"; version = "0.1.2"; src = fetchFromGitHub { owner = "Ledger-Donjon"; repo = "age-plugin-ledger"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-g5GbWXhaGEafiM3qkGlRXHcOzPZl2pbDWEBPg4gQWcg="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = with lib.maintainers; [ erdnaxe ]; }; -} +}) diff --git a/pkgs/by-name/ag/age-plugin-yubikey/package.nix b/pkgs/by-name/ag/age-plugin-yubikey/package.nix index 213f613fe615..283b2256231b 100644 --- a/pkgs/by-name/ag/age-plugin-yubikey/package.nix +++ b/pkgs/by-name/ag/age-plugin-yubikey/package.nix @@ -8,7 +8,7 @@ pcsclite, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "age-plugin-yubikey"; version = "0.5.0-unstable-2024-11-02"; @@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec { description = "YubiKey plugin for age"; mainProgram = "age-plugin-yubikey"; homepage = "https://github.com/str4d/age-plugin-yubikey"; - changelog = "https://github.com/str4d/age-plugin-yubikey/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/str4d/age-plugin-yubikey/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ mit asl20 @@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec { adamcstephens ]; }; -} +}) diff --git a/pkgs/by-name/ag/agnos/package.nix b/pkgs/by-name/ag/agnos/package.nix index 5e1d06151e0c..e51833bdde9a 100644 --- a/pkgs/by-name/ag/agnos/package.nix +++ b/pkgs/by-name/ag/agnos/package.nix @@ -6,14 +6,14 @@ openssl, pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "agnos"; version = "0.1.1"; src = fetchFromGitHub { owner = "krtab"; repo = "agnos"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-wHzKHduxqG7PBsGK39lCRyzhf47mdjCXhn3W1pOXQO0="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { }; passthru.tests = nixosTests.agnos; -} +}) diff --git a/pkgs/by-name/ai/aichat/package.nix b/pkgs/by-name/ai/aichat/package.nix index 128474f18c23..e4ce35f98e60 100644 --- a/pkgs/by-name/ai/aichat/package.nix +++ b/pkgs/by-name/ai/aichat/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "aichat"; version = "0.30.0"; src = fetchFromGitHub { owner = "sigoden"; repo = "aichat"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-xgTGii1xGtCc1OLoC53HAtQ+KVZNO1plB2GVtVBBlqs="; }; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ mwdomino ]; mainProgram = "aichat"; }; -} +}) diff --git a/pkgs/by-name/ai/aiken/package.nix b/pkgs/by-name/ai/aiken/package.nix index fe648d5bfc8c..968e645ee630 100644 --- a/pkgs/by-name/ai/aiken/package.nix +++ b/pkgs/by-name/ai/aiken/package.nix @@ -6,14 +6,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "aiken"; version = "1.1.21"; src = fetchFromGitHub { owner = "aiken-lang"; repo = "aiken"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-8Oq6Bem4mREHXsBC0FwBnU2MVmTh8b7KtJ/KrPDMqLU="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ aciceri ]; mainProgram = "aiken"; }; -} +}) diff --git a/pkgs/by-name/ai/airgorah/package.nix b/pkgs/by-name/ai/airgorah/package.nix index 82b9c16d7646..77f28ec81e43 100644 --- a/pkgs/by-name/ai/airgorah/package.nix +++ b/pkgs/by-name/ai/airgorah/package.nix @@ -13,14 +13,14 @@ wrapGAppsHook4, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "airgorah"; version = "0.7.4"; src = fetchFromGitHub { owner = "martin-olivier"; repo = "airgorah"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-6TH+DRDtWajZjHNmFSKL4XJK+AuDNUbWKRPRryOpSGY="; }; @@ -65,10 +65,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "WiFi security auditing software mainly based on aircrack-ng tools suite"; homepage = "https://github.com/martin-olivier/airgorah"; - changelog = "https://github.com/martin-olivier/airgorah/releases/tag/v${version}"; + changelog = "https://github.com/martin-olivier/airgorah/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "airgorah"; maintainers = with lib.maintainers; [ bot-wxt1221 ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/al/alejandra/package.nix b/pkgs/by-name/al/alejandra/package.nix index 39e8a326200c..efe130d73978 100644 --- a/pkgs/by-name/al/alejandra/package.nix +++ b/pkgs/by-name/al/alejandra/package.nix @@ -6,14 +6,14 @@ alejandra, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "alejandra"; version = "4.0.0"; src = fetchFromGitHub { owner = "kamadorueda"; repo = "alejandra"; - tag = version; + tag = finalAttrs.version; hash = "sha256-Oi1n2ncF4/AWeY6X55o2FddIRICokbciqFYK64XorYk="; }; @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Uncompromising Nix Code Formatter"; homepage = "https://github.com/kamadorueda/alejandra"; - changelog = "https://github.com/kamadorueda/alejandra/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/kamadorueda/alejandra/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.unlicense; maintainers = with lib.maintainers; [ _0x4A6F @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "alejandra"; }; -} +}) diff --git a/pkgs/by-name/al/alfis/package.nix b/pkgs/by-name/al/alfis/package.nix index 75de069fe85e..f843d80873ea 100644 --- a/pkgs/by-name/al/alfis/package.nix +++ b/pkgs/by-name/al/alfis/package.nix @@ -10,14 +10,14 @@ withGui ? true, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "alfis"; version = "0.8.8"; src = fetchFromGitHub { owner = "Revertron"; repo = "Alfis"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-gRk4kvIV+5cCUFaJvGbTAR44678Twa28iMGZ75lJz2c="; }; @@ -47,10 +47,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Alternative Free Identity System"; homepage = "https://alfis.name"; - changelog = "https://github.com/Revertron/Alfis/releases/tag/v${version}"; + changelog = "https://github.com/Revertron/Alfis/releases/tag/v${finalAttrs.version}"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ misuzu ]; platforms = lib.platforms.unix; mainProgram = "alfis"; }; -} +}) diff --git a/pkgs/by-name/al/alioth/package.nix b/pkgs/by-name/al/alioth/package.nix index bec8209b033e..ba8f12cc16f0 100644 --- a/pkgs/by-name/al/alioth/package.nix +++ b/pkgs/by-name/al/alioth/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "alioth"; version = "0.11.0"; src = fetchFromGitHub { owner = "google"; repo = "alioth"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-VkyR9NOxv5PVuW172Sw2ign6sApDnKTnH2BBlVl6GFk="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { "x86_64-linux" ]; }; -} +}) diff --git a/pkgs/by-name/al/alvr/package.nix b/pkgs/by-name/al/alvr/package.nix index e575afc2406c..c564fe2f7e34 100644 --- a/pkgs/by-name/al/alvr/package.nix +++ b/pkgs/by-name/al/alvr/package.nix @@ -40,14 +40,14 @@ x264, xvidcore, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "alvr"; version = "20.14.1"; src = fetchFromGitHub { owner = "alvr-org"; repo = "ALVR"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; fetchSubmodules = true; # TODO devendor openvr hash = "sha256-9fckUhUPAbcmbqOdUO8RlwuK8/nf1fc7XQBrAu5YaR4="; }; @@ -142,8 +142,8 @@ rustPlatform.buildRustPackage rec { ''; postInstall = '' - install -Dm755 ${src}/alvr/xtask/resources/alvr.desktop $out/share/applications/alvr.desktop - install -Dm644 ${src}/resources/ALVR-Icon.svg $out/share/icons/hicolor/scalable/apps/alvr.svg + install -Dm755 ${finalAttrs.src}/alvr/xtask/resources/alvr.desktop $out/share/applications/alvr.desktop + install -Dm644 ${finalAttrs.src}/resources/ALVR-Icon.svg $out/share/icons/hicolor/scalable/apps/alvr.svg # Install SteamVR driver mkdir -p $out/{libexec,lib/alvr,share} @@ -158,7 +158,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Stream VR games from your PC to your headset via Wi-Fi"; homepage = "https://github.com/alvr-org/ALVR/"; - changelog = "https://github.com/alvr-org/ALVR/releases/tag/v${version}"; + changelog = "https://github.com/alvr-org/ALVR/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "alvr_dashboard"; maintainers = with lib.maintainers; [ @@ -167,4 +167,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/am/amber-secret/package.nix b/pkgs/by-name/am/amber-secret/package.nix index 900c5f372787..e9744135345e 100644 --- a/pkgs/by-name/am/amber-secret/package.nix +++ b/pkgs/by-name/am/amber-secret/package.nix @@ -4,7 +4,7 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { # Renaming it to amber-secret because another package named amber exists pname = "amber-secret"; version = "0.1.7"; @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "fpco"; repo = "amber"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-nduSnDhLvHpZD7Y1zeZC4nNL7P1qfLWc0yMpsdqrKHM="; }; @@ -21,9 +21,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Manage secret values in-repo via public key cryptography"; homepage = "https://github.com/fpco/amber"; - changelog = "https://github.com/fpco/amber/releases/tag/v${version}"; + changelog = "https://github.com/fpco/amber/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ psibi ]; mainProgram = "amber"; }; -} +}) diff --git a/pkgs/by-name/am/amber/package.nix b/pkgs/by-name/am/amber/package.nix index acc3242f0dbf..1326e040ba59 100644 --- a/pkgs/by-name/am/amber/package.nix +++ b/pkgs/by-name/am/amber/package.nix @@ -6,14 +6,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "amber"; version = "0.6.0"; src = fetchFromGitHub { owner = "dalance"; repo = "amber"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-q0o2PQngbDLumck27V0bIiB35zesn55Y+MwK2GjNVWo="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = [ lib.maintainers.bdesham ]; }; -} +}) diff --git a/pkgs/by-name/an/anchor/package.nix b/pkgs/by-name/an/anchor/package.nix index dac615caa9ac..c43fdf78dda3 100644 --- a/pkgs/by-name/an/anchor/package.nix +++ b/pkgs/by-name/an/anchor/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "anchor"; version = "0.31.1"; src = fetchFromGitHub { owner = "coral-xyz"; repo = "anchor"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-pvD0v4y7DilqCrhT8iQnAj5kBxGQVqNvObJUBzFLqzA="; fetchSubmodules = true; }; @@ -28,9 +28,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Solana Sealevel Framework"; homepage = "https://github.com/coral-xyz/anchor"; - changelog = "https://github.com/coral-xyz/anchor/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/coral-xyz/anchor/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ Denommus ]; mainProgram = "anchor"; }; -} +}) diff --git a/pkgs/by-name/an/anewer/package.nix b/pkgs/by-name/an/anewer/package.nix index 7b123479ebce..90faef7f23e2 100644 --- a/pkgs/by-name/an/anewer/package.nix +++ b/pkgs/by-name/an/anewer/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "anewer"; version = "0.1.6"; src = fetchFromGitHub { owner = "ysf"; repo = "anewer"; - tag = version; + tag = finalAttrs.version; sha256 = "181mi674354bddnq894yyq587w7skjh35vn61i41vfi6lqz5dy3d"; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Plus; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/an/angle-grinder/package.nix b/pkgs/by-name/an/angle-grinder/package.nix index efc3ac66d72b..c73c81853f80 100644 --- a/pkgs/by-name/an/angle-grinder/package.nix +++ b/pkgs/by-name/an/angle-grinder/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "angle-grinder"; version = "0.19.4"; src = fetchFromGitHub { owner = "rcoh"; repo = "angle-grinder"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-1SZho04qJcNi84ZkDmxoVkLx9VJX04QINZQ6ZEoCq+c="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ bbigras ]; mainProgram = "agrind"; }; -} +}) diff --git a/pkgs/by-name/ao/aoc-cli/package.nix b/pkgs/by-name/ao/aoc-cli/package.nix index 9f1511d95e34..14a3de9bf9c3 100644 --- a/pkgs/by-name/ao/aoc-cli/package.nix +++ b/pkgs/by-name/ao/aoc-cli/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "aoc-cli"; version = "0.12.0"; src = fetchFromGitHub { owner = "scarvalhojr"; repo = "aoc-cli"; - tag = version; + tag = finalAttrs.version; hash = "sha256-UdeCKhEWr1BjQ6OMLP19OLWPlvvP7FGAO+mi+bQUPQA="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ jordanisaacs ]; mainProgram = "aoc"; }; -} +}) diff --git a/pkgs/by-name/ap/aphorme/package.nix b/pkgs/by-name/ap/aphorme/package.nix index efec6a311277..70efedec2921 100644 --- a/pkgs/by-name/ap/aphorme/package.nix +++ b/pkgs/by-name/ap/aphorme/package.nix @@ -11,14 +11,14 @@ autoPatchelfHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "aphorme"; version = "0.1.19"; src = fetchFromGitHub { owner = "Iaphetes"; repo = "aphorme_launcher"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-p1ZIMMDyQWVzoeyHb3sbeV6XQwbIDoQwJU8ynI8hGUI="; }; @@ -39,7 +39,7 @@ rustPlatform.buildRustPackage rec { passthru.tests.version = testers.testVersion { package = aphorme; command = "aphorme --version"; - version = "aphorme ${version}"; + version = "aphorme ${finalAttrs.version}"; }; meta = { @@ -50,4 +50,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ anytimetraveler ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ap/apt-swarm/package.nix b/pkgs/by-name/ap/apt-swarm/package.nix index 863fcca55eaa..9725f132ca64 100644 --- a/pkgs/by-name/ap/apt-swarm/package.nix +++ b/pkgs/by-name/ap/apt-swarm/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "apt-swarm"; version = "0.5.1"; src = fetchFromGitHub { owner = "kpcyrd"; repo = "apt-swarm"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-zb0X6vIRKeI5Ysc88sTCJBlr9r8hrsTq5YR7YCg1L30="; }; @@ -20,10 +20,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Experimental p2p gossip network for OpenPGP signature transparency"; homepage = "https://github.com/kpcyrd/apt-swarm"; - changelog = "https://github.com/kpcyrd/apt-swarm/releases/tag/v${version}"; + changelog = "https://github.com/kpcyrd/apt-swarm/releases/tag/v${finalAttrs.version}"; mainProgram = "apt-swarm"; license = with lib.licenses; [ gpl3Plus ]; maintainers = with lib.maintainers; [ kpcyrd ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/ar/ares-rs/package.nix b/pkgs/by-name/ar/ares-rs/package.nix index 5da95890878e..8eae37d5a066 100644 --- a/pkgs/by-name/ar/ares-rs/package.nix +++ b/pkgs/by-name/ar/ares-rs/package.nix @@ -7,14 +7,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ares-rs"; version = "0.11.0"; src = fetchFromGitHub { owner = "bee-san"; repo = "ares"; - tag = version; + tag = finalAttrs.version; hash = "sha256-IsIastLIrPknaJcH8sb0plPme+VGvo9DeDIisTD4sRM="; }; @@ -31,10 +31,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Automated decoding of encrypted text without knowing the key or ciphers used"; homepage = "https://github.com/bee-san/ares"; - changelog = "https://github.com/bee-san/Ares/releases/tag/v${src.tag}"; + changelog = "https://github.com/bee-san/Ares/releases/tag/v${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "ares"; broken = stdenv.hostPlatform.isDarwin; }; -} +}) diff --git a/pkgs/by-name/ar/argon/package.nix b/pkgs/by-name/ar/argon/package.nix index 8159030bc658..6554b9b1eeb9 100644 --- a/pkgs/by-name/ar/argon/package.nix +++ b/pkgs/by-name/ar/argon/package.nix @@ -7,14 +7,14 @@ zstd, stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "argon"; version = "2.0.27"; src = fetchFromGitHub { owner = "argon-rbx"; repo = "argon"; - tag = version; + tag = finalAttrs.version; hash = "sha256-AcgaY7XmecqvWan81tVxV6UJ+A38tAYDlvUSLLKlYuU="; }; @@ -36,9 +36,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Full featured tool for Roblox development"; homepage = "https://github.com/argon-rbx/argon"; - changelog = "https://github.com/argon-rbx/argon/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/argon-rbx/argon/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ StayBlue ]; mainProgram = "argon"; }; -} +}) diff --git a/pkgs/by-name/ar/arp-scan-rs/package.nix b/pkgs/by-name/ar/arp-scan-rs/package.nix index 702eceec062b..5fbeba85d988 100644 --- a/pkgs/by-name/ar/arp-scan-rs/package.nix +++ b/pkgs/by-name/ar/arp-scan-rs/package.nix @@ -7,14 +7,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "arp-scan-rs"; version = "0.15.1"; src = fetchFromGitHub { owner = "kongbytes"; repo = "arp-scan-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-cTV1mJjHXT3LHFpzOC867VNnhaBo7zuinT8qqd4joY0="; }; @@ -37,10 +37,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "ARP scan tool for fast local network scans"; homepage = "https://github.com/kongbytes/arp-scan-rs"; - changelog = "https://github.com/kongbytes/arp-scan-rs/releases/tag/v${version}"; + changelog = "https://github.com/kongbytes/arp-scan-rs/releases/tag/v${finalAttrs.version}"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ fab ]; mainProgram = "arp-scan"; broken = stdenv.hostPlatform.isDarwin; }; -} +}) diff --git a/pkgs/by-name/ar/artem/package.nix b/pkgs/by-name/ar/artem/package.nix index d866c43f04df..d0032698d956 100644 --- a/pkgs/by-name/ar/artem/package.nix +++ b/pkgs/by-name/ar/artem/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "artem"; version = "3.0.0"; src = fetchFromGitHub { owner = "finefindus"; repo = "artem"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-C3Co+hXstVN/WADIpzqr7f3muAgQL0Zbnz6VI1XNo4U="; }; @@ -40,9 +40,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Small CLI program to convert images to ASCII art"; homepage = "https://github.com/finefindus/artem"; - changelog = "https://github.com/finefindus/artem/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/finefindus/artem/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = [ ]; mainProgram = "artem"; }; -} +}) diff --git a/pkgs/by-name/as/asak/package.nix b/pkgs/by-name/as/asak/package.nix index a8c65962f6e2..146e4e026e1b 100644 --- a/pkgs/by-name/as/asak/package.nix +++ b/pkgs/by-name/as/asak/package.nix @@ -8,14 +8,14 @@ libjack2, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "asak"; version = "0.3.5"; src = fetchFromGitHub { owner = "chaosprint"; repo = "asak"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-7r05sVIHqBBOKwye2fr0pspo/uDqaYGjt5CpxqgqKzI="; }; @@ -43,10 +43,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Cross-platform audio recording/playback CLI tool with TUI, written in Rust"; homepage = "https://github.com/chaosprint/asak"; - changelog = "https://github.com/chaosprint/asak/releases/tag/v${version}"; + changelog = "https://github.com/chaosprint/asak/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "asak"; maintainers = with lib.maintainers; [ anas ]; platforms = with lib.platforms; unix ++ windows; }; -} +}) diff --git a/pkgs/by-name/as/ashell/package.nix b/pkgs/by-name/as/ashell/package.nix index dabb93ec9b3e..04e08896b906 100644 --- a/pkgs/by-name/as/ashell/package.nix +++ b/pkgs/by-name/as/ashell/package.nix @@ -12,14 +12,14 @@ udev, vulkan-loader, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ashell"; version = "0.7.0"; src = fetchFromGitHub { owner = "MalpenZibo"; repo = "ashell"; - tag = version; + tag = finalAttrs.version; hash = "sha256-nQrBW2pfsExHERGZzJqMG7MskzsJ3zwVyoX6wJZBils="; }; @@ -43,7 +43,7 @@ rustPlatform.buildRustPackage rec { pipewire udev ] - ++ runtimeDependencies; + ++ finalAttrs.runtimeDependencies; meta = { description = "Ready to go Wayland status bar for Hyprland"; @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ justdeeevin ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/as/askalono/package.nix b/pkgs/by-name/as/askalono/package.nix index dc23859eb1ee..a50e9d1025b6 100644 --- a/pkgs/by-name/as/askalono/package.nix +++ b/pkgs/by-name/as/askalono/package.nix @@ -4,13 +4,13 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "askalono"; version = "0.5.0"; src = fetchCrate { pname = "askalono-cli"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-LwyUaU4m9fk+mG8FBfkbj9nBvd8KokwlV7cE7EBwk0Q="; }; @@ -19,9 +19,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Tool to detect open source licenses from texts"; homepage = "https://github.com/jpeddicord/askalono"; - changelog = "https://github.com/jpeddicord/askalono/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/jpeddicord/askalono/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ ]; mainProgram = "askalono"; }; -} +}) diff --git a/pkgs/by-name/as/asuka/package.nix b/pkgs/by-name/as/asuka/package.nix index 2526441c0de3..de9e5256914b 100644 --- a/pkgs/by-name/as/asuka/package.nix +++ b/pkgs/by-name/as/asuka/package.nix @@ -7,14 +7,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "asuka"; version = "0.8.5"; src = fetchFromSourcehut { owner = "~julienxx"; repo = "asuka"; - tag = version; + tag = finalAttrs.version; hash = "sha256-+rj6P3ejc4Qb/uqbf3N9MqyqDT7yg9JFE0yfW/uzd6M="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ sikmir ]; }; -} +}) diff --git a/pkgs/by-name/as/asusctl/package.nix b/pkgs/by-name/as/asusctl/package.nix index c806b5380d8b..3f3f831d726b 100644 --- a/pkgs/by-name/as/asusctl/package.nix +++ b/pkgs/by-name/as/asusctl/package.nix @@ -16,14 +16,14 @@ glibc, udevCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "asusctl"; version = "6.3.2"; src = fetchFromGitLab { owner = "asus-linux"; repo = "asusctl"; - tag = version; + tag = finalAttrs.version; hash = "sha256-6dZkQ8cPL8dbtvfuc/a5G1BxEaZyNbvy3eRBctFFwVU="; }; @@ -56,7 +56,7 @@ rustPlatform.buildRustPackage rec { substituteInPlace Makefile \ --replace-fail /usr/bin/grep ${lib.getExe gnugrep} - substituteInPlace /build/asusctl-${version}-vendor/sg-0.4.0/build.rs \ + substituteInPlace /build/asusctl-${finalAttrs.version}-vendor/sg-0.4.0/build.rs \ --replace-fail /usr/include ${lib.getDev glibc}/include ''; @@ -112,4 +112,4 @@ rustPlatform.buildRustPackage rec { yuannan ]; }; -} +}) diff --git a/pkgs/by-name/at/atac/package.nix b/pkgs/by-name/at/atac/package.nix index 239258b14fd5..72bc2c507c81 100644 --- a/pkgs/by-name/at/atac/package.nix +++ b/pkgs/by-name/at/atac/package.nix @@ -5,14 +5,14 @@ pkg-config, oniguruma, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "atac"; version = "0.22.1"; src = fetchFromGitHub { owner = "Julien-cpsn"; repo = "ATAC"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-PXSjyMe7Rcoeczm/cqFgn1Ra66T9cA34NdfaqLTljmc="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ vinnymeller ]; mainProgram = "atac"; }; -} +}) diff --git a/pkgs/by-name/au/audion/package.nix b/pkgs/by-name/au/audion/package.nix index f1bf3248a6c0..f37413b1b817 100644 --- a/pkgs/by-name/au/audion/package.nix +++ b/pkgs/by-name/au/audion/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "audion"; version = "0.2.1"; src = fetchFromGitHub { owner = "audiusGmbH"; repo = "audion"; - tag = version; + tag = finalAttrs.version; hash = "sha256-NtAzh7n5bJXMt73L+FJU3vuNoNgga3wYXdZ2TY8AjIA="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Ping the host continuously and write results to a file"; homepage = "https://github.com/audiusGmbH/audion"; - changelog = "https://github.com/audiusGmbH/audion/releases/tag/${version}"; + changelog = "https://github.com/audiusGmbH/audion/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "audion"; }; -} +}) diff --git a/pkgs/by-name/au/autotiling-rs/package.nix b/pkgs/by-name/au/autotiling-rs/package.nix index 2b37add99e8f..eaa9cf4a8e24 100644 --- a/pkgs/by-name/au/autotiling-rs/package.nix +++ b/pkgs/by-name/au/autotiling-rs/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "autotiling-rs"; version = "0.1.6"; src = fetchFromGitHub { owner = "ammgws"; repo = "autotiling-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-21XIKZ2rzuQMpkaOhGu1pg4J3OGOzHNQ20Rcw1V4BfI="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "autotiling-rs"; }; -} +}) diff --git a/pkgs/by-name/av/av1an-unwrapped/package.nix b/pkgs/by-name/av/av1an-unwrapped/package.nix index 9a57f54fc2f8..a2e9e0899709 100644 --- a/pkgs/by-name/av/av1an-unwrapped/package.nix +++ b/pkgs/by-name/av/av1an-unwrapped/package.nix @@ -13,14 +13,14 @@ vapoursynth, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "av1an-unwrapped"; version = "0.4.4"; src = fetchFromGitHub { owner = "master-of-zen"; repo = "av1an"; - tag = version; + tag = finalAttrs.version; hash = "sha256-YF+j349777pE+evvXWTo42DQn1CE0jlfKBEXUFTfcb8="; }; @@ -68,11 +68,11 @@ rustPlatform.buildRustPackage rec { It can increase your encoding speed and improve cpu utilization by running multiple encoder processes in parallel. ''; homepage = "https://github.com/master-of-zen/Av1an"; - changelog = "https://github.com/master-of-zen/Av1an/releases/tag/${version}"; + changelog = "https://github.com/master-of-zen/Av1an/releases/tag/${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ getchoo ]; mainProgram = "av1an"; # symbol index out of range file '/private/tmp/nix-build-av1an-unwrapped-0.4.4.drv-0/rustcz0anL2/librav1e-ca440893f9248a14.rlib' for architecture x86_64 broken = stdenv.hostPlatform.system == "x86_64-darwin"; }; -} +}) diff --git a/pkgs/by-name/av/avml/package.nix b/pkgs/by-name/av/avml/package.nix index cf12364fbf47..06b496066b28 100644 --- a/pkgs/by-name/av/avml/package.nix +++ b/pkgs/by-name/av/avml/package.nix @@ -9,14 +9,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "avml"; version = "0.15.0"; src = fetchFromGitHub { owner = "microsoft"; repo = "avml"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-QN9GLrs0wjlEdkNnN7Q4Uqu1yJlxD7Dx0SnHJnfV/so="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "avml"; }; -} +}) diff --git a/pkgs/by-name/aw/awatcher/package.nix b/pkgs/by-name/aw/awatcher/package.nix index d900f4657772..e536a00b6423 100644 --- a/pkgs/by-name/aw/awatcher/package.nix +++ b/pkgs/by-name/aw/awatcher/package.nix @@ -6,14 +6,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "awatcher"; version = "0.3.1"; src = fetchFromGitHub { owner = "2e3s"; repo = "awatcher"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-bxFc6oM+evIQTjrsWmb7dXOUlSjurjc4CzHpxB+667c="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.aikooo7 ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/aw/awsbck/package.nix b/pkgs/by-name/aw/awsbck/package.nix index a8066499ed55..a6fb13cb3f7e 100644 --- a/pkgs/by-name/aw/awsbck/package.nix +++ b/pkgs/by-name/aw/awsbck/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "awsbck"; version = "1.0.1"; src = fetchFromGitHub { owner = "beeb"; repo = "awsbck"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-WWYUMamMDtnvOR7vjoKd1Kn8vJBAAa9Jj8MFPRGQfEQ="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ beeb ]; mainProgram = "awsbck"; }; -} +}) diff --git a/pkgs/by-name/ba/backdown/package.nix b/pkgs/by-name/ba/backdown/package.nix index 20066f07293f..5d9c399cc8af 100644 --- a/pkgs/by-name/ba/backdown/package.nix +++ b/pkgs/by-name/ba/backdown/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "backdown"; version = "1.1.2"; src = fetchFromGitHub { owner = "Canop"; repo = "backdown"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-3+XmMRZz3SHF1sL+/CUvu4uQ2scE4ACpcC0r4nWhdkM="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "File deduplicator"; homepage = "https://github.com/Canop/backdown"; - changelog = "https://github.com/Canop/backdown/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/Canop/backdown/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "backdown"; }; -} +}) diff --git a/pkgs/by-name/ba/bartib/package.nix b/pkgs/by-name/ba/bartib/package.nix index db224d4d668e..4dddf7e92f33 100644 --- a/pkgs/by-name/ba/bartib/package.nix +++ b/pkgs/by-name/ba/bartib/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bartib"; version = "1.1.0"; src = fetchFromGitHub { owner = "nikolassv"; repo = "bartib"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-eVLacxKD8seD8mxVN1D3HhKZkIDXsEsSisZnFbmhpSk="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "bartib"; }; -} +}) diff --git a/pkgs/by-name/ba/basilk/package.nix b/pkgs/by-name/ba/basilk/package.nix index f7eb232f7163..1b7952366048 100644 --- a/pkgs/by-name/ba/basilk/package.nix +++ b/pkgs/by-name/ba/basilk/package.nix @@ -6,14 +6,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "basilk"; version = "0.2.1"; src = fetchFromGitHub { owner = "gabalpha"; repo = "basilk"; - tag = version; + tag = finalAttrs.version; hash = "sha256-ZicrgRghUvKp42H03IV1mUIV8FN5cfEx7ncqZMi9t9o="; }; @@ -32,9 +32,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal User Interface (TUI) to manage your tasks with minimal kanban logic"; homepage = "https://github.com/gabalpha/basilk"; - changelog = "https://github.com/GabAlpha/basilk/releases/tag/${version}"; + changelog = "https://github.com/GabAlpha/basilk/releases/tag/${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ thtrf ]; mainProgram = "basilk"; }; -} +}) diff --git a/pkgs/by-name/ba/batmon/package.nix b/pkgs/by-name/ba/batmon/package.nix index 1d677611f4d0..a9ce429333ac 100644 --- a/pkgs/by-name/ba/batmon/package.nix +++ b/pkgs/by-name/ba/batmon/package.nix @@ -4,14 +4,14 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "batmon"; version = "0.0.1"; src = fetchFromGitHub { owner = "6543"; repo = "batmon"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-+kjDNQKlaoI5fQ5FqYF6IPCKeE92WKxIhVCKafqfE0o="; }; @@ -24,11 +24,11 @@ rustPlatform.buildRustPackage rec { but about the batteries installed in your notebook. ''; homepage = "https://github.com/6543/batmon/"; - changelog = "https://github.com/6543/batmon/releases/tag/v${version}"; + changelog = "https://github.com/6543/batmon/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; mainProgram = "batmon"; platforms = with lib.platforms; unix ++ windows; broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; maintainers = with lib.maintainers; [ _6543 ]; }; -} +}) diff --git a/pkgs/by-name/ba/bato/package.nix b/pkgs/by-name/ba/bato/package.nix index 46de5d468ba6..fb1d445871f7 100644 --- a/pkgs/by-name/ba/bato/package.nix +++ b/pkgs/by-name/ba/bato/package.nix @@ -7,14 +7,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bato"; version = "0.2.1"; src = fetchFromGitHub { owner = "doums"; repo = "bato"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-pq+i4NGl7yv+vmMoYVT9JRvOsuV7nBqXpsebgMcNEY0="; }; @@ -30,10 +30,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Small program to send battery notifications"; homepage = "https://github.com/doums/bato"; - changelog = "https://github.com/doums/bato/releases/tag/v${version}"; + changelog = "https://github.com/doums/bato/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ HaskellHegemonie ]; platforms = lib.platforms.linux; mainProgram = "bato"; }; -} +}) diff --git a/pkgs/by-name/be/beancount-language-server/package.nix b/pkgs/by-name/be/beancount-language-server/package.nix index d8823cbf0695..71e68c8db3a8 100644 --- a/pkgs/by-name/be/beancount-language-server/package.nix +++ b/pkgs/by-name/be/beancount-language-server/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "beancount-language-server"; version = "1.4.1"; src = fetchFromGitHub { owner = "polarmutex"; repo = "beancount-language-server"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-cx/Y0jBpnNN+QVEovpbhCG70VwOqwDE+8lBcRAJtlF4="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ polarmutex ]; }; -} +}) diff --git a/pkgs/by-name/be/below/package.nix b/pkgs/by-name/be/below/package.nix index 2ae332168bc7..47b659e3c655 100644 --- a/pkgs/by-name/be/below/package.nix +++ b/pkgs/by-name/be/below/package.nix @@ -10,14 +10,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "below"; version = "0.9.0"; src = fetchFromGitHub { owner = "facebookincubator"; repo = "below"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-tPweJFqhZMOL+M08bDjW6HPmtuhr9IXJNP0c938O7Cg="; }; @@ -66,4 +66,4 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/facebookincubator/below"; mainProgram = "below"; }; -} +}) diff --git a/pkgs/by-name/be/bend/package.nix b/pkgs/by-name/be/bend/package.nix index 9d840ad761a7..d8342d72993c 100644 --- a/pkgs/by-name/be/bend/package.nix +++ b/pkgs/by-name/be/bend/package.nix @@ -6,14 +6,14 @@ hvm, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "Bend"; version = "0.2.37"; src = fetchFromGitHub { owner = "HigherOrderCO"; repo = "Bend"; - tag = version; + tag = finalAttrs.version; hash = "sha256-8uBEI9GKUETk8t6Oanb0OECe3MlJ486QnccOuhIxPuY="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ k3yss ]; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/bi/bibiman/package.nix b/pkgs/by-name/bi/bibiman/package.nix index 335a55c26b47..448e7ebeaf5e 100644 --- a/pkgs/by-name/bi/bibiman/package.nix +++ b/pkgs/by-name/bi/bibiman/package.nix @@ -6,14 +6,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bibiman"; version = "0.15.0"; src = fetchFromCodeberg { owner = "lukeflo"; repo = "bibiman"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-GAPlfHeo/g2QaRW3v9LatqYajJ2gE1ssK77yJPhOKuo="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "bibiman"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/bi/bign-handheld-thumbnailer/package.nix b/pkgs/by-name/bi/bign-handheld-thumbnailer/package.nix index 290f197fd0a2..5485302c5b60 100644 --- a/pkgs/by-name/bi/bign-handheld-thumbnailer/package.nix +++ b/pkgs/by-name/bi/bign-handheld-thumbnailer/package.nix @@ -9,14 +9,14 @@ testers, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bign-handheld-thumbnailer"; version = "1.2.0"; src = fetchFromGitHub { owner = "MateusRodCosta"; repo = "bign-handheld-thumbnailer"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-+iWf5ybCUHlZz3Ybw3bwLKzlsmiVwep2alVDvL9bG2A="; }; @@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec { passthru = { tests.version = testers.testVersion { package = bign-handheld-thumbnailer; - version = "v${version}"; + version = "v${finalAttrs.version}"; }; updateScript = nix-update-script { }; @@ -40,11 +40,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Thumbnailer for Nintendo handheld systems (Nintendo DS and 3DS) roms and files"; homepage = "https://github.com/MateusRodCosta/bign-handheld-thumbnailer"; - changelog = "https://github.com/MateusRodCosta/bign-handheld-thumbnailer/releases/tag/v${version}"; + changelog = "https://github.com/MateusRodCosta/bign-handheld-thumbnailer/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ getchoo ]; mainProgram = "bign-handheld-thumbnailer"; # This is based on GIO inherit (glib.meta) platforms; }; -} +}) diff --git a/pkgs/by-name/bi/biliup-rs/package.nix b/pkgs/by-name/bi/biliup-rs/package.nix index 4ccdd69ab9d6..fd55f005e6ed 100644 --- a/pkgs/by-name/bi/biliup-rs/package.nix +++ b/pkgs/by-name/bi/biliup-rs/package.nix @@ -8,14 +8,14 @@ sqlite, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "biliup-rs"; version = "0.2.4"; src = fetchFromGitHub { owner = "biliup"; repo = "biliup-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Zbl/d0LXwxHWyzfcLg+AMJrLXlXOf+aIzdNYHEvAd90="; }; @@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; meta = { - changelog = "https://github.com/biliup/biliup-rs/releases/tag/v${version}"; + changelog = "https://github.com/biliup/biliup-rs/releases/tag/v${finalAttrs.version}"; description = "CLI tool for uploading videos to Bilibili"; homepage = "https://biliup.github.io/biliup-rs"; license = lib.licenses.mit; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "biliup"; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/bi/bingrep/package.nix b/pkgs/by-name/bi/bingrep/package.nix index 51ffde524857..4f659dd857fb 100644 --- a/pkgs/by-name/bi/bingrep/package.nix +++ b/pkgs/by-name/bi/bingrep/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bingrep"; version = "0.12.1"; src = fetchFromGitHub { owner = "m4b"; repo = "bingrep"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-1GSAYhxFg5nXR8+vWBN10JLV7qUIxT1hYNXdnpE5Uag="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ minijackson ]; }; -} +}) diff --git a/pkgs/by-name/bi/binocle/package.nix b/pkgs/by-name/bi/binocle/package.nix index ad58b3e93909..024a6335f9f0 100644 --- a/pkgs/by-name/bi/binocle/package.nix +++ b/pkgs/by-name/bi/binocle/package.nix @@ -11,14 +11,14 @@ vulkan-loader, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "binocle"; version = "0.3.2"; src = fetchFromGitHub { owner = "sharkdp"; repo = "binocle"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-WAk7xIrCRfVofn4w+gP5E3wnSZbXm/6MZWlNmtoLm20="; }; @@ -51,4 +51,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/bi/binsider/package.nix b/pkgs/by-name/bi/binsider/package.nix index faf69fd81fd2..4bea58d9a076 100644 --- a/pkgs/by-name/bi/binsider/package.nix +++ b/pkgs/by-name/bi/binsider/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "binsider"; version = "0.3.2"; src = fetchFromGitHub { owner = "orhun"; repo = "binsider"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Un3pKb0+5rwK0tKRp+HVl3vynPt5V8YxhPiLgshL3L0="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ samueltardieu ]; mainProgram = "binsider"; }; -} +}) diff --git a/pkgs/by-name/bi/biodiff/package.nix b/pkgs/by-name/bi/biodiff/package.nix index a79412e3c4a2..f140c7ab64af 100644 --- a/pkgs/by-name/bi/biodiff/package.nix +++ b/pkgs/by-name/bi/biodiff/package.nix @@ -5,14 +5,14 @@ wfa2-lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "biodiff"; version = "1.2.1"; src = fetchFromGitHub { owner = "8051Enthusiast"; repo = "biodiff"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ZLxjOV08sC5dKICvRUyL6FLMORkxwdLgNq7L45CDwa4="; fetchSubmodules = true; }; @@ -28,8 +28,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "Hex diff viewer using alignment algorithms from biology"; homepage = "https://github.com/8051Enthusiast/biodiff"; - changelog = "https://github.com/8051Enthusiast/biodiff/blob/v${version}/CHANGELOG"; + changelog = "https://github.com/8051Enthusiast/biodiff/blob/v${finalAttrs.version}/CHANGELOG"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ newam ]; }; -} +}) diff --git a/pkgs/by-name/bi/biscuit-cli/package.nix b/pkgs/by-name/bi/biscuit-cli/package.nix index a31a94475969..e3d4d3e5bba4 100644 --- a/pkgs/by-name/bi/biscuit-cli/package.nix +++ b/pkgs/by-name/bi/biscuit-cli/package.nix @@ -7,14 +7,14 @@ biscuit-cli, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "biscuit-cli"; version = "0.6.0"; src = fetchFromGitHub { owner = "biscuit-auth"; repo = "biscuit-cli"; - tag = version; + tag = finalAttrs.version; sha256 = "sha256-s4Y4MhM79Z+4VxB03+56OqRQJaSHj2VQEJcL6CsT+2k="; }; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { passthru = { updateScript = nix-update-script { }; tests.version = testers.testVersion { - inherit version; + inherit (finalAttrs) version; package = biscuit-cli; command = "biscuit --version"; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.bsd3; mainProgram = "biscuit"; }; -} +}) diff --git a/pkgs/by-name/bi/bite/package.nix b/pkgs/by-name/bi/bite/package.nix index b134e95c9446..a7032f8db0cf 100644 --- a/pkgs/by-name/bi/bite/package.nix +++ b/pkgs/by-name/bi/bite/package.nix @@ -19,14 +19,14 @@ stdenv, wayland, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bite"; version = "0.3"; src = fetchFromGitHub { owner = "WINSDK"; repo = "bite"; - rev = "V${version}"; + rev = "V${finalAttrs.version}"; hash = "sha256-gio4J+V8achSuR2vQa2dnvOR/u4Zbb5z0UE0xP0gGCU="; }; @@ -66,7 +66,7 @@ rustPlatform.buildRustPackage rec { postInstall = '' wrapProgram $out/bin/bite \ - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeDependencies}" + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.runtimeDependencies}" mkdir -p $out/share/icons/hicolor/64x64/apps convert $src/assets/iconx64.png -background black -alpha remove -alpha off $out/share/icons/hicolor/64x64/apps/bite.png @@ -75,10 +75,10 @@ rustPlatform.buildRustPackage rec { desktopItems = [ (makeDesktopItem { name = "BiTE"; - exec = meta.mainProgram; + exec = finalAttrs.meta.mainProgram; icon = "bite"; desktopName = "BiTE"; - comment = meta.description; + comment = finalAttrs.meta.description; categories = [ "Development" "Utility" @@ -93,4 +93,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ vinnymeller ]; mainProgram = "bite"; }; -} +}) diff --git a/pkgs/by-name/bk/bkt/package.nix b/pkgs/by-name/bk/bkt/package.nix index 6f608eb887ac..e47629030255 100644 --- a/pkgs/by-name/bk/bkt/package.nix +++ b/pkgs/by-name/bk/bkt/package.nix @@ -3,7 +3,7 @@ fetchFromGitHub, lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bkt"; version = "0.8.0"; @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "dimo414"; repo = "bkt"; - tag = version; + tag = finalAttrs.version; sha256 = "sha256-XQK7oZfutqCvFoGzMH5G5zoGvqB8YaXSdrwjS/SVTNU="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.mangoiv ]; mainProgram = "bkt"; }; -} +}) diff --git a/pkgs/by-name/bl/blflash/package.nix b/pkgs/by-name/bl/blflash/package.nix index 5f77f74ad75e..f2ea72250ac2 100644 --- a/pkgs/by-name/bl/blflash/package.nix +++ b/pkgs/by-name/bl/blflash/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "blflash"; version = "0.3.5"; src = fetchFromGitHub { owner = "spacemeowx2"; repo = "blflash"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-lv5bUbq5AnZVeR8V0A4pamY9ZIQAhLmvZEr+CRMPcj0="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ _0x4A6F ]; mainProgram = "blflash"; }; -} +}) diff --git a/pkgs/by-name/bl/bluetui/package.nix b/pkgs/by-name/bl/bluetui/package.nix index 7a06261f5022..ac87b433dd84 100644 --- a/pkgs/by-name/bl/bluetui/package.nix +++ b/pkgs/by-name/bl/bluetui/package.nix @@ -6,14 +6,14 @@ dbus, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bluetui"; version = "0.8.1"; src = fetchFromGitHub { owner = "pythops"; repo = "bluetui"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-K+QAU9/XdGZonsKjBXbPbpJhWIHyaqxP6eb670n81LU="; }; @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "bluetui"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/bo/boa/package.nix b/pkgs/by-name/bo/boa/package.nix index 4f058fc7ff9e..a246877315c0 100644 --- a/pkgs/by-name/bo/boa/package.nix +++ b/pkgs/by-name/bo/boa/package.nix @@ -8,14 +8,14 @@ zstd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "boa"; version = "0.20"; src = fetchFromGitHub { owner = "boa-dev"; repo = "boa"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-foCIzzFoEpcE6i0QrSbiob3YHIOeTpjwpAMtcPGL8Vg="; fetchSubmodules = true; }; @@ -43,11 +43,11 @@ rustPlatform.buildRustPackage rec { description = "Embeddable and experimental Javascript engine written in Rust"; mainProgram = "boa"; homepage = "https://github.com/boa-dev/boa"; - changelog = "https://github.com/boa-dev/boa/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/boa-dev/boa/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ mit # or unlicense ]; maintainers = with lib.maintainers; [ dit7ya ]; }; -} +}) diff --git a/pkgs/by-name/bo/bonk/package.nix b/pkgs/by-name/bo/bonk/package.nix index dedeb11b4602..f3f1fb773add 100644 --- a/pkgs/by-name/bo/bonk/package.nix +++ b/pkgs/by-name/bo/bonk/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bonk"; version = "0.4.0"; src = fetchFromGitHub { owner = "elliot40404"; repo = "bonk"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-sAMIteNkGRqmE7BQD/TNC01K3eQQTLKuc0jcxHxtKF8="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "bonk"; maintainers = with lib.maintainers; [ dit7ya ]; }; -} +}) diff --git a/pkgs/by-name/bo/bootc/package.nix b/pkgs/by-name/bo/bootc/package.nix index 6cce0ae477f6..043df929698b 100644 --- a/pkgs/by-name/bo/bootc/package.nix +++ b/pkgs/by-name/bo/bootc/package.nix @@ -12,7 +12,7 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bootc"; version = "1.6.0"; @@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "bootc-dev"; repo = "bootc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-TztsiC+DwD9yEAmjTuiuOi+Kf8WEYMsOVVnMKpSM3/g="; }; @@ -70,4 +70,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ thesola10 ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/bo/bootspec-lix/package.nix b/pkgs/by-name/bo/bootspec-lix/package.nix index 2b88f42492fc..6cb0e0ae6270 100644 --- a/pkgs/by-name/bo/bootspec-lix/package.nix +++ b/pkgs/by-name/bo/bootspec-lix/package.nix @@ -4,7 +4,7 @@ fetchFromGitea, fetchpatch, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bootspec-lix"; version = "1.0.0"; @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec { domain = "git.lix.systems"; owner = "lix-community"; repo = "bootspec"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-5IGSMHeL0eKfl7teDejAckYQjc8aeLwfwIQSzQ8YaAg="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.raitobezarius ]; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/bo/bootspec/package.nix b/pkgs/by-name/bo/bootspec/package.nix index 32ad44c2cf9f..48f2cb5ba2a3 100644 --- a/pkgs/by-name/bo/bootspec/package.nix +++ b/pkgs/by-name/bo/bootspec/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bootspec"; version = "2.0.0"; src = fetchFromGitHub { owner = "DeterminateSystems"; repo = "bootspec"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-FeNBn/HeOanvFSCH9gNBCwlSJx1EhhEdrgX2rbXdZgI="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.cole-h ]; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/bo/bore-cli/package.nix b/pkgs/by-name/bo/bore-cli/package.nix index 8533f2b1f70b..95454394b0eb 100644 --- a/pkgs/by-name/bo/bore-cli/package.nix +++ b/pkgs/by-name/bo/bore-cli/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bore-cli"; version = "0.6.0"; src = fetchFromGitHub { owner = "ekzhang"; repo = "bore"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Jr6jZKsMhSpWVNpmhozI5DLONbwfIpcXwSlcbC9lLRM="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ DieracDelta ]; mainProgram = "bore"; }; -} +}) diff --git a/pkgs/by-name/bo/bottom-rs/package.nix b/pkgs/by-name/bo/bottom-rs/package.nix index da40c74735f5..c10269b51f00 100644 --- a/pkgs/by-name/bo/bottom-rs/package.nix +++ b/pkgs/by-name/bo/bottom-rs/package.nix @@ -4,12 +4,12 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bottom-rs"; version = "1.2.0"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; crateName = "bottomify"; hash = "sha256-R1zj+TFXoolonIFa1zJDd7CdrORfzAPlxJoJVYe9xdc="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ winter ]; mainProgram = "bottomify"; }; -} +}) diff --git a/pkgs/by-name/bo/boxbuddy/package.nix b/pkgs/by-name/bo/boxbuddy/package.nix index 858a59b913ef..2f3da484e832 100644 --- a/pkgs/by-name/bo/boxbuddy/package.nix +++ b/pkgs/by-name/bo/boxbuddy/package.nix @@ -8,14 +8,14 @@ distrobox, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "boxbuddy"; version = "2.5.3"; src = fetchFromGitHub { owner = "Dvlv"; repo = "BoxBuddyRS"; - tag = version; + tag = finalAttrs.version; hash = "sha256-9BGgm4yRjCarJIGP/G9gPj/qsYWb96XGJmpgLj3XCdM="; }; @@ -59,4 +59,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ aleksana ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/bo/boxxy/package.nix b/pkgs/by-name/bo/boxxy/package.nix index 69abb7af88e5..d6b71a9aef09 100644 --- a/pkgs/by-name/bo/boxxy/package.nix +++ b/pkgs/by-name/bo/boxxy/package.nix @@ -7,14 +7,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "boxxy"; version = "0.8.5"; src = fetchFromGitHub { owner = "queer"; repo = "boxxy"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-6pb3yyC4/kpe8S67B3pzsSu3PfQyOWpiYi0JTBQk3lU="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { broken = stdenv.hostPlatform.isAarch64; mainProgram = "boxxy"; }; -} +}) diff --git a/pkgs/by-name/br/brush/package.nix b/pkgs/by-name/br/brush/package.nix index 913563156d9c..af7a07604e18 100644 --- a/pkgs/by-name/br/brush/package.nix +++ b/pkgs/by-name/br/brush/package.nix @@ -10,14 +10,14 @@ brush, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "brush"; version = "0.3.0"; src = fetchFromGitHub { owner = "reubeno"; repo = "brush"; - tag = "brush-shell-v${version}"; + tag = "brush-shell-v${finalAttrs.version}"; hash = "sha256-Ib7IRjehcftCETUAT1+otXRdTFFOOwMN4mjnArYLP7Y="; }; @@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec { versionCheckHook ]; doInstallCheck = true; - versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}"; + versionCheckProgram = "${placeholder "out"}/bin/${finalAttrs.meta.mainProgram}"; # Found argument '--test-threads' which wasn't expected, or isn't valid in this context doCheck = false; @@ -60,9 +60,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Bash/POSIX-compatible shell implemented in Rust"; homepage = "https://github.com/reubeno/brush"; - changelog = "https://github.com/reubeno/brush/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/reubeno/brush/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ kachick ]; mainProgram = "brush"; }; -} +}) diff --git a/pkgs/by-name/bu/buckle/package.nix b/pkgs/by-name/bu/buckle/package.nix index 38b8619214e1..91e8ace5c690 100644 --- a/pkgs/by-name/bu/buckle/package.nix +++ b/pkgs/by-name/bu/buckle/package.nix @@ -4,7 +4,7 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "buckle"; version = "1.1.0"; @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "benbrittain"; repo = "buckle"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-eWhcDzw+6I5N0dse5avwhcQ/y6YZ6b3QKyBwWBrA/xo="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ cbarrete ]; mainProgram = "buckle"; }; -} +}) diff --git a/pkgs/by-name/bu/buffrs/package.nix b/pkgs/by-name/bu/buffrs/package.nix index 1bd700fe938b..7d76362ed577 100644 --- a/pkgs/by-name/bu/buffrs/package.nix +++ b/pkgs/by-name/bu/buffrs/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "buffrs"; version = "0.12.2"; src = fetchFromGitHub { owner = "helsing-ai"; repo = "buffrs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-xwIJeXbXBotx/1ZsvCSaUlttkTYi2Ceq6MvFPwp2bj8="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "buffrs"; maintainers = with lib.maintainers; [ danilobuerger ]; }; -} +}) diff --git a/pkgs/by-name/bu/bukubrow/package.nix b/pkgs/by-name/bu/bukubrow/package.nix index c3ad4de8366f..098cebca5692 100644 --- a/pkgs/by-name/bu/bukubrow/package.nix +++ b/pkgs/by-name/bu/bukubrow/package.nix @@ -14,14 +14,14 @@ let }; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bukubrow-host"; version = "5.4.0"; src = fetchFromGitHub { owner = "SamHH"; repo = "bukubrow-host"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-xz5Agsm+ATQXXgpPGN4EQ00i1t8qUlrviNHauVdCu4U="; }; @@ -61,4 +61,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "bukubrow"; }; -} +}) diff --git a/pkgs/by-name/bu/bulloak/package.nix b/pkgs/by-name/bu/bulloak/package.nix index 3f86b1257a46..bbd25cc0ab8c 100644 --- a/pkgs/by-name/bu/bulloak/package.nix +++ b/pkgs/by-name/bu/bulloak/package.nix @@ -29,14 +29,14 @@ let }; }; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bulloak"; version = "0.8.1"; src = fetchFromGitHub { owner = "alexfertel"; repo = "bulloak"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8Qp8ceafAkw7Tush/dvBl27q5oNDzbOqyvSLXhjf4fo="; }; @@ -60,4 +60,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "bulloak"; maintainers = with lib.maintainers; [ beeb ]; }; -} +}) diff --git a/pkgs/by-name/bu/bunbun/package.nix b/pkgs/by-name/bu/bunbun/package.nix index 039b8e8ae09c..b5f8b95d8c20 100644 --- a/pkgs/by-name/bu/bunbun/package.nix +++ b/pkgs/by-name/bu/bunbun/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bunbun"; version = "1.5.0"; src = fetchFromGitHub { owner = "devraza"; repo = "bunbun"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-3f/G0Vx1uXeH3QMDVUAHWi4Pf/B88/4F+4XywVsp3/4="; }; @@ -31,9 +31,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Simple and adorable sysinfo utility written in Rust"; homepage = "https://github.com/devraza/bunbun"; - changelog = "https://github.com/devraza/bunbun/releases/tag/v${version}"; + changelog = "https://github.com/devraza/bunbun/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; mainProgram = "bunbun"; }; -} +}) diff --git a/pkgs/by-name/bu/bunyan-rs/package.nix b/pkgs/by-name/bu/bunyan-rs/package.nix index fb1789f3f5b6..fe6150495329 100644 --- a/pkgs/by-name/bu/bunyan-rs/package.nix +++ b/pkgs/by-name/bu/bunyan-rs/package.nix @@ -4,14 +4,14 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bunyan-rs"; version = "0.1.9"; src = fetchFromGitHub { owner = "LukeMathWalker"; repo = "bunyan"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-dqhZIwxWBMXS2RgE8YynYrESVyAOIJ9ujAKcp2tDhvA="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ netcrns ]; mainProgram = "bunyan"; }; -} +}) diff --git a/pkgs/by-name/bu/bupstash/package.nix b/pkgs/by-name/bu/bupstash/package.nix index c26b9e0e5f19..e5e448f9f3a7 100644 --- a/pkgs/by-name/bu/bupstash/package.nix +++ b/pkgs/by-name/bu/bupstash/package.nix @@ -7,14 +7,14 @@ pkg-config, libsodium, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bupstash"; version = "0.12.0"; src = fetchFromGitHub { owner = "andrewchambers"; repo = "bupstash"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-Ekjxna3u+71s1q7jjXp7PxYUQIfbp2E+jAqKGuszU6g="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "bupstash"; }; -} +}) diff --git a/pkgs/by-name/bz/bzmenu/package.nix b/pkgs/by-name/bz/bzmenu/package.nix index f8204bef30cc..7264a89dbb50 100644 --- a/pkgs/by-name/bz/bzmenu/package.nix +++ b/pkgs/by-name/bz/bzmenu/package.nix @@ -6,14 +6,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bzmenu"; version = "0.3.0"; src = fetchFromGitHub { owner = "e-tho"; repo = "bzmenu"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-5Xb/7DhwZ3hLO1rAceMaR3ifgI36Sn+W+S7PN8EOdOQ="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ vuimuich ]; }; -} +}) diff --git a/pkgs/by-name/ca/cairo-lang/package.nix b/pkgs/by-name/ca/cairo-lang/package.nix index c08bf53bd4f8..6e97cbc68ff6 100644 --- a/pkgs/by-name/ca/cairo-lang/package.nix +++ b/pkgs/by-name/ca/cairo-lang/package.nix @@ -6,14 +6,14 @@ perl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cairo"; version = "2.11.2"; src = fetchFromGitHub { owner = "starkware-libs"; repo = "cairo"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-VOyqKeiPJ3/VOqcdQXC/rZnTriC2ScmAQ4IlouHjvpI="; }; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ raitobezarius ]; }; -} +}) diff --git a/pkgs/by-name/ca/caligula/package.nix b/pkgs/by-name/ca/caligula/package.nix index 33fede21aca3..ef2dc653cf7d 100644 --- a/pkgs/by-name/ca/caligula/package.nix +++ b/pkgs/by-name/ca/caligula/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "caligula"; version = "0.4.10"; src = fetchFromGitHub { owner = "ifd3f"; repo = "caligula"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-oaSt6wzMzaGHPyuJ5NVcAJLblHQcHJA5a7o2wkJgZkU="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux ++ lib.platforms.darwin; mainProgram = "caligula"; }; -} +}) diff --git a/pkgs/by-name/ca/cantus/package.nix b/pkgs/by-name/ca/cantus/package.nix index 23230e8dfcc7..e916f2c41958 100644 --- a/pkgs/by-name/ca/cantus/package.nix +++ b/pkgs/by-name/ca/cantus/package.nix @@ -10,14 +10,14 @@ libxkbcommon, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cantus"; version = "0.6.2"; src = fetchFromGitHub { owner = "CodedNil"; repo = "cantus"; - tag = version; + tag = finalAttrs.version; hash = "sha256-dAMphU+voDUwFzlPuV6nCUg0RaVVyRJLoM6IwjUtvA4="; }; @@ -48,4 +48,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ CodedNil ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ca/capnproto-rust/package.nix b/pkgs/by-name/ca/capnproto-rust/package.nix index ffa34abf7a2d..f1d1dea3b98a 100644 --- a/pkgs/by-name/ca/capnproto-rust/package.nix +++ b/pkgs/by-name/ca/capnproto-rust/package.nix @@ -6,13 +6,13 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "capnproto-rust"; version = "0.25.0"; src = fetchCrate { crateName = "capnpc"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-2+GSM9oIT/he/Ra3SJH5YSrNUU/Jc+PE1N5TjK7OX28="; }; @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { solson ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-3ds/package.nix b/pkgs/by-name/ca/cargo-3ds/package.nix index 801e5171d018..16a6ac89a365 100644 --- a/pkgs/by-name/ca/cargo-3ds/package.nix +++ b/pkgs/by-name/ca/cargo-3ds/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-3ds"; version = "0.1.5"; src = fetchFromGitHub { owner = "rust3ds"; repo = "cargo-3ds"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-UMeIxYxQ+0VGyDJTu78n9O5iXw3ZBg8mHqmnUtbnXo4="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = with lib.maintainers; [ l1npengtul ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-about/package.nix b/pkgs/by-name/ca/cargo-about/package.nix index 6dfb746009f1..12c59ba2b861 100644 --- a/pkgs/by-name/ca/cargo-about/package.nix +++ b/pkgs/by-name/ca/cargo-about/package.nix @@ -6,14 +6,14 @@ zstd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-about"; version = "0.8.4"; src = fetchFromGitHub { owner = "EmbarkStudios"; repo = "cargo-about"; - tag = version; + tag = finalAttrs.version; sha256 = "sha256-QbmZIbn/xPZUTXNpUjGuWTjoh8RpsMRuVIfJRO9M3xM="; }; @@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Cargo plugin to generate list of all licenses for a crate"; homepage = "https://github.com/EmbarkStudios/cargo-about"; - changelog = "https://github.com/EmbarkStudios/cargo-about/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/EmbarkStudios/cargo-about/blob/${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit # or asl20 @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "cargo-about"; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-autoinherit/package.nix b/pkgs/by-name/ca/cargo-autoinherit/package.nix index df1403a5ab1c..497b0914760d 100644 --- a/pkgs/by-name/ca/cargo-autoinherit/package.nix +++ b/pkgs/by-name/ca/cargo-autoinherit/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-autoinherit"; version = "0.1.6"; src = fetchFromGitHub { owner = "mainmatter"; repo = "cargo-autoinherit"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-A4Ooqt/Cb8yyc4Y9DKZuFEVUux1ot+IVkPsSDylM6G4="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ matthiasbeyer ]; mainProgram = "cargo-autoinherit"; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-binstall/package.nix b/pkgs/by-name/ca/cargo-binstall/package.nix index a6935009914c..923a75a7e97a 100644 --- a/pkgs/by-name/ca/cargo-binstall/package.nix +++ b/pkgs/by-name/ca/cargo-binstall/package.nix @@ -9,14 +9,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-binstall"; version = "1.17.4"; src = fetchFromGitHub { owner = "cargo-bins"; repo = "cargo-binstall"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-X5zRAuBxey450bstp/AyaCQkMrqsFTcTD2xfpX3K/t0="; }; @@ -66,8 +66,8 @@ rustPlatform.buildRustPackage rec { description = "Tool for installing rust binaries as an alternative to building from source"; mainProgram = "cargo-binstall"; homepage = "https://github.com/cargo-bins/cargo-binstall"; - changelog = "https://github.com/cargo-bins/cargo-binstall/releases/tag/v${version}"; + changelog = "https://github.com/cargo-bins/cargo-binstall/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ mdaniels5757 ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-bisect-rustc/package.nix b/pkgs/by-name/ca/cargo-bisect-rustc/package.nix index 6e90d5dda528..b0f4f9b78297 100644 --- a/pkgs/by-name/ca/cargo-bisect-rustc/package.nix +++ b/pkgs/by-name/ca/cargo-bisect-rustc/package.nix @@ -10,14 +10,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-bisect-rustc"; version = "0.6.8"; src = fetchFromGitHub { owner = "rust-lang"; repo = "cargo-bisect-rustc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-7HiM1oRuLSfRaum66duag/w8ncFdxRLF0yeSGlIey0Y="; }; @@ -60,4 +60,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-bitbake/package.nix b/pkgs/by-name/ca/cargo-bitbake/package.nix index c0fd20867f8c..260cdd9e54ac 100644 --- a/pkgs/by-name/ca/cargo-bitbake/package.nix +++ b/pkgs/by-name/ca/cargo-bitbake/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-bitbake"; version = "0.3.16"; src = fetchFromGitHub { owner = "meta-rust"; repo = "cargo-bitbake"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-+ovC4nZwHzf9hjfv2LcnTztM2m++tpC3mUSS/I0l6Ck="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ rvarago ]; platforms = [ "x86_64-linux" ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-bloat/package.nix b/pkgs/by-name/ca/cargo-bloat/package.nix index 801540ca11bf..781c39aaf013 100644 --- a/pkgs/by-name/ca/cargo-bloat/package.nix +++ b/pkgs/by-name/ca/cargo-bloat/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-bloat"; version = "0.12.1"; src = fetchFromGitHub { owner = "RazrFalcon"; repo = "cargo-bloat"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-B71VX7cJe1giOLmk3cQE8Zxr7fKGyQkoXRuM+NzBcb8="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "cargo-bloat"; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-bootimage/package.nix b/pkgs/by-name/ca/cargo-bootimage/package.nix index 800a067f9a8b..56610bbf1482 100644 --- a/pkgs/by-name/ca/cargo-bootimage/package.nix +++ b/pkgs/by-name/ca/cargo-bootimage/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bootimage"; version = "0.10.3"; src = fetchFromGitHub { owner = "rust-osdev"; repo = "bootimage"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "12p18mk3l473is3ydv3zmn6s7ck8wgjwavllimcpja3yjilxm3zg"; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = with lib.maintainers; [ dbeckwith ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-bump/package.nix b/pkgs/by-name/ca/cargo-bump/package.nix index e1f8e022ae3f..91920e40d5cf 100644 --- a/pkgs/by-name/ca/cargo-bump/package.nix +++ b/pkgs/by-name/ca/cargo-bump/package.nix @@ -5,14 +5,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-bump"; version = "1.1.1"; src = fetchFromGitHub { owner = "rustadopt"; repo = "cargo-bump"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-PhA7uC2gJcBnUQPWgZC51p/KTSxSGld3m+dd6BhW6q8="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ isc ]; maintainers = with lib.maintainers; [ cafkafk ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-bundle-licenses/package.nix b/pkgs/by-name/ca/cargo-bundle-licenses/package.nix index 8beb82c7eb52..de037be1eb43 100644 --- a/pkgs/by-name/ca/cargo-bundle-licenses/package.nix +++ b/pkgs/by-name/ca/cargo-bundle-licenses/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-bundle-licenses"; version = "4.2.0"; src = fetchFromGitHub { owner = "sstadick"; repo = "cargo-bundle-licenses"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-L3hmgDwzL6lLa0LCg/V5QeNK2U1u2dJMO4+t6W1UvxI="; }; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { description = "Generate a THIRDPARTY file with all licenses in a cargo project"; mainProgram = "cargo-bundle-licenses"; homepage = "https://github.com/sstadick/cargo-bundle-licenses"; - changelog = "https://github.com/sstadick/cargo-bundle-licenses/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/sstadick/cargo-bundle-licenses/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ mit asl20 @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-cache/package.nix b/pkgs/by-name/ca/cargo-cache/package.nix index 2fe9f44abf86..6c00cb5ac992 100644 --- a/pkgs/by-name/ca/cargo-cache/package.nix +++ b/pkgs/by-name/ca/cargo-cache/package.nix @@ -6,14 +6,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-cache"; version = "0.8.3"; src = fetchFromGitHub { owner = "matthiaskrgr"; repo = "cargo-cache"; - tag = version; + tag = finalAttrs.version; sha256 = "sha256-q9tYKXK8RqiqbDZ/lTxUI1Dm/h28/yZR8rTQuq+roZs="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-careful/package.nix b/pkgs/by-name/ca/cargo-careful/package.nix index 1260f841f435..a9919b7e3606 100644 --- a/pkgs/by-name/ca/cargo-careful/package.nix +++ b/pkgs/by-name/ca/cargo-careful/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-careful"; version = "0.4.9"; src = fetchFromGitHub { owner = "RalfJung"; repo = "cargo-careful"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-huo5KFb+qoPVHNrnR+vb97iNinGaU5d3NbFhAgGCzCk="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-clone/package.nix b/pkgs/by-name/ca/cargo-clone/package.nix index bf152c0164b3..b2dec75391b9 100644 --- a/pkgs/by-name/ca/cargo-clone/package.nix +++ b/pkgs/by-name/ca/cargo-clone/package.nix @@ -7,14 +7,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-clone"; version = "1.2.4"; src = fetchFromGitHub { owner = "janlikar"; repo = "cargo-clone"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-tAY4MUytFVa7kXLeOg4xak8XKGgApnEGWiK51W/7uDg="; }; @@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec { description = "Cargo subcommand to fetch the source code of a Rust crate"; mainProgram = "cargo-clone"; homepage = "https://github.com/janlikar/cargo-clone"; - changelog = "https://github.com/janlikar/cargo-clone/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/janlikar/cargo-clone/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { janlikar ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-crev/package.nix b/pkgs/by-name/ca/cargo-crev/package.nix index 60143118bd9c..482439f20d24 100644 --- a/pkgs/by-name/ca/cargo-crev/package.nix +++ b/pkgs/by-name/ca/cargo-crev/package.nix @@ -11,14 +11,14 @@ gitMinimal, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-crev"; version = "0.26.5"; src = fetchFromGitHub { owner = "crev-dev"; repo = "cargo-crev"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-P6i2RvosI36rrg52kUcdrb5y4Fg0ms/mH5hcOWNgSik="; }; @@ -59,4 +59,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-criterion/package.nix b/pkgs/by-name/ca/cargo-criterion/package.nix index 9234161f518f..72347424766a 100644 --- a/pkgs/by-name/ca/cargo-criterion/package.nix +++ b/pkgs/by-name/ca/cargo-criterion/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-criterion"; version = "1.1.0"; src = fetchFromGitHub { owner = "bheisler"; repo = "cargo-criterion"; - tag = version; + tag = finalAttrs.version; sha256 = "sha256-RPix9DM6E32PhObvV3xPGrnXrrVHn3auxLUhysP8GM0="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-cross/package.nix b/pkgs/by-name/ca/cargo-cross/package.nix index 2b890a410a71..5b302a6b23b4 100644 --- a/pkgs/by-name/ca/cargo-cross/package.nix +++ b/pkgs/by-name/ca/cargo-cross/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-cross"; version = "0.2.5"; src = fetchFromGitHub { owner = "cross-rs"; repo = "cross"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-TFPIQno30Vm5m2nZ2b3d0WPu/98UqANLhw3IZiE5a38="; }; @@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Zero setup cross compilation and cross testing"; homepage = "https://github.com/cross-rs/cross"; - changelog = "https://github.com/cross-rs/cross/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/cross-rs/cross/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ otavio ]; mainProgram = "cross"; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-deadlinks/package.nix b/pkgs/by-name/ca/cargo-deadlinks/package.nix index 6ffb9137fab9..b8d3bc903977 100644 --- a/pkgs/by-name/ca/cargo-deadlinks/package.nix +++ b/pkgs/by-name/ca/cargo-deadlinks/package.nix @@ -5,14 +5,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-deadlinks"; version = "0.8.1"; src = fetchFromGitHub { owner = "deadlinks"; repo = "cargo-deadlinks"; - tag = version; + tag = finalAttrs.version; sha256 = "0s5q9aghncsk9834azn5cgnn5ms3zzyjan2rq06kaqcgzhld4cjh"; }; @@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Cargo subcommand to check rust documentation for broken links"; homepage = "https://github.com/deadlinks/cargo-deadlinks"; - changelog = "https://github.com/deadlinks/cargo-deadlinks/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/deadlinks/cargo-deadlinks/blob/${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-deb/package.nix b/pkgs/by-name/ca/cargo-deb/package.nix index 9bdb7d7607e4..5b6598c3315a 100644 --- a/pkgs/by-name/ca/cargo-deb/package.nix +++ b/pkgs/by-name/ca/cargo-deb/package.nix @@ -6,14 +6,14 @@ dpkg, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-deb"; version = "3.6.3"; src = fetchFromGitHub { owner = "kornelski"; repo = "cargo-deb"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-qYLJNhxBfSopfaNEh9FnKoKdq1Uu8nfWPOhpqzQH288="; }; @@ -56,4 +56,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-depgraph/package.nix b/pkgs/by-name/ca/cargo-depgraph/package.nix index 5117c430ae81..a354153461dc 100644 --- a/pkgs/by-name/ca/cargo-depgraph/package.nix +++ b/pkgs/by-name/ca/cargo-depgraph/package.nix @@ -4,14 +4,14 @@ fetchFromSourcehut, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-depgraph"; version = "1.6.0"; src = fetchFromSourcehut { owner = "~jplatte"; repo = "cargo-depgraph"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-yvcKRESX2W1oLmQvkl07iG8+I74qDKsaS3amM4pZU8s="; }; @@ -21,10 +21,10 @@ rustPlatform.buildRustPackage rec { description = "Create dependency graphs for cargo projects using `cargo metadata` and graphviz"; mainProgram = "cargo-depgraph"; homepage = "https://sr.ht/~jplatte/cargo-depgraph"; - changelog = "https://git.sr.ht/~jplatte/cargo-depgraph/tree/${src.rev}/item/CHANGELOG.md"; + changelog = "https://git.sr.ht/~jplatte/cargo-depgraph/tree/${finalAttrs.src.rev}/item/CHANGELOG.md"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-dephell/package.nix b/pkgs/by-name/ca/cargo-dephell/package.nix index 2a300e79fae9..966c1a296326 100644 --- a/pkgs/by-name/ca/cargo-dephell/package.nix +++ b/pkgs/by-name/ca/cargo-dephell/package.nix @@ -9,14 +9,14 @@ libgit2, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-dephell"; version = "0.5.1"; src = fetchFromGitHub { owner = "mimoo"; repo = "cargo-dephell"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-NOjkKttA+mwPCpl4uiRIYD58DlMomVFpwnM9KGfWd+w="; }; @@ -58,4 +58,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-diet/package.nix b/pkgs/by-name/ca/cargo-diet/package.nix index 08e47f46bfba..1c3449667365 100644 --- a/pkgs/by-name/ca/cargo-diet/package.nix +++ b/pkgs/by-name/ca/cargo-diet/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-diet"; version = "1.2.7"; src = fetchFromGitHub { owner = "the-lean-crate"; repo = "cargo-diet"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-SuJ1H/2YfSVVigdgLUd9veMClI7ZT7xkkyQ4PfXoQdQ="; }; @@ -21,10 +21,10 @@ rustPlatform.buildRustPackage rec { description = "Help computing optimal include directives for your Cargo.toml manifest"; mainProgram = "cargo-diet"; homepage = "https://github.com/the-lean-crate/cargo-diet"; - changelog = "https://github.com/the-lean-crate/cargo-diet/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/the-lean-crate/cargo-diet/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-dist/package.nix b/pkgs/by-name/ca/cargo-dist/package.nix index c90f1821912f..66bb02785d8e 100644 --- a/pkgs/by-name/ca/cargo-dist/package.nix +++ b/pkgs/by-name/ca/cargo-dist/package.nix @@ -11,14 +11,14 @@ rustup, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-dist"; version = "0.30.3"; src = fetchFromGitHub { owner = "axodotdev"; repo = "cargo-dist"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-x59bUgd89XAwuHwGvREDqAS/cI4Ot7HGTONGbTOgzw8="; }; @@ -54,7 +54,7 @@ rustPlatform.buildRustPackage rec { description = "Tool for building final distributable artifacts and uploading them to an archive"; mainProgram = "dist"; homepage = "https://github.com/axodotdev/cargo-dist"; - changelog = "https://github.com/axodotdev/cargo-dist/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/axodotdev/cargo-dist/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -64,4 +64,4 @@ rustPlatform.buildRustPackage rec { mistydemeo ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-docset/package.nix b/pkgs/by-name/ca/cargo-docset/package.nix index fadfa8e7cc74..50c2bb71a1a3 100644 --- a/pkgs/by-name/ca/cargo-docset/package.nix +++ b/pkgs/by-name/ca/cargo-docset/package.nix @@ -6,14 +6,14 @@ sqlite, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-docset"; version = "0.3.1"; src = fetchFromGitHub { owner = "Robzz"; repo = "cargo-docset"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-o2CSQiU9fEoS3eRmwphtYGZTwn3mstRm2Tlvval83+U="; }; @@ -29,11 +29,11 @@ rustPlatform.buildRustPackage rec { description = "Cargo subcommand to generate a Dash/Zeal docset for your Rust packages"; mainProgram = "cargo-docset"; homepage = "https://github.com/Robzz/cargo-docset"; - changelog = "https://github.com/Robzz/cargo-docset/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/Robzz/cargo-docset/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ colinsane matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-duplicates/package.nix b/pkgs/by-name/ca/cargo-duplicates/package.nix index 7241e24c8a3c..4ea4543e7029 100644 --- a/pkgs/by-name/ca/cargo-duplicates/package.nix +++ b/pkgs/by-name/ca/cargo-duplicates/package.nix @@ -9,14 +9,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-duplicates"; version = "0.8.4"; src = fetchFromGitHub { owner = "Keruspe"; repo = "cargo-duplicates"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-JzS1+BHSCEcZM5MokbQsck/AGJ7EeSwbzjNz0uLQsgE="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-edit/package.nix b/pkgs/by-name/ca/cargo-edit/package.nix index 74a94174d12b..7d2ded2d8286 100644 --- a/pkgs/by-name/ca/cargo-edit/package.nix +++ b/pkgs/by-name/ca/cargo-edit/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-edit"; version = "0.13.8"; src = fetchFromGitHub { owner = "killercup"; repo = "cargo-edit"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-+CWCWhdb7S4QSNAfzL2+YMTF7oKQvk18NSxSSTQtQBc="; }; @@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Utility for managing cargo dependencies from the command line"; homepage = "https://github.com/killercup/cargo-edit"; - changelog = "https://github.com/killercup/cargo-edit/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/killercup/cargo-edit/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit @@ -48,4 +48,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-espmonitor/package.nix b/pkgs/by-name/ca/cargo-espmonitor/package.nix index a9e5fdd4cdc3..9b6fd0e3fc65 100644 --- a/pkgs/by-name/ca/cargo-espmonitor/package.nix +++ b/pkgs/by-name/ca/cargo-espmonitor/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "espmonitor"; version = "0.10.0"; src = fetchFromGitHub { owner = "esp-rs"; repo = "espmonitor"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "hWFdim84L2FfG6p9sEf+G5Uq4yhp5kv1ZMdk4sMHa+4="; }; @@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ xanderio ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-feature/package.nix b/pkgs/by-name/ca/cargo-feature/package.nix index abf16324c42c..dd31b305f6cb 100644 --- a/pkgs/by-name/ca/cargo-feature/package.nix +++ b/pkgs/by-name/ca/cargo-feature/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-feature"; version = "0.7.0"; src = fetchFromGitHub { owner = "Riey"; repo = "cargo-feature"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-UPpqkz/PwoMaJan9itfldjyTmZmiMb6PzCyu9Vtjj1s="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-features-manager/package.nix b/pkgs/by-name/ca/cargo-features-manager/package.nix index c5697db6cd9b..6bda02a5182b 100644 --- a/pkgs/by-name/ca/cargo-features-manager/package.nix +++ b/pkgs/by-name/ca/cargo-features-manager/package.nix @@ -3,14 +3,14 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-features-manager"; version = "0.11.0"; src = fetchFromGitHub { owner = "ToBinio"; repo = "cargo-features-manager"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ay6nhRmGRBURisfr7qnnWCKn8JCnFh9x0TJ7vK2p4PU="; }; @@ -19,9 +19,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "TUI-like cli tool to manage the features of your rust-projects dependencies"; homepage = "https://github.com/ToBinio/cargo-features-manager"; - changelog = "https://github.com/ToBinio/cargo-features-manager/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/ToBinio/cargo-features-manager/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; mainProgram = "cargo-features"; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-flamegraph/package.nix b/pkgs/by-name/ca/cargo-flamegraph/package.nix index f87066b1cab9..950e973d681f 100644 --- a/pkgs/by-name/ca/cargo-flamegraph/package.nix +++ b/pkgs/by-name/ca/cargo-flamegraph/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-flamegraph"; version = "0.6.11"; src = fetchFromGitHub { owner = "flamegraph-rs"; repo = "flamegraph"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-WPWS3NX6t8RNNALqYF2JMLI5HWVhsVmhg9ULZKt972I="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-fund/package.nix b/pkgs/by-name/ca/cargo-fund/package.nix index d9f23c937b28..fbc89a6ac133 100644 --- a/pkgs/by-name/ca/cargo-fund/package.nix +++ b/pkgs/by-name/ca/cargo-fund/package.nix @@ -9,14 +9,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-fund"; version = "0.2.3"; src = fetchFromGitHub { owner = "acfoltzer"; repo = "cargo-fund"; - tag = version; + tag = finalAttrs.version; hash = "sha256-8mnCwWwReNH9s/gbxIhe7XdJRIA6BSUKm5jzykU5qMU="; }; @@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = with lib.maintainers; [ johntitor ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-fuzz/package.nix b/pkgs/by-name/ca/cargo-fuzz/package.nix index 5433ccb7e15f..6cd374aff03a 100644 --- a/pkgs/by-name/ca/cargo-fuzz/package.nix +++ b/pkgs/by-name/ca/cargo-fuzz/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-fuzz"; version = "0.13.1"; src = fetchFromGitHub { owner = "rust-fuzz"; repo = "cargo-fuzz"; - tag = version; + tag = finalAttrs.version; hash = "sha256-wOzzPhAuCaJfp7uRZ1kPpzMIr03couRaIbbrjL0EyYo="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-i18n/package.nix b/pkgs/by-name/ca/cargo-i18n/package.nix index eeaf52dbe1e4..04f9215c9c2b 100644 --- a/pkgs/by-name/ca/cargo-i18n/package.nix +++ b/pkgs/by-name/ca/cargo-i18n/package.nix @@ -5,14 +5,14 @@ gettext, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-i18n"; version = "0.2.13"; src = fetchFromGitHub { owner = "kellpossible"; repo = "cargo-i18n"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-azwQlXsoCgNB/TjSBBE+taUR1POBJXaPnS5Sr+HVR90="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ xrelkd ]; mainProgram = "cargo-i18n"; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-info/package.nix b/pkgs/by-name/ca/cargo-info/package.nix index 04b2aa4c90de..463564c1e890 100644 --- a/pkgs/by-name/ca/cargo-info/package.nix +++ b/pkgs/by-name/ca/cargo-info/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-info"; version = "0.7.7"; src = fetchFromGitLab { owner = "imp"; repo = "cargo-info"; - tag = version; + tag = finalAttrs.version; hash = "sha256-MrkYGUd1jsAqIVYWe7YDZaq7NPv/mHQqLS7GFrYYIo8="; }; @@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec { description = "Cargo subcommand to show crates info from crates.io"; mainProgram = "cargo-info"; homepage = "https://gitlab.com/imp/cargo-info"; - changelog = "https://gitlab.com/imp/cargo-info/-/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://gitlab.com/imp/cargo-info/-/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ mit asl20 @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-insta/package.nix b/pkgs/by-name/ca/cargo-insta/package.nix index 9993bf1cc03a..2d899da347c9 100644 --- a/pkgs/by-name/ca/cargo-insta/package.nix +++ b/pkgs/by-name/ca/cargo-insta/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-insta"; version = "1.45.1"; src = fetchFromGitHub { owner = "mitsuhiko"; repo = "insta"; - tag = version; + tag = finalAttrs.version; hash = "sha256-uNf2KkwgRCBCVFDN5ql8MisfAoU4+z7XLWogyx8sgKw="; }; @@ -32,11 +32,11 @@ rustPlatform.buildRustPackage rec { description = "Cargo subcommand for snapshot testing"; mainProgram = "cargo-insta"; homepage = "https://github.com/mitsuhiko/insta"; - changelog = "https://github.com/mitsuhiko/insta/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/mitsuhiko/insta/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ oxalica matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-lambda/package.nix b/pkgs/by-name/ca/cargo-lambda/package.nix index 13935ed8cd81..ec87d7a95376 100644 --- a/pkgs/by-name/ca/cargo-lambda/package.nix +++ b/pkgs/by-name/ca/cargo-lambda/package.nix @@ -12,14 +12,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-lambda"; version = "1.8.6"; src = fetchFromGitHub { owner = "cargo-lambda"; repo = "cargo-lambda"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ocFD2FK1nlEJ8xXhDSxpSKYU8oZk/QwfojveypVt1GU="; }; @@ -77,4 +77,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-leptos/package.nix b/pkgs/by-name/ca/cargo-leptos/package.nix index 2af0cf9734ee..ed4304cfa5e7 100644 --- a/pkgs/by-name/ca/cargo-leptos/package.nix +++ b/pkgs/by-name/ca/cargo-leptos/package.nix @@ -6,14 +6,14 @@ pkg-config, openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-leptos"; version = "0.3.4"; src = fetchFromGitHub { owner = "leptos-rs"; repo = "cargo-leptos"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-OhGppUYbRnsYjuiu3Sys+073o4ZiVqMqlt8apeY7Oho="; }; @@ -39,8 +39,8 @@ rustPlatform.buildRustPackage rec { description = "Build tool for the Leptos web framework"; mainProgram = "cargo-leptos"; homepage = "https://github.com/leptos-rs/cargo-leptos"; - changelog = "https://github.com/leptos-rs/cargo-leptos/releases/tag/v${version}"; + changelog = "https://github.com/leptos-rs/cargo-leptos/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ benwis ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-limit/package.nix b/pkgs/by-name/ca/cargo-limit/package.nix index 9e9c45a5958a..67423af6955c 100644 --- a/pkgs/by-name/ca/cargo-limit/package.nix +++ b/pkgs/by-name/ca/cargo-limit/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-limit"; version = "0.0.10"; src = fetchFromGitHub { owner = "alopatindev"; repo = "cargo-limit"; - tag = version; + tag = finalAttrs.version; sha256 = "sha256-joWDB9fhCsYVZFZdr+Gfm4JaRlm5kj+CHp34Sx5iQYk="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-llvm-lines/package.nix b/pkgs/by-name/ca/cargo-llvm-lines/package.nix index 69d2559d640b..fc912ad2ce8e 100644 --- a/pkgs/by-name/ca/cargo-llvm-lines/package.nix +++ b/pkgs/by-name/ca/cargo-llvm-lines/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-llvm-lines"; version = "0.4.45"; src = fetchFromGitHub { owner = "dtolnay"; repo = "cargo-llvm-lines"; - tag = version; + tag = finalAttrs.version; hash = "sha256-5Tf3vkDTCQCmYvfKW3OHCese6HEs9CNbcUeLyS7MsOE="; }; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { description = "Count the number of lines of LLVM IR across all instantiations of a generic function"; mainProgram = "cargo-llvm-lines"; homepage = "https://github.com/dtolnay/cargo-llvm-lines"; - changelog = "https://github.com/dtolnay/cargo-llvm-lines/releases/tag/${src.rev}"; + changelog = "https://github.com/dtolnay/cargo-llvm-lines/releases/tag/${finalAttrs.src.rev}"; license = with lib.licenses; [ asl20 # or mit @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-make/package.nix b/pkgs/by-name/ca/cargo-make/package.nix index 3a263eb4fabf..2b276f3b2bd5 100644 --- a/pkgs/by-name/ca/cargo-make/package.nix +++ b/pkgs/by-name/ca/cargo-make/package.nix @@ -8,14 +8,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-make"; version = "0.37.24"; src = fetchFromGitHub { owner = "sagiegurari"; repo = "cargo-make"; - tag = version; + tag = finalAttrs.version; hash = "sha256-hrUd4J15cDyd78BVVzi8jiDqJI1dE35WUdOo6Tq8gH8="; }; @@ -44,11 +44,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Rust task runner and build tool"; homepage = "https://github.com/sagiegurari/cargo-make"; - changelog = "https://github.com/sagiegurari/cargo-make/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/sagiegurari/cargo-make/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ xrelkd ]; mainProgram = "cargo-make"; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-modules/package.nix b/pkgs/by-name/ca/cargo-modules/package.nix index 8196b5a9bcf7..b614ce06e6f9 100644 --- a/pkgs/by-name/ca/cargo-modules/package.nix +++ b/pkgs/by-name/ca/cargo-modules/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-modules"; version = "0.25.0"; src = fetchFromGitHub { owner = "regexident"; repo = "cargo-modules"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-FghGqRV9KaRPZ7l3t/AB7f1XufOsNdiGFUk8GUwAxtY="; }; @@ -48,7 +48,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Cargo plugin for showing a tree-like overview of a crate's modules"; homepage = "https://github.com/regexident/cargo-modules"; - changelog = "https://github.com/regexident/cargo-modules/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/regexident/cargo-modules/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ rvarago @@ -56,4 +56,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "cargo-modules"; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-msrv/package.nix b/pkgs/by-name/ca/cargo-msrv/package.nix index 6a5f0ac2c861..957dc1b8ab24 100644 --- a/pkgs/by-name/ca/cargo-msrv/package.nix +++ b/pkgs/by-name/ca/cargo-msrv/package.nix @@ -10,14 +10,14 @@ gitUpdater, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-msrv"; version = "0.18.4"; src = fetchFromGitHub { owner = "foresterre"; repo = "cargo-msrv"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-dvCKi40c9PmM05MK+0VGWxny0ZA+9YO/M3zmv5Qv6b0="; }; @@ -58,4 +58,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-ndk/package.nix b/pkgs/by-name/ca/cargo-ndk/package.nix index dd0c754c9c05..2748ab265d8e 100644 --- a/pkgs/by-name/ca/cargo-ndk/package.nix +++ b/pkgs/by-name/ca/cargo-ndk/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-ndk"; version = "4.1.2"; src = fetchFromGitHub { owner = "bbqsrc"; repo = "cargo-ndk"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-1LtjBbfrHKgfqcwz40l7d4+d9C4vY/BKI2P2Oshk+a0="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-outdated/package.nix b/pkgs/by-name/ca/cargo-outdated/package.nix index ed4dedbb900e..5d92f2b6aa41 100644 --- a/pkgs/by-name/ca/cargo-outdated/package.nix +++ b/pkgs/by-name/ca/cargo-outdated/package.nix @@ -5,14 +5,14 @@ pkg-config, openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-outdated"; version = "0.18.0"; src = fetchFromGitHub { owner = "kbknapp"; repo = "cargo-outdated"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-r7FtuXx9+OmVAdL6+9s2bYHjsURmX60+2c7+2FjkSRs="; }; @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec { description = "Cargo subcommand for displaying when Rust dependencies are out of date"; mainProgram = "cargo-outdated"; homepage = "https://github.com/kbknapp/cargo-outdated"; - changelog = "https://github.com/kbknapp/cargo-outdated/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/kbknapp/cargo-outdated/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-pgo/package.nix b/pkgs/by-name/ca/cargo-pgo/package.nix index 4676f1669703..a687cb48b53b 100644 --- a/pkgs/by-name/ca/cargo-pgo/package.nix +++ b/pkgs/by-name/ca/cargo-pgo/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-pgo"; version = "0.3.0"; src = fetchFromGitHub { owner = "kobzol"; repo = "cargo-pgo"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-+mnpJwgu1zNnFVoA9SS9h0U1FOc3wyWjgFk8AMNNvFA="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ dannixon ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-pio/package.nix b/pkgs/by-name/ca/cargo-pio/package.nix index 42f3787f95b7..35401b374ca2 100644 --- a/pkgs/by-name/ca/cargo-pio/package.nix +++ b/pkgs/by-name/ca/cargo-pio/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-pio"; version = "0.25.6"; src = fetchFromGitHub { owner = "esp-rs"; repo = "embuild"; - rev = "cargo-pio-v${version}"; + rev = "cargo-pio-v${finalAttrs.version}"; hash = "sha256-YH2CPb3uBlPncd+KkP25xhCVvDB7HDxJuSqWOJ1LT3k="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dannixon ]; mainProgram = "cargo-pio"; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-readme/package.nix b/pkgs/by-name/ca/cargo-readme/package.nix index 17d5649eb0d4..fc8a1fa67697 100644 --- a/pkgs/by-name/ca/cargo-readme/package.nix +++ b/pkgs/by-name/ca/cargo-readme/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-readme"; version = "3.3.1"; src = fetchFromGitHub { owner = "webern"; repo = "cargo-readme"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-FFWHADATEfvZvxGwdkj+eTVoq7pnPuoUAhMGTokUkMs="; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-rr/package.nix b/pkgs/by-name/ca/cargo-rr/package.nix index 2020e1cb7b2b..f5bed75d5018 100644 --- a/pkgs/by-name/ca/cargo-rr/package.nix +++ b/pkgs/by-name/ca/cargo-rr/package.nix @@ -7,14 +7,14 @@ rr, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-rr"; version = "0.3.0"; src = fetchFromGitHub { owner = "danielzfranklin"; repo = "cargo-rr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-t8pRqeOdaRVG0titQhxezT2aDjljSs//MnRTTsJ73Yo="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-sort-derives/package.nix b/pkgs/by-name/ca/cargo-sort-derives/package.nix index 44134d761a05..259010fa1538 100644 --- a/pkgs/by-name/ca/cargo-sort-derives/package.nix +++ b/pkgs/by-name/ca/cargo-sort-derives/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-sort-derives"; version = "0.12.0"; src = fetchFromGitHub { owner = "lusingander"; repo = "cargo-sort-derives"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-91sfRTMcI2/MyTrv+uJmhqfL4KUAc6//yzRR9FxvPHo="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ sebimarkgraf ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-sort/package.nix b/pkgs/by-name/ca/cargo-sort/package.nix index 606cb8a23ed8..11c16c8a83ee 100644 --- a/pkgs/by-name/ca/cargo-sort/package.nix +++ b/pkgs/by-name/ca/cargo-sort/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-sort"; version = "2.0.2"; src = fetchFromGitHub { owner = "devinr528"; repo = "cargo-sort"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-mdvaRTcs2zVXKX8LrqHFrWTdnFZpAfQuWjYmeWgdGVI="; }; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { description = "Tool to check that your Cargo.toml dependencies are sorted alphabetically"; mainProgram = "cargo-sort"; homepage = "https://github.com/devinr528/cargo-sort"; - changelog = "https://github.com/devinr528/cargo-sort/blob/v${version}/changelog.md"; + changelog = "https://github.com/devinr528/cargo-sort/blob/v${finalAttrs.version}/changelog.md"; license = with lib.licenses; [ mit # or asl20 @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-supply-chain/package.nix b/pkgs/by-name/ca/cargo-supply-chain/package.nix index 97bc278430c9..3bd38adf8fc8 100644 --- a/pkgs/by-name/ca/cargo-supply-chain/package.nix +++ b/pkgs/by-name/ca/cargo-supply-chain/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-supply-chain"; version = "0.3.4"; src = fetchFromGitHub { owner = "rust-secure-code"; repo = "cargo-supply-chain"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-LTr7Y1SHk56ltYAA6AESAiWD0Rr15cY1BtOyhM4Q5iE="; }; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { description = "Gather author, contributor and publisher data on crates in your dependency graph"; mainProgram = "cargo-supply-chain"; homepage = "https://github.com/rust-secure-code/cargo-supply-chain"; - changelog = "https://github.com/rust-secure-code/cargo-supply-chain/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/rust-secure-code/cargo-supply-chain/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-sweep/package.nix b/pkgs/by-name/ca/cargo-sweep/package.nix index 2ef3124650aa..e153811bae07 100644 --- a/pkgs/by-name/ca/cargo-sweep/package.nix +++ b/pkgs/by-name/ca/cargo-sweep/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-sweep"; version = "0.8.0"; src = fetchFromGitHub { owner = "holmgr"; repo = "cargo-sweep"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-/a7quBIX3gr9vVwQfDHdfkt4Xt7UYpjMNiyqivhOvBQ="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-swift/package.nix b/pkgs/by-name/ca/cargo-swift/package.nix index 6b187dc1db35..87c097517d47 100644 --- a/pkgs/by-name/ca/cargo-swift/package.nix +++ b/pkgs/by-name/ca/cargo-swift/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-swift"; version = "0.11.0"; src = fetchFromGitHub { owner = "antoniusnaumann"; repo = "cargo-swift"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-abLXt9wIw/qhSkusRSmHJHU8feojaLVQeFP8DAkE1Gc="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = with lib.maintainers; [ elliot ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-temp/package.nix b/pkgs/by-name/ca/cargo-temp/package.nix index aa29c790d2a2..ce9a144b87b9 100644 --- a/pkgs/by-name/ca/cargo-temp/package.nix +++ b/pkgs/by-name/ca/cargo-temp/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-temp"; version = "0.4.0"; src = fetchFromGitHub { owner = "yozhgoor"; repo = "cargo-temp"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-F7KIYEWZN4KAVoBRquL7/VH0p+MSFGO0n2PkbXljyPM="; }; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { description = "CLI tool that allow you to create a temporary new Rust project using cargo with already installed dependencies"; mainProgram = "cargo-temp"; homepage = "https://github.com/yozhgoor/cargo-temp"; - changelog = "https://github.com/yozhgoor/cargo-temp/releases/tag/${src.rev}"; + changelog = "https://github.com/yozhgoor/cargo-temp/releases/tag/${finalAttrs.src.rev}"; license = with lib.licenses; [ mit # or asl20 @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-typify/package.nix b/pkgs/by-name/ca/cargo-typify/package.nix index b2e01e48e05c..f9a4b7e46cda 100644 --- a/pkgs/by-name/ca/cargo-typify/package.nix +++ b/pkgs/by-name/ca/cargo-typify/package.nix @@ -7,14 +7,14 @@ makeWrapper, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-typify"; version = "0.1.0"; src = fetchFromGitHub { owner = "oxidecomputer"; repo = "typify"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-vokhWIY5iikTyADrqxp6DIq+tJ+xdFPebDFTddJnstA="; }; @@ -55,4 +55,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ asl20 ]; maintainers = with lib.maintainers; [ david-r-cox ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-wasi/package.nix b/pkgs/by-name/ca/cargo-wasi/package.nix index f89f556b210e..cf9a1308f063 100644 --- a/pkgs/by-name/ca/cargo-wasi/package.nix +++ b/pkgs/by-name/ca/cargo-wasi/package.nix @@ -7,12 +7,12 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-wasi"; version = "0.1.28"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; pname = "cargo-wasi-src"; hash = "sha256-fmQ23BtcBUPNcgZgvNq85iqdY6WRUhqwAp4aIobqMIw="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ lucperkins ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-watch/package.nix b/pkgs/by-name/ca/cargo-watch/package.nix index a3982a5e7f2e..c64572bb6f25 100644 --- a/pkgs/by-name/ca/cargo-watch/package.nix +++ b/pkgs/by-name/ca/cargo-watch/package.nix @@ -5,14 +5,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-watch"; version = "8.5.3"; src = fetchFromGitHub { owner = "watchexec"; repo = "cargo-watch"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-agwK20MkvnhqSVAWMy3HLkUJbraINn12i6VAg8mTzBk="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-whatfeatures/package.nix b/pkgs/by-name/ca/cargo-whatfeatures/package.nix index 9f94cc7b6d60..11bbb57f2ef4 100644 --- a/pkgs/by-name/ca/cargo-whatfeatures/package.nix +++ b/pkgs/by-name/ca/cargo-whatfeatures/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-whatfeatures"; version = "0.9.13"; src = fetchFromGitHub { owner = "museun"; repo = "cargo-whatfeatures"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-YJ08oBTn9OwovnTOuuc1OuVsQp+/TPO3vcY4ybJ26Ms="; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-wipe/package.nix b/pkgs/by-name/ca/cargo-wipe/package.nix index fe8eb2802c40..37c4c4ad8273 100644 --- a/pkgs/by-name/ca/cargo-wipe/package.nix +++ b/pkgs/by-name/ca/cargo-wipe/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-wipe"; version = "0.4.0"; src = fetchFromGitHub { owner = "mihai-dinculescu"; repo = "cargo-wipe"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-r+JMM6KUqcqpLi1Js/2RI8FSoaA5f7yXJ1EuCJB1fyE="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ otavio ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-wizard/package.nix b/pkgs/by-name/ca/cargo-wizard/package.nix index 3d5d5ae0bbb8..67ba02eed1ee 100644 --- a/pkgs/by-name/ca/cargo-wizard/package.nix +++ b/pkgs/by-name/ca/cargo-wizard/package.nix @@ -5,14 +5,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-wizard"; version = "0.2.2"; src = fetchFromGitHub { owner = "kobzol"; repo = "cargo-wizard"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-oFPSgjXZ+Kq59tV/7s6WPF6FHXENoZv8D245yyT0E9E="; }; @@ -25,9 +25,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Cargo subcommand for configuring Cargo profile for best performance"; homepage = "https://github.com/kobzol/cargo-wizard"; - changelog = "https://github.com/kobzol/cargo-wizard/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/kobzol/cargo-wizard/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "cargo-wizard"; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-xbuild/package.nix b/pkgs/by-name/ca/cargo-xbuild/package.nix index f0fb66d52950..9e8aa89d6b87 100644 --- a/pkgs/by-name/ca/cargo-xbuild/package.nix +++ b/pkgs/by-name/ca/cargo-xbuild/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-xbuild"; version = "0.6.6"; src = fetchFromGitHub { owner = "rust-osdev"; repo = "cargo-xbuild"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-29rCjmzxxIjR5nBN2J3xxP+r8NnPIJV90FkSQQEBbo4="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { xrelkd ]; }; -} +}) diff --git a/pkgs/by-name/ca/cargo-xwin/package.nix b/pkgs/by-name/ca/cargo-xwin/package.nix index f78c3d98e88c..2bd25e2dcac7 100644 --- a/pkgs/by-name/ca/cargo-xwin/package.nix +++ b/pkgs/by-name/ca/cargo-xwin/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-xwin"; version = "0.21.4"; src = fetchFromGitHub { owner = "rust-cross"; repo = "cargo-xwin"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-mgFMjNxjB4S9/nou6S8NN8ZpXX7K49lLArt/cXcSPIE="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ shivaraj-bh ]; }; -} +}) diff --git a/pkgs/by-name/ca/carl/package.nix b/pkgs/by-name/ca/carl/package.nix index c498fbef402c..0b6264ae7e7a 100644 --- a/pkgs/by-name/ca/carl/package.nix +++ b/pkgs/by-name/ca/carl/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "carl"; version = "0.6.0"; src = fetchFromGitHub { owner = "b1rger"; repo = "carl"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ikD4T3zP/IJ+8Wxn8aohJTKbcy+QKAUoX/kkVAUVoNk="; }; @@ -27,9 +27,9 @@ rustPlatform.buildRustPackage rec { support ''; homepage = "https://github.com/b1rger/carl"; - changelog = "https://github.com/b1rger/carl/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/b1rger/carl/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ matthewcroughan ]; mainProgram = "carl"; }; -} +}) diff --git a/pkgs/by-name/ca/castor/package.nix b/pkgs/by-name/ca/castor/package.nix index 668a94e84e9f..2cc25bd8c4d5 100644 --- a/pkgs/by-name/ca/castor/package.nix +++ b/pkgs/by-name/ca/castor/package.nix @@ -12,14 +12,14 @@ cairo, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "castor"; version = "0.9.0"; src = fetchFromSourcehut { owner = "~julienxx"; repo = "castor"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-yYLDbxmUR86fdpbHQQTiHVUbicnOD75cl3Vhofw5qr0="; }; @@ -50,4 +50,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ fgaz ]; }; -} +}) diff --git a/pkgs/by-name/ca/cauwugo/package.nix b/pkgs/by-name/ca/cauwugo/package.nix index 84744da712bd..cafe3a1b5fec 100644 --- a/pkgs/by-name/ca/cauwugo/package.nix +++ b/pkgs/by-name/ca/cauwugo/package.nix @@ -6,12 +6,12 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cauwugo"; version = "0.1.0"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; pname = "bpaf_cauwugo"; hash = "sha256-9gWUu2qbscKlbWZlRbOn+rrmizegkHxPnwnAmpaV1Ww="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/cb/cbfmt/package.nix b/pkgs/by-name/cb/cbfmt/package.nix index cabca9dc0291..f7adfb6877ae 100644 --- a/pkgs/by-name/cb/cbfmt/package.nix +++ b/pkgs/by-name/cb/cbfmt/package.nix @@ -6,14 +6,14 @@ cbfmt, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cbfmt"; version = "0.2.0"; src = fetchFromGitHub { owner = "lukas-reineke"; repo = "cbfmt"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-/ZvL1ZHXcmE1n+hHvJeSqmnI9nSHJ+zM9lLNx0VQfIE="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ lib.maintainers.stehessel ]; }; -} +}) diff --git a/pkgs/by-name/ce/cedar/package.nix b/pkgs/by-name/ce/cedar/package.nix index e2a9b7ef3426..2f0b387a65a3 100644 --- a/pkgs/by-name/ce/cedar/package.nix +++ b/pkgs/by-name/ce/cedar/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cedar"; version = "4.5.1"; src = fetchFromGitHub { owner = "cedar-policy"; repo = "cedar"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-f8d7KL1DzEfJqEJ5uwwOJCgePE/frOXIFcXuoybIp2U="; }; @@ -28,9 +28,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Implementation of the Cedar Policy Language"; homepage = "https://github.com/cedar-policy/cedar"; - changelog = "https://github.com/cedar-policy/cedar/releases/tag/v${version}"; + changelog = "https://github.com/cedar-policy/cedar/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ meain ]; mainProgram = "cedar"; }; -} +}) diff --git a/pkgs/by-name/ce/celeste/package.nix b/pkgs/by-name/ce/celeste/package.nix index e3535bf41e09..6f54709bdd78 100644 --- a/pkgs/by-name/ce/celeste/package.nix +++ b/pkgs/by-name/ce/celeste/package.nix @@ -18,14 +18,14 @@ rclone, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "celeste"; version = "0.8.3"; src = fetchFromGitHub { owner = "hwittenborn"; repo = "celeste"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Yj2PvAlAkwLaSE27KnzEmiRAD5K/YVGbF4+N3uhDVT8="; }; @@ -92,11 +92,11 @@ rustPlatform.buildRustPackage rec { ''; meta = { - changelog = "https://github.com/hwittenborn/celeste/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/hwittenborn/celeste/blob/${finalAttrs.src.rev}/CHANGELOG.md"; description = "GUI file synchronization client that can sync with any cloud provider"; mainProgram = "celeste"; homepage = "https://github.com/hwittenborn/celeste"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +}) diff --git a/pkgs/by-name/ce/centerpiece/package.nix b/pkgs/by-name/ce/centerpiece/package.nix index df2414229b3c..11dd38e8e9a5 100644 --- a/pkgs/by-name/ce/centerpiece/package.nix +++ b/pkgs/by-name/ce/centerpiece/package.nix @@ -16,14 +16,14 @@ libx11, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "centerpiece"; version = "1.1.1"; src = fetchFromGitHub { owner = "friedow"; repo = "centerpiece"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-tZNwMPL1ITWVvoywojsd5j0GIVQt6pOKFLwi7jwqLKg="; }; @@ -67,4 +67,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "centerpiece"; }; -} +}) diff --git a/pkgs/by-name/cf/cfdyndns/package.nix b/pkgs/by-name/cf/cfdyndns/package.nix index e3a73ce405ff..99e36d48b53b 100644 --- a/pkgs/by-name/cf/cfdyndns/package.nix +++ b/pkgs/by-name/cf/cfdyndns/package.nix @@ -6,13 +6,13 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cfdyndns"; version = "0.2.1"; src = fetchFromGitHub { owner = "nrdxp"; repo = "cfdyndns"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-OV1YRcZDzYy1FP1Bqp9m+Jxgu6Vc0aWpbAffNcdIW/4="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = with lib.platforms; linux; }; -} +}) diff --git a/pkgs/by-name/ch/charasay/package.nix b/pkgs/by-name/ch/charasay/package.nix index c69556333957..4c456682beb9 100644 --- a/pkgs/by-name/ch/charasay/package.nix +++ b/pkgs/by-name/ch/charasay/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "charasay"; version = "3.3.0"; src = fetchFromGitHub { owner = "latipun7"; repo = "charasay"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-NB2GDDFH9IW/c0acMojYHuzPrx0J3tjlDqjQa6ZRbN4="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ hmajid2301 ]; mainProgram = "chara"; }; -} +}) diff --git a/pkgs/by-name/ch/chars/package.nix b/pkgs/by-name/ch/chars/package.nix index 0070d478c3e6..4f4c7f552380 100644 --- a/pkgs/by-name/ch/chars/package.nix +++ b/pkgs/by-name/ch/chars/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "chars"; version = "0.7.0"; src = fetchFromGitHub { owner = "antifuchs"; repo = "chars"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-mBtwdPzIc6RgEFTyReStFlhS4UhhRWjBTKT6gD3tzpQ="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ bbigras ]; }; -} +}) diff --git a/pkgs/by-name/ch/chirpstack-concentratord/package.nix b/pkgs/by-name/ch/chirpstack-concentratord/package.nix index 79d6f3f60367..ed1a9727bbe6 100644 --- a/pkgs/by-name/ch/chirpstack-concentratord/package.nix +++ b/pkgs/by-name/ch/chirpstack-concentratord/package.nix @@ -8,14 +8,14 @@ libloragw-sx1301, libloragw-sx1302, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "chirpstack-concentratord"; version = "4.5.3"; src = fetchFromGitHub { owner = "chirpstack"; repo = "chirpstack-concentratord"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-D/zp3stjV0EUnUZlEVQ7YwFlczTxG0f0ABPban0JhPM="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "chirpstack-concentratord"; }; -} +}) diff --git a/pkgs/by-name/ch/choose/package.nix b/pkgs/by-name/ch/choose/package.nix index 31da68a6bc12..60d418c05e8d 100644 --- a/pkgs/by-name/ch/choose/package.nix +++ b/pkgs/by-name/ch/choose/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "choose"; version = "1.3.7"; src = fetchFromGitHub { owner = "theryangeary"; repo = "choose"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-nqL8CAnpqOaecC6vHlCtVXFRO0OAGZAn12TdOM5iUFA="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ sohalt ]; }; -} +}) diff --git a/pkgs/by-name/ci/cicero-tui/package.nix b/pkgs/by-name/ci/cicero-tui/package.nix index ef1e18b1ea81..793e4438d2d6 100644 --- a/pkgs/by-name/ci/cicero-tui/package.nix +++ b/pkgs/by-name/ci/cicero-tui/package.nix @@ -9,14 +9,14 @@ freetype, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cicero-tui"; version = "0.4.0"; src = fetchFromGitHub { owner = "eyeplum"; repo = "cicero-tui"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-2raSkIycXCdT/TSlaQviI6Eql7DONgRVsPP2B2YuW8U="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "cicero"; }; -} +}) diff --git a/pkgs/by-name/ci/ciel/package.nix b/pkgs/by-name/ci/ciel/package.nix index 1fd0ced01cec..bf5b14e7eaba 100644 --- a/pkgs/by-name/ci/ciel/package.nix +++ b/pkgs/by-name/ci/ciel/package.nix @@ -14,14 +14,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ciel"; version = "3.9.11"; src = fetchFromGitHub { owner = "AOSC-Dev"; repo = "ciel-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-x26qy9dtycu8aRwMi3BNo15jthde2OVnwumSCwVt32c="; }; @@ -69,4 +69,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "ciel"; }; -} +}) diff --git a/pkgs/by-name/ci/circom/package.nix b/pkgs/by-name/ci/circom/package.nix index 91e12a7c0be9..80b4804393f3 100644 --- a/pkgs/by-name/ci/circom/package.nix +++ b/pkgs/by-name/ci/circom/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "circom"; version = "2.2.3"; src = fetchFromGitHub { owner = "iden3"; repo = "circom"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-om9rLaQAimbBQx3kl+OlRpewqYcEEu0MiudaFfSDI2A="; }; @@ -22,8 +22,8 @@ rustPlatform.buildRustPackage rec { description = "zkSnark circuit compiler"; mainProgram = "circom"; homepage = "https://github.com/iden3/circom"; - changelog = "https://github.com/iden3/circom/blob/${src.rev}/RELEASES.md"; + changelog = "https://github.com/iden3/circom/blob/${finalAttrs.src.rev}/RELEASES.md"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ raitobezarius ]; }; -} +}) diff --git a/pkgs/by-name/cj/cjdns/package.nix b/pkgs/by-name/cj/cjdns/package.nix index f6f2ce3a71dc..e30db3812057 100644 --- a/pkgs/by-name/cj/cjdns/package.nix +++ b/pkgs/by-name/cj/cjdns/package.nix @@ -13,14 +13,14 @@ replaceVars, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cjdns"; version = "22.1"; src = fetchFromGitHub { owner = "cjdelisle"; repo = "cjdns"; - tag = "cjdns-v${version}"; + tag = "cjdns-v${finalAttrs.version}"; hash = "sha256-0imQrkcvIA+2Eq/zlC65USMR7T3OUKwQxrB1KtVexyU="; }; @@ -88,8 +88,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "Encrypted networking for regular people"; homepage = "https://github.com/cjdelisle/cjdns"; - changelog = "https://github.com/cjdelisle/cjdns/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/cjdelisle/cjdns/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.gpl3Plus; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; -} +}) diff --git a/pkgs/by-name/cl/cl-wordle/package.nix b/pkgs/by-name/cl/cl-wordle/package.nix index aee52e5f81e8..782e7ccf45de 100644 --- a/pkgs/by-name/cl/cl-wordle/package.nix +++ b/pkgs/by-name/cl/cl-wordle/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cl-wordle"; version = "0.5.0"; src = fetchFromGitHub { owner = "conradludgate"; repo = "wordle"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-wFTvzAzboUFQg3fauIwIdRChK7rmLES92jK+8ff1D3s="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "wordle"; }; -} +}) diff --git a/pkgs/by-name/cl/clapboard/package.nix b/pkgs/by-name/cl/clapboard/package.nix index a8fe6534520a..ed14ee77ce72 100644 --- a/pkgs/by-name/cl/clapboard/package.nix +++ b/pkgs/by-name/cl/clapboard/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "clapboard"; version = "1.1.1"; src = fetchFromGitHub { owner = "bjesus"; repo = "clapboard"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-vRIwdbt8f9/K7QAfFtBXrr4ezymlnzarq08W7J3aRiU="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "clapboard"; }; -} +}) diff --git a/pkgs/by-name/cl/clashtui/package.nix b/pkgs/by-name/cl/clashtui/package.nix index 54081266a062..6b5c9d8d72d3 100644 --- a/pkgs/by-name/cl/clashtui/package.nix +++ b/pkgs/by-name/cl/clashtui/package.nix @@ -6,18 +6,18 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "clashtui"; version = "0.2.3"; src = fetchFromGitHub { owner = "JohanChane"; repo = "clashtui"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-2iQVYZrqo55EO0ZGn6ktP/3Py5v+LiVgrSYTtaxYXyQ="; }; - sourceRoot = "${src.name}/clashtui"; + sourceRoot = "${finalAttrs.src.name}/clashtui"; cargoHash = "sha256-8oDnumyn0Ry1AIWNLO2+1HSPsxkVLRLItgEVEXqSRFI="; @@ -39,10 +39,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Mihomo (Clash.Meta) TUI Client"; homepage = "https://github.com/JohanChane/clashtui"; - changelog = "https://github.com/JohanChane/clashtui/releases/tag/v${version}"; + changelog = "https://github.com/JohanChane/clashtui/releases/tag/v${finalAttrs.version}"; mainProgram = "clashtui"; license = lib.licenses.mit; platforms = lib.platforms.linux; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/cl/click/package.nix b/pkgs/by-name/cl/click/package.nix index df5c8d87707b..8002635fc937 100644 --- a/pkgs/by-name/cl/click/package.nix +++ b/pkgs/by-name/cl/click/package.nix @@ -7,14 +7,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "click"; version = "0.6.3"; src = fetchFromGitHub { owner = "databricks"; repo = "click"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-tYSbyDipZg6Qj/CWk1QVUT5AG8ncTt+5V1+ekpmsKXA="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "click"; }; -} +}) diff --git a/pkgs/by-name/cl/clipcat/package.nix b/pkgs/by-name/cl/clipcat/package.nix index 1e245f33c6c4..95ae2dab7cdd 100644 --- a/pkgs/by-name/cl/clipcat/package.nix +++ b/pkgs/by-name/cl/clipcat/package.nix @@ -8,14 +8,14 @@ writableTmpDirAsHomeHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "clipcat"; version = "0.24.0"; src = fetchFromGitHub { owner = "xrelkd"; repo = "clipcat"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-EEM2gwr5j3umpZqHnxCO81EZbLQ3nYGcxb6DBJ7AbC8="; }; @@ -57,4 +57,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "clipcatd"; }; -} +}) diff --git a/pkgs/by-name/cl/cloak/package.nix b/pkgs/by-name/cl/cloak/package.nix index 227a62f67027..91609fbab10b 100644 --- a/pkgs/by-name/cl/cloak/package.nix +++ b/pkgs/by-name/cl/cloak/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cloak"; version = "0.3.0"; src = fetchFromGitHub { owner = "evansmurithi"; repo = "cloak"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Pd2aorsXdHB1bs609+S5s+WV5M1ql48yIKaoN8SEvsg="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ mvs ]; mainProgram = "cloak"; }; -} +}) diff --git a/pkgs/by-name/cl/clock-rs/package.nix b/pkgs/by-name/cl/clock-rs/package.nix index 579c183b8489..7aa2947f2de8 100644 --- a/pkgs/by-name/cl/clock-rs/package.nix +++ b/pkgs/by-name/cl/clock-rs/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "clock-rs"; version = "0.1.216"; src = fetchFromGitHub { owner = "Oughie"; repo = "clock-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-sSofMZThR025O2J4PnOMWVEuBt/+oZ01yDAQAijca0A="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.oughie ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/cm/cmd-wrapped/package.nix b/pkgs/by-name/cm/cmd-wrapped/package.nix index ac6eefaf8947..0ac9988d6ea9 100644 --- a/pkgs/by-name/cm/cmd-wrapped/package.nix +++ b/pkgs/by-name/cm/cmd-wrapped/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cmd-wrapped"; version = "0.4.1"; src = fetchFromGitHub { owner = "YiNNx"; repo = "cmd-wrapped"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-tIvwJo33Jz9cPq6o4Ytc3VqkxEaxt0W9Fd8CNp+7vAE="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ Cryolitia ]; mainProgram = "cmd-wrapped"; }; -} +}) diff --git a/pkgs/by-name/cn/cntr/package.nix b/pkgs/by-name/cn/cntr/package.nix index 041b0dd2098b..9aecc12ff9eb 100644 --- a/pkgs/by-name/cn/cntr/package.nix +++ b/pkgs/by-name/cn/cntr/package.nix @@ -5,14 +5,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cntr"; version = "2.0.0"; src = fetchFromGitHub { owner = "Mic92"; repo = "cntr"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-4HBOUx9086nn3hRBLA4zuH0Dq+qDZHgo3DivmiEMh3w="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "cntr"; }; -} +}) diff --git a/pkgs/by-name/co/cocogitto/package.nix b/pkgs/by-name/co/cocogitto/package.nix index 97a054e11ec4..e7ecd754de28 100644 --- a/pkgs/by-name/co/cocogitto/package.nix +++ b/pkgs/by-name/co/cocogitto/package.nix @@ -7,14 +7,14 @@ libgit2, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cocogitto"; version = "6.5.0"; src = fetchFromGitHub { owner = "oknozor"; repo = "cocogitto"; - tag = version; + tag = finalAttrs.version; hash = "sha256-aAVoPPeuJN6QPcuc3oBF93dP6U+74bAoSDw93XR01Vo="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/co/cocom/package.nix b/pkgs/by-name/co/cocom/package.nix index b804266d7221..abc57881b8dd 100644 --- a/pkgs/by-name/co/cocom/package.nix +++ b/pkgs/by-name/co/cocom/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cocom"; version = "1.1.3"; src = fetchFromGitHub { owner = "LamdaLamdaLamda"; repo = "cocom"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "0sl4ivn95sr5pgw2z877gmhyfc4mk9xr457i5g2i4wqnf2jmy14j"; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ fab ]; mainProgram = "cocom"; }; -} +}) diff --git a/pkgs/by-name/co/code-minimap/package.nix b/pkgs/by-name/co/code-minimap/package.nix index ca8d4de9577d..3f9eff202031 100644 --- a/pkgs/by-name/co/code-minimap/package.nix +++ b/pkgs/by-name/co/code-minimap/package.nix @@ -6,14 +6,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "code-minimap"; version = "0.6.8"; src = fetchFromGitHub { owner = "wfxr"; repo = "code-minimap"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-unf7gFc/tQiUw3VqQ0KC96Srxn1E27WsmJviSggaCF4="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ bsima ]; mainProgram = "code-minimap"; }; -} +}) diff --git a/pkgs/by-name/co/code2prompt/package.nix b/pkgs/by-name/co/code2prompt/package.nix index b2793a687ca8..66d9da853e45 100644 --- a/pkgs/by-name/co/code2prompt/package.nix +++ b/pkgs/by-name/co/code2prompt/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "code2prompt"; version = "1.1.0"; src = fetchFromGitHub { owner = "mufeedvh"; repo = "code2prompt"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-KZqh0Vq4Mn56PhUO1JUzVpNBAGOZqUAsj31Cj5K+Lyk="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ heisfer ]; mainProgram = "code2prompt"; }; -} +}) diff --git a/pkgs/by-name/co/codeberg-cli/package.nix b/pkgs/by-name/co/codeberg-cli/package.nix index 68fc1cc1d00c..f36197d13024 100644 --- a/pkgs/by-name/co/codeberg-cli/package.nix +++ b/pkgs/by-name/co/codeberg-cli/package.nix @@ -7,14 +7,14 @@ rustPlatform, stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "codeberg-cli"; version = "0.5.4"; src = fetchFromCodeberg { owner = "Aviac"; repo = "codeberg-cli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-o+Jf9JKDGsnSVV8sJcJddZG+9DBn6DB4HfaxLxxwa+U="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ robwalt ]; mainProgram = "berg"; }; -} +}) diff --git a/pkgs/by-name/co/codevis/package.nix b/pkgs/by-name/co/codevis/package.nix index 32fac05a2bc8..b31d282ca9ce 100644 --- a/pkgs/by-name/co/codevis/package.nix +++ b/pkgs/by-name/co/codevis/package.nix @@ -6,14 +6,14 @@ oniguruma, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "codevis"; version = "0.8.4"; src = fetchFromGitHub { owner = "sloganking"; repo = "codevis"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-LZ6NsoyEPUvgcVdbG7U2Vzuz/TLLraScvW97PocUNpU="; }; @@ -34,9 +34,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Tool to take all source code in a folder and render them to one image"; homepage = "https://github.com/sloganking/codevis"; - changelog = "https://github.com/sloganking/codevis/releases/tag/${src.rev}"; + changelog = "https://github.com/sloganking/codevis/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "codevis"; }; -} +}) diff --git a/pkgs/by-name/co/codex-acp/package.nix b/pkgs/by-name/co/codex-acp/package.nix index 6e800c73f678..613308ff33a9 100644 --- a/pkgs/by-name/co/codex-acp/package.nix +++ b/pkgs/by-name/co/codex-acp/package.nix @@ -5,14 +5,14 @@ pkg-config, openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "codex-acp"; version = "0.9.1"; src = fetchFromGitHub { owner = "zed-industries"; repo = "codex-acp"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-QQye6H5XCHDsqypXK5ROQ27PYk/W0Cip61sjECZDQo4="; }; @@ -31,11 +31,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "An ACP-compatible coding agent powered by Codex"; homepage = "https://github.com/zed-industries/codex-acp"; - changelog = "https://github.com/zed-industries/codex-acp/releases/tag/v${version}"; + changelog = "https://github.com/zed-industries/codex-acp/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ tlvince ]; platforms = lib.platforms.unix; sourceProvenance = with lib.sourceTypes; [ fromSource ]; mainProgram = "codex-acp"; }; -} +}) diff --git a/pkgs/by-name/co/coinlive/package.nix b/pkgs/by-name/co/coinlive/package.nix index 9005e9f9ed17..2eb87a47a43a 100644 --- a/pkgs/by-name/co/coinlive/package.nix +++ b/pkgs/by-name/co/coinlive/package.nix @@ -7,14 +7,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "coinlive"; version = "0.2.2"; src = fetchFromGitHub { owner = "mayeranalytics"; repo = "coinlive"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-llw97jjfPsDd4nYi6lb9ug6sApPoD54WlzpJswvdbRs="; }; @@ -38,9 +38,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Live cryptocurrency prices CLI"; homepage = "https://github.com/mayeranalytics/coinlive"; - changelog = "https://github.com/mayeranalytics/coinlive/releases/tag/v${version}"; + changelog = "https://github.com/mayeranalytics/coinlive/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ fab ]; mainProgram = "coinlive"; }; -} +}) diff --git a/pkgs/by-name/co/coldsnap/package.nix b/pkgs/by-name/co/coldsnap/package.nix index 1b55f86487fb..f1eadab25e62 100644 --- a/pkgs/by-name/co/coldsnap/package.nix +++ b/pkgs/by-name/co/coldsnap/package.nix @@ -6,14 +6,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "coldsnap"; version = "0.9.0"; src = fetchFromGitHub { owner = "awslabs"; repo = "coldsnap"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8+YPKjHi3VURzSOflIa0x4uBkoDMYGFJiFcNJ+8NJ7Q="; }; @@ -25,8 +25,8 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://github.com/awslabs/coldsnap"; description = "Command line interface for Amazon EBS snapshots"; - changelog = "https://github.com/awslabs/coldsnap/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/awslabs/coldsnap/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.asl20; mainProgram = "coldsnap"; }; -} +}) diff --git a/pkgs/by-name/co/colo/package.nix b/pkgs/by-name/co/colo/package.nix index af75839df5e2..5415323ac58b 100644 --- a/pkgs/by-name/co/colo/package.nix +++ b/pkgs/by-name/co/colo/package.nix @@ -4,14 +4,14 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "colo"; version = "0.4.1"; src = fetchFromGitHub { owner = "Aloso"; repo = "colo"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ocGzZR4gM2sInXccbHxh7Vf0kcZTZOnVW0KM6zp/pR8="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ llakala ]; }; -} +}) diff --git a/pkgs/by-name/co/colorpanes/package.nix b/pkgs/by-name/co/colorpanes/package.nix index 234bc0a88b2c..7606aac7673f 100644 --- a/pkgs/by-name/co/colorpanes/package.nix +++ b/pkgs/by-name/co/colorpanes/package.nix @@ -4,14 +4,14 @@ fetchFromCodeberg, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "colorpanes"; version = "3.0.1"; src = fetchFromCodeberg { owner = "annaaurora"; repo = "colorpanes"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "qaOH+LXNDq+utwyI1yzHWNt25AvdAXCTAziGV9ElroU="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.lgpl3Only; maintainers = with lib.maintainers; [ annaaurora ]; }; -} +}) diff --git a/pkgs/by-name/co/coloursum/package.nix b/pkgs/by-name/co/coloursum/package.nix index d3ee37f1b62f..0b530dc46543 100644 --- a/pkgs/by-name/co/coloursum/package.nix +++ b/pkgs/by-name/co/coloursum/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "coloursum"; version = "0.3.0"; src = fetchFromGitHub { owner = "ticky"; repo = "coloursum"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-zA2JhSnlFccSY01WMGsgF4AmrF/3BRUCcSMfoEbEPgA="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ fgaz ]; }; -} +}) diff --git a/pkgs/by-name/co/commit-formatter/package.nix b/pkgs/by-name/co/commit-formatter/package.nix index 1b4d9934939a..df2dd6945431 100644 --- a/pkgs/by-name/co/commit-formatter/package.nix +++ b/pkgs/by-name/co/commit-formatter/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "commit-formatter"; version = "0.3.0"; src = fetchFromGitHub { owner = "Eliot00"; repo = "commit-formatter"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-hXpHEtPj6lrYBAzz8ZrhK+L3RBB2K1VIAi81kFlFgxY="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ elliot ]; mainProgram = "git-cf"; }; -} +}) diff --git a/pkgs/by-name/co/commitlint-rs/package.nix b/pkgs/by-name/co/commitlint-rs/package.nix index 1908dc3f0a58..853611e242d2 100644 --- a/pkgs/by-name/co/commitlint-rs/package.nix +++ b/pkgs/by-name/co/commitlint-rs/package.nix @@ -7,14 +7,14 @@ testers, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "commitlint-rs"; version = "0.2.3"; src = fetchFromGitHub { owner = "KeisukeYamashita"; repo = "commitlint-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-rNCMvIVJ/aOTNMyAmwX3Ir6IjHf6wxZ1XlGIWp7omkQ="; }; @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Lint commit messages with conventional commit messages"; homepage = "https://keisukeyamashita.github.io/commitlint-rs"; - changelog = "https://github.com/KeisukeYamashita/commitlint-rs/releases/tag/${src.rev}"; + changelog = "https://github.com/KeisukeYamashita/commitlint-rs/releases/tag/${finalAttrs.src.rev}"; license = with lib.licenses; [ mit asl20 @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "commitlint"; platforms = with lib.platforms; unix ++ windows; }; -} +}) diff --git a/pkgs/by-name/co/commitmsgfmt/package.nix b/pkgs/by-name/co/commitmsgfmt/package.nix index e8b68b668d75..8feda95772a6 100644 --- a/pkgs/by-name/co/commitmsgfmt/package.nix +++ b/pkgs/by-name/co/commitmsgfmt/package.nix @@ -6,14 +6,14 @@ commitmsgfmt, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "commitmsgfmt"; version = "1.7.0"; src = fetchFromGitLab { owner = "mkjeldsen"; repo = "commitmsgfmt"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-6mMjDMWkpaKXqmyE2taV4pDa92Tdt4VEHHLdOpRHung="; }; @@ -27,10 +27,10 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://gitlab.com/mkjeldsen/commitmsgfmt"; - changelog = "https://gitlab.com/mkjeldsen/commitmsgfmt/-/raw/v${version}/CHANGELOG.md"; + changelog = "https://gitlab.com/mkjeldsen/commitmsgfmt/-/raw/v${finalAttrs.version}/CHANGELOG.md"; description = "Formats commit messages better than fmt(1) and Vim"; mainProgram = "commitmsgfmt"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ mmlb ]; }; -} +}) diff --git a/pkgs/by-name/co/comodoro/package.nix b/pkgs/by-name/co/comodoro/package.nix index 55b24003958f..1ab5f9f99035 100644 --- a/pkgs/by-name/co/comodoro/package.nix +++ b/pkgs/by-name/co/comodoro/package.nix @@ -9,14 +9,14 @@ withTcp ? true, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "comodoro"; version = "0.0.10"; src = fetchFromGitHub { owner = "soywod"; repo = "comodoro"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Y9SuxqI8wvoF0+X6CLNDlSFCwlSU8R73NYF/LjACP18="; }; @@ -43,9 +43,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI to manage your time"; homepage = "https://github.com/pimalaya/comodoro"; - changelog = "https://github.com/soywod/comodoro/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/soywod/comodoro/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ soywod ]; mainProgram = "comodoro"; }; -} +}) diff --git a/pkgs/by-name/co/comrak/package.nix b/pkgs/by-name/co/comrak/package.nix index 4fcb23f33597..4b8af5f53997 100644 --- a/pkgs/by-name/co/comrak/package.nix +++ b/pkgs/by-name/co/comrak/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "comrak"; version = "0.50.0"; src = fetchFromGitHub { owner = "kivikakk"; repo = "comrak"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-OWfNg66ZLorN+PW26v2n695f8vfqT76jO6Bl+M/FNdc="; }; @@ -21,10 +21,10 @@ rustPlatform.buildRustPackage rec { description = "CommonMark-compatible GitHub Flavored Markdown parser and formatter"; mainProgram = "comrak"; homepage = "https://github.com/kivikakk/comrak"; - changelog = "https://github.com/kivikakk/comrak/blob/v${version}/changelog.txt"; + changelog = "https://github.com/kivikakk/comrak/blob/v${finalAttrs.version}/changelog.txt"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ kivikakk ]; }; -} +}) diff --git a/pkgs/by-name/co/config-store/package.nix b/pkgs/by-name/co/config-store/package.nix index f1b44e0ea9cf..5451aca532ae 100644 --- a/pkgs/by-name/co/config-store/package.nix +++ b/pkgs/by-name/co/config-store/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "config-store"; version = "1.0.0"; src = fetchFromGitHub { owner = "DOD-101"; repo = "config-store"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-dmFIB9tVI5/hnI+VKeawFzKi6UJrRis0tpeQE5a5dGU="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ dod-101 ]; }; -} +}) diff --git a/pkgs/by-name/co/conmon-rs/package.nix b/pkgs/by-name/co/conmon-rs/package.nix index cac1b26323b2..5076edd450ce 100644 --- a/pkgs/by-name/co/conmon-rs/package.nix +++ b/pkgs/by-name/co/conmon-rs/package.nix @@ -6,14 +6,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "conmon-rs"; version = "0.7.3"; src = fetchFromGitHub { owner = "containers"; repo = "conmon-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-fs+IcibhyoC5+Sbr9lWtBbb0Sk6Uf+YVockXNbCLXCY="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { teams = [ lib.teams.podman ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/co/conserve/package.nix b/pkgs/by-name/co/conserve/package.nix index d5c04cf05af7..367e462d71b4 100644 --- a/pkgs/by-name/co/conserve/package.nix +++ b/pkgs/by-name/co/conserve/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "conserve"; version = "24.8.0"; src = fetchFromGitHub { owner = "sourcefrog"; repo = "conserve"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-rdZTx0wFFtWt3EcpvWHY6m+8TEHEj53vhVpdRp5wbos="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ happysalada ]; mainProgram = "conserve"; }; -} +}) diff --git a/pkgs/by-name/co/convco/package.nix b/pkgs/by-name/co/convco/package.nix index 0eb992263cab..9c7abd5de926 100644 --- a/pkgs/by-name/co/convco/package.nix +++ b/pkgs/by-name/co/convco/package.nix @@ -9,14 +9,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "convco"; version = "0.6.2"; src = fetchFromGitHub { owner = "convco"; repo = "convco"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-giVaDOYYH3YE9Gy0byt92vGEfyM4rTjpHDsKm5lqlP4="; }; @@ -51,4 +51,4 @@ rustPlatform.buildRustPackage rec { cafkafk ]; }; -} +}) diff --git a/pkgs/by-name/co/cook-cli/package.nix b/pkgs/by-name/co/cook-cli/package.nix index c9fdc2b3b86d..6aafa959bd2b 100644 --- a/pkgs/by-name/co/cook-cli/package.nix +++ b/pkgs/by-name/co/cook-cli/package.nix @@ -8,14 +8,14 @@ openssl, nodejs, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cook-cli"; version = "0.20.0"; src = fetchFromGitHub { owner = "cooklang"; repo = "cookcli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-kGjeyw3E6hYcEOcGugW+mgvXGJ38pFp+z9vAMJqPTVE="; }; @@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec { env.OPENSSL_NO_VENDOR = 1; npmDeps = fetchNpmDeps { - inherit src; + inherit (finalAttrs) src; hash = "sha256-HxC9Tf+PZvvETuNqm1W3jaZx7SpYXlxZlI8FwGouK+s="; }; @@ -47,7 +47,7 @@ rustPlatform.buildRustPackage rec { ''; meta = { - changelog = "https://github.com/cooklang/cookcli/releases/tag/v${version}"; + changelog = "https://github.com/cooklang/cookcli/releases/tag/v${finalAttrs.version}"; description = "Suite of tools to create shopping lists and maintain recipes"; homepage = "https://cooklang.org/"; license = lib.licenses.mit; @@ -58,4 +58,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; -} +}) diff --git a/pkgs/by-name/co/copycat/package.nix b/pkgs/by-name/co/copycat/package.nix index e3dbc959a698..117cc67325f7 100644 --- a/pkgs/by-name/co/copycat/package.nix +++ b/pkgs/by-name/co/copycat/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ccat"; version = "004"; src = fetchFromGitHub { owner = "DeeKahy"; repo = "CopyCat"; - tag = version; + tag = finalAttrs.version; hash = "sha256-HLT88ghyT9AwvBTf7NrFkSPqMAh90GrBqZVXN5aaG3w="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.deekahy ]; mainProgram = "ccat"; }; -} +}) diff --git a/pkgs/by-name/co/cosmic-ext-calculator/package.nix b/pkgs/by-name/co/cosmic-ext-calculator/package.nix index 7841e35e66b9..34fe72dee161 100644 --- a/pkgs/by-name/co/cosmic-ext-calculator/package.nix +++ b/pkgs/by-name/co/cosmic-ext-calculator/package.nix @@ -13,14 +13,14 @@ nix-update-script, fetchpatch, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cosmic-ext-calculator"; version = "0.2.0"; src = fetchFromGitHub { owner = "cosmic-utils"; repo = "calculator"; - tag = version; + tag = finalAttrs.version; hash = "sha256-qPo+Qi6P0m3rNA6Qo6iNsgzGyirPqzXk4nj3OG6IuZ0="; }; @@ -60,7 +60,7 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; meta = { - changelog = "https://github.com/cosmic-utils/calculator/releases/tag/${version}"; + changelog = "https://github.com/cosmic-utils/calculator/releases/tag/${finalAttrs.version}"; description = "Calculator for the COSMIC Desktop Environment"; homepage = "https://github.com/cosmic-utils/calculator"; license = lib.licenses.gpl3Only; @@ -69,4 +69,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; sourceProvenance = [ lib.sourceTypes.fromSource ]; }; -} +}) diff --git a/pkgs/by-name/co/cosmic-ext-tweaks/package.nix b/pkgs/by-name/co/cosmic-ext-tweaks/package.nix index b2c2bfc71d1b..541470b9af6b 100644 --- a/pkgs/by-name/co/cosmic-ext-tweaks/package.nix +++ b/pkgs/by-name/co/cosmic-ext-tweaks/package.nix @@ -12,14 +12,14 @@ openssl, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cosmic-ext-tweaks"; version = "0.2.0"; src = fetchFromGitHub { owner = "cosmic-utils"; repo = "tweaks"; - tag = version; + tag = finalAttrs.version; hash = "sha256-0P/KtfNUlS6E68aR3uLHJ2D4aMAdc05Svl6xSEG8XJA="; }; @@ -47,7 +47,7 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; meta = { - changelog = "https://github.com/cosmic-utils/tweaks/releases/tag/${version}"; + changelog = "https://github.com/cosmic-utils/tweaks/releases/tag/${finalAttrs.version}"; description = "Tweaking tool for the COSMIC Desktop Environment"; homepage = "https://github.com/cosmic-utils/tweaks"; license = lib.licenses.gpl3Only; @@ -56,4 +56,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; sourceProvenance = [ lib.sourceTypes.fromSource ]; }; -} +}) diff --git a/pkgs/by-name/co/cotp/package.nix b/pkgs/by-name/co/cotp/package.nix index 94691080ee93..e004e285a20f 100644 --- a/pkgs/by-name/co/cotp/package.nix +++ b/pkgs/by-name/co/cotp/package.nix @@ -6,14 +6,14 @@ libxcb, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cotp"; version = "1.9.7"; src = fetchFromGitHub { owner = "replydev"; repo = "cotp"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-N3UPeEc3xPIRHt1lOwd8c7e61jZk3PPo3sC/7BQBosY="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ davsanchez ]; mainProgram = "cotp"; }; -} +}) diff --git a/pkgs/by-name/cp/cpc/package.nix b/pkgs/by-name/cp/cpc/package.nix index 2c3ab8378cc3..8fedfbcbd1d5 100644 --- a/pkgs/by-name/cp/cpc/package.nix +++ b/pkgs/by-name/cp/cpc/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cpc"; version = "3.0.0"; src = fetchFromGitHub { owner = "probablykasper"; repo = "cpc"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-DjJIXV5rJxQOiMH8/0yZQBvDh+jbejzADt4WSGyhozI="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { s0me1newithhand7s ]; }; -} +}) diff --git a/pkgs/by-name/cr/crab-hole/package.nix b/pkgs/by-name/cr/crab-hole/package.nix index a9b14299410e..9ccae42ac2ab 100644 --- a/pkgs/by-name/cr/crab-hole/package.nix +++ b/pkgs/by-name/cr/crab-hole/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "crab-hole"; version = "0.1.12"; src = fetchFromGitHub { owner = "LuckyTurtleDev"; repo = "crab-hole"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-HJQpzUdvjGhZnH5+qlgaekDpqSUmOhR30VPzg1lZIl0="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/cr/crabz/package.nix b/pkgs/by-name/cr/crabz/package.nix index de5433a94109..114d0dbe2641 100644 --- a/pkgs/by-name/cr/crabz/package.nix +++ b/pkgs/by-name/cr/crabz/package.nix @@ -5,14 +5,14 @@ cmake, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "crabz"; version = "0.10.0"; src = fetchFromGitHub { owner = "sstadick"; repo = "crabz"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-GJHxo4WD/XMudwxOHdNwY1M+b/DFJMpU0uD3sOvO5YU="; }; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Cross platform, fast, compression and decompression tool"; homepage = "https://github.com/sstadick/crabz"; - changelog = "https://github.com/sstadick/crabz/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/sstadick/crabz/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ unlicense # or mit @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "crabz"; }; -} +}) diff --git a/pkgs/by-name/cr/crate2nix/package.nix b/pkgs/by-name/cr/crate2nix/package.nix index 762f3bd811b3..033c2b33e60c 100644 --- a/pkgs/by-name/cr/crate2nix/package.nix +++ b/pkgs/by-name/cr/crate2nix/package.nix @@ -9,18 +9,18 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "crate2nix"; version = "0.15.0"; src = fetchFromGitHub { owner = "nix-community"; repo = "crate2nix"; - rev = version; + rev = finalAttrs.version; hash = "sha256-SUuruvw1/moNzCZosHaa60QMTL+L9huWdsCBN6XZIic="; }; - sourceRoot = "${src.name}/crate2nix"; + sourceRoot = "${finalAttrs.src.name}/crate2nix"; cargoHash = "sha256-q/nPKNXZ1eJijeTBXA6Uuz235p+Q1uilXY5a/s8btMM="; @@ -63,4 +63,4 @@ rustPlatform.buildRustPackage rec { cole-h ]; }; -} +}) diff --git a/pkgs/by-name/cr/critcmp/package.nix b/pkgs/by-name/cr/critcmp/package.nix index 693ef4a20d6f..4894f3c74f2e 100644 --- a/pkgs/by-name/cr/critcmp/package.nix +++ b/pkgs/by-name/cr/critcmp/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "critcmp"; version = "0.1.8"; src = fetchFromGitHub { owner = "BurntSushi"; repo = "critcmp"; - rev = version; + rev = finalAttrs.version; hash = "sha256-cf78R9siH0RFbx+vXTs71VblpsQokL6Uo32N3X4lV2I="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/cr/crusader/package.nix b/pkgs/by-name/cr/crusader/package.nix index 6a988c1e3631..bdfebecd7664 100644 --- a/pkgs/by-name/cr/crusader/package.nix +++ b/pkgs/by-name/cr/crusader/package.nix @@ -22,18 +22,18 @@ versionCheckHook, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "crusader"; version = "0.3.2"; src = fetchFromGitHub { owner = "Zoxc"; repo = "crusader"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-M5zMOOYDS91p0EuDSlQ3K6eiVQpbX6953q+cXBMix2s="; }; - sourceRoot = "${src.name}/src"; + sourceRoot = "${finalAttrs.src.name}/src"; cargoHash = "sha256-f0TWiRX203/gNsa9UEr/1Bv+kUxLAK/Zlw+S693xZlE="; @@ -79,7 +79,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Network throughput and latency tester"; homepage = "https://github.com/Zoxc/crusader"; - changelog = "https://github.com/Zoxc/crusader/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/Zoxc/crusader/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit asl20 @@ -88,4 +88,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.all; mainProgram = "crusader"; }; -} +}) diff --git a/pkgs/by-name/cs/csv-tui/package.nix b/pkgs/by-name/cs/csv-tui/package.nix index 801eb784a1e4..470cfa1e73fd 100644 --- a/pkgs/by-name/cs/csv-tui/package.nix +++ b/pkgs/by-name/cs/csv-tui/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "csv-tui"; version = "1.2"; src = fetchFromGitHub { owner = "nathangavin"; repo = "csv-tui"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-T8T9fW4E/wigktSomoc+xPkVqX5T3OnTmL4XIT5YXe8="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ ottoblep ]; mainProgram = "csv_tui"; }; -} +}) diff --git a/pkgs/by-name/cs/csv2parquet/package.nix b/pkgs/by-name/cs/csv2parquet/package.nix index 0d38b362d421..92bb82dbd26f 100644 --- a/pkgs/by-name/cs/csv2parquet/package.nix +++ b/pkgs/by-name/cs/csv2parquet/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "csv2parquet"; version = "0.6.1"; src = fetchFromGitHub { owner = "domoritz"; repo = "csv2parquet"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-499DC0kLvvP5Oq2WYRb9BIppTdfm41u8hwrPU8b66Zw="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ john-shaffer ]; mainProgram = "csv2parquet"; }; -} +}) diff --git a/pkgs/by-name/cs/csview/package.nix b/pkgs/by-name/cs/csview/package.nix index d0f07233d219..dad48cce0134 100644 --- a/pkgs/by-name/cs/csview/package.nix +++ b/pkgs/by-name/cs/csview/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "csview"; version = "1.3.4"; src = fetchFromGitHub { owner = "wfxr"; repo = "csview"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-JFuqaGwCSfEIncBgLu6gGaOvAC5vojKFjruWcuSghS0="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/cs/csvlens/package.nix b/pkgs/by-name/cs/csvlens/package.nix index e86fcdd684dc..17e4bc905ecc 100644 --- a/pkgs/by-name/cs/csvlens/package.nix +++ b/pkgs/by-name/cs/csvlens/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "csvlens"; version = "0.13.0"; src = fetchFromGitHub { owner = "YS-L"; repo = "csvlens"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-8NEZH+a1HBQ7lVcJlIEaeDjFU8c+4Zm6JOe0IiK0nIU="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command line csv viewer"; homepage = "https://github.com/YS-L/csvlens"; - changelog = "https://github.com/YS-L/csvlens/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/YS-L/csvlens/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium ]; mainProgram = "csvlens"; }; -} +}) diff --git a/pkgs/by-name/cy/cyme/package.nix b/pkgs/by-name/cy/cyme/package.nix index 64298a40e71d..6c545e85f647 100644 --- a/pkgs/by-name/cy/cyme/package.nix +++ b/pkgs/by-name/cy/cyme/package.nix @@ -10,14 +10,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "cyme"; version = "2.2.11"; src = fetchFromGitHub { owner = "tuna-f1sh"; repo = "cyme"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-DRlK7QsZvydC05kHIWLR1a01/Cc+9TZN0Z4hUCfShjQ="; }; @@ -51,17 +51,17 @@ rustPlatform.buildRustPackage rec { versionCheckHook ]; doInstallCheck = true; - versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}"; + versionCheckProgram = "${placeholder "out"}/bin/${finalAttrs.meta.mainProgram}"; passthru.updateScript = nix-update-script { }; meta = { homepage = "https://github.com/tuna-f1sh/cyme"; - changelog = "https://github.com/tuna-f1sh/cyme/releases/tag/${src.rev}"; + changelog = "https://github.com/tuna-f1sh/cyme/releases/tag/${finalAttrs.src.rev}"; description = "Modern cross-platform lsusb"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ h7x4 ]; platforms = lib.platforms.linux ++ lib.platforms.darwin ++ lib.platforms.windows; mainProgram = "cyme"; }; -} +}) diff --git a/pkgs/by-name/da/dabet/package.nix b/pkgs/by-name/da/dabet/package.nix index fbbc7856fcaf..78f116d7ad26 100644 --- a/pkgs/by-name/da/dabet/package.nix +++ b/pkgs/by-name/da/dabet/package.nix @@ -4,14 +4,14 @@ fetchFromCodeberg, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dabet"; version = "3.0.1"; src = fetchFromCodeberg { owner = "annaaurora"; repo = "dabet"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-BYE+GGwf84zENf+lPS98OzZQbXxd7kykWL+B3guyVNI="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ annaaurora ]; mainProgram = "dabet"; }; -} +}) diff --git a/pkgs/by-name/da/daktilo/package.nix b/pkgs/by-name/da/daktilo/package.nix index ca4158b7b718..f6d4d63da9bc 100644 --- a/pkgs/by-name/da/daktilo/package.nix +++ b/pkgs/by-name/da/daktilo/package.nix @@ -11,14 +11,14 @@ libx11, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "daktilo"; version = "0.6.0"; src = fetchFromGitHub { owner = "orhun"; repo = "daktilo"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-gIBWonJGX6IpxyBeMulcfQEExsG1GrBVQLZbBBA1ruc="; }; @@ -57,7 +57,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Turn your keyboard into a typewriter"; homepage = "https://github.com/orhun/daktilo"; - changelog = "https://github.com/orhun/daktilo/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/orhun/daktilo/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -65,4 +65,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ orhun ]; mainProgram = "daktilo"; }; -} +}) diff --git a/pkgs/by-name/da/darklua/package.nix b/pkgs/by-name/da/darklua/package.nix index 7e687003bcc9..05c4a0db5b19 100644 --- a/pkgs/by-name/da/darklua/package.nix +++ b/pkgs/by-name/da/darklua/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "darklua"; version = "0.17.3"; src = fetchFromGitHub { owner = "seaofvoices"; repo = "darklua"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-IpTTNt/AlaDRckWq1Ck0A822rAtzeOt9RcB2F7CI5ig="; }; @@ -26,8 +26,8 @@ rustPlatform.buildRustPackage rec { description = "Command line tool that transforms Lua code"; mainProgram = "darklua"; homepage = "https://darklua.com"; - changelog = "https://github.com/seaofvoices/darklua/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/seaofvoices/darklua/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ tomodachi94 ]; }; -} +}) diff --git a/pkgs/by-name/dd/ddh/package.nix b/pkgs/by-name/dd/ddh/package.nix index 22986f37d40b..15a1434bc974 100644 --- a/pkgs/by-name/dd/ddh/package.nix +++ b/pkgs/by-name/dd/ddh/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ddh"; version = "0.13.0"; src = fetchFromGitHub { owner = "darakian"; repo = "ddh"; - rev = version; + rev = finalAttrs.version; sha256 = "XFfTpX4c821pcTAJZFUjdqM940fRoBwkJC6KTknXtCw="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.all; mainProgram = "ddh"; }; -} +}) diff --git a/pkgs/by-name/de/deadnix/package.nix b/pkgs/by-name/de/deadnix/package.nix index 7956fa35e1d5..b6572fd953e8 100644 --- a/pkgs/by-name/de/deadnix/package.nix +++ b/pkgs/by-name/de/deadnix/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "deadnix"; version = "1.3.1"; src = fetchFromGitHub { owner = "astro"; repo = "deadnix"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-WrzIqt28RhoFYhCMu5oY5jAdGh0Gv5uryW/1jTX99aY="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "deadnix"; maintainers = with lib.maintainers; [ astro ]; }; -} +}) diff --git a/pkgs/by-name/de/deepfilternet/package.nix b/pkgs/by-name/de/deepfilternet/package.nix index e14fdfa7ecf1..0d2a39c49f80 100644 --- a/pkgs/by-name/de/deepfilternet/package.nix +++ b/pkgs/by-name/de/deepfilternet/package.nix @@ -5,14 +5,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "deepfilternet"; version = "0.5.6"; src = fetchFromGitHub { owner = "Rikorose"; repo = "DeepFilterNet"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-5bYbfO1kmduNm9YV5niaaPvRIDRmPt4QOX7eKpK+sWY="; }; @@ -40,6 +40,6 @@ rustPlatform.buildRustPackage rec { asl20 ]; maintainers = with lib.maintainers; [ ralismark ]; - changelog = "https://github.com/Rikorose/DeepFilterNet/releases/tag/${src.rev}"; + changelog = "https://github.com/Rikorose/DeepFilterNet/releases/tag/${finalAttrs.src.rev}"; }; -} +}) diff --git a/pkgs/by-name/de/deqp-runner/package.nix b/pkgs/by-name/de/deqp-runner/package.nix index 4d2f85c2fe0e..28b9b3f5aa3f 100644 --- a/pkgs/by-name/de/deqp-runner/package.nix +++ b/pkgs/by-name/de/deqp-runner/package.nix @@ -4,7 +4,7 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "deqp-runner"; version = "0.18.0"; @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec { domain = "gitlab.freedesktop.org"; owner = "anholt"; repo = "deqp-runner"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-5ngyONV7X3JyU0Kd7VE8XGgsAMb9OCSrZuAuFIbQjgs="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/de/desed/package.nix b/pkgs/by-name/de/desed/package.nix index ba01f5b123e4..034466df7303 100644 --- a/pkgs/by-name/de/desed/package.nix +++ b/pkgs/by-name/de/desed/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "desed"; version = "1.2.2"; src = fetchFromGitHub { owner = "SoptikHa2"; repo = "desed"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-aKkOs8IhnHjoJkXq9ryGn9fN0AmZyVTHbD/Vano+Erw="; }; @@ -21,11 +21,11 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; meta = { - changelog = "https://github.com/SoptikHa2/desed/releases/tag/v${version}"; + changelog = "https://github.com/SoptikHa2/desed/releases/tag/v${finalAttrs.version}"; description = "Debugger for Sed: demystify and debug your sed scripts, from comfort of your terminal"; homepage = "https://github.com/SoptikHa2/desed"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ vinylen ]; mainProgram = "desed"; }; -} +}) diff --git a/pkgs/by-name/de/desk-exec/package.nix b/pkgs/by-name/de/desk-exec/package.nix index c83919364076..d712e9d7ad7b 100644 --- a/pkgs/by-name/de/desk-exec/package.nix +++ b/pkgs/by-name/de/desk-exec/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "desk-exec"; version = "1.0.2"; src = fetchFromGitHub { owner = "AxerTheAxe"; repo = "desk-exec"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-bJLdd07IAf+ba++vtS0iSmeQSGygwSVNry2bHTDAgjE="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "desk-exec"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/df/dfrs/package.nix b/pkgs/by-name/df/dfrs/package.nix index 7e571ff6304a..fe84f31e41f1 100644 --- a/pkgs/by-name/df/dfrs/package.nix +++ b/pkgs/by-name/df/dfrs/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dfrs"; version = "0.0.7"; src = fetchFromGitHub { owner = "anthraxx"; repo = "dfrs"; - rev = version; + rev = finalAttrs.version; sha256 = "01h00328kbw83q11yrsvcly69p0hql3kw49b4jx6gwkrdm8c2amk"; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ wamserma ]; mainProgram = "dfrs"; }; -} +}) diff --git a/pkgs/by-name/dh/dhcpm/package.nix b/pkgs/by-name/dh/dhcpm/package.nix index 36b8e0ef12f6..4e96e5fdf762 100644 --- a/pkgs/by-name/dh/dhcpm/package.nix +++ b/pkgs/by-name/dh/dhcpm/package.nix @@ -5,14 +5,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dhcpm"; version = "0.2.3"; src = fetchFromGitHub { owner = "leshow"; repo = "dhcpm"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-vjKN9arR6Os3pgG89qmHt/0Ds5ToO38tLsQBay6VEIk="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.jmbaur ]; mainProgram = "dhcpm"; }; -} +}) diff --git a/pkgs/by-name/di/didu/package.nix b/pkgs/by-name/di/didu/package.nix index bc574cbcb6cc..8bb7998517eb 100644 --- a/pkgs/by-name/di/didu/package.nix +++ b/pkgs/by-name/di/didu/package.nix @@ -4,14 +4,14 @@ fetchFromCodeberg, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "didu"; version = "2.5.2"; src = fetchFromCodeberg { owner = "annaaurora"; repo = "didu"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "szYWRN1NZbfpshipwMMJSWJw/NG4w7I+aqwtmqpT0R0="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ annaaurora ]; mainProgram = "didu"; }; -} +}) diff --git a/pkgs/by-name/di/didyoumean/package.nix b/pkgs/by-name/di/didyoumean/package.nix index 973c5f8b13e1..cb1c353b44c2 100644 --- a/pkgs/by-name/di/didyoumean/package.nix +++ b/pkgs/by-name/di/didyoumean/package.nix @@ -9,14 +9,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "didyoumean"; version = "1.1.4"; src = fetchFromGitHub { owner = "hisbaan"; repo = "didyoumean"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-PSEoh1OMElFJ8m4er1vBMkQak3JvLjd+oWNWA46cows="; }; @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "dym"; }; -} +}) diff --git a/pkgs/by-name/di/diesel-cli-ext/package.nix b/pkgs/by-name/di/diesel-cli-ext/package.nix index e3fa4585096d..6d5baba43be4 100644 --- a/pkgs/by-name/di/diesel-cli-ext/package.nix +++ b/pkgs/by-name/di/diesel-cli-ext/package.nix @@ -4,13 +4,13 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "diesel-cli-ext"; version = "0.3.13"; src = fetchCrate { pname = "diesel_cli_ext"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-5AIzMxEcxL/vYWx3D/meA///Zo+1210HUMEE4dFBhkc="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "diesel_ext"; maintainers = with lib.maintainers; [ siph ]; }; -} +}) diff --git a/pkgs/by-name/di/diffr/package.nix b/pkgs/by-name/di/diffr/package.nix index e13f5cd44f7a..10ecfdd6f64a 100644 --- a/pkgs/by-name/di/diffr/package.nix +++ b/pkgs/by-name/di/diffr/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "diffr"; version = "0.1.5"; src = fetchFromGitHub { owner = "mookid"; repo = "diffr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-ylZE2NtTXbGqsxE72ylEQCacTyxBO+/WgvEpoXd5OZI="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/di/dijo/package.nix b/pkgs/by-name/di/dijo/package.nix index e888403f7277..8fbda472a789 100644 --- a/pkgs/by-name/di/dijo/package.nix +++ b/pkgs/by-name/di/dijo/package.nix @@ -5,14 +5,14 @@ ncurses, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dijo"; version = "0.2.7"; buildInputs = [ ncurses ]; src = fetchFromGitHub { owner = "oppiliappan"; repo = "dijo"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-g+A8BJxqoAvm9LTLrLnClVGtFJCQ2gT0mDGAov/6vXE="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "dijo"; }; -} +}) diff --git a/pkgs/by-name/di/diskus/package.nix b/pkgs/by-name/di/diskus/package.nix index 573fcefb6582..4dc2ffc3183a 100644 --- a/pkgs/by-name/di/diskus/package.nix +++ b/pkgs/by-name/di/diskus/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "diskus"; version = "0.9.0"; src = fetchFromGitHub { owner = "sharkdp"; repo = "diskus"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-z0w2wzlbF7mY8kr6N//Rsm8G5P1jhrEwoOJ7MYrbKIE="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { ''; mainProgram = "diskus"; }; -} +}) diff --git a/pkgs/by-name/di/display3d/package.nix b/pkgs/by-name/di/display3d/package.nix index 90d4121dd9a1..e53d665b3743 100644 --- a/pkgs/by-name/di/display3d/package.nix +++ b/pkgs/by-name/di/display3d/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "display3d"; version = "0.2.2"; src = fetchFromGitHub { owner = "renpenguin"; repo = "display3d"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-dFfU80/1fhBz9/0fVZigo+nZx6Lj66OsP52oMDpS+BY="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ renpenguin ]; mainProgram = "display3d"; }; -} +}) diff --git a/pkgs/by-name/di/diswall/package.nix b/pkgs/by-name/di/diswall/package.nix index a91da83c8546..96f52d4809aa 100644 --- a/pkgs/by-name/di/diswall/package.nix +++ b/pkgs/by-name/di/diswall/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "diswall"; version = "0.6.1"; src = fetchFromGitHub { owner = "dis-works"; repo = "diswall-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-t2ZBi3ab6OUWzc0L0Hq/ay+s3KNDMeu6mkYxti48BuE="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ izorkin ]; mainProgram = "diswall"; }; -} +}) diff --git a/pkgs/by-name/dn/dnglab/package.nix b/pkgs/by-name/dn/dnglab/package.nix index 7e031c7375b9..eb4d7451c6da 100644 --- a/pkgs/by-name/dn/dnglab/package.nix +++ b/pkgs/by-name/dn/dnglab/package.nix @@ -3,14 +3,14 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dnglab"; version = "0.7.1"; src = fetchFromGitHub { owner = "dnglab"; repo = "dnglab"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; # darwin/linux hash mismatch postFetch = '' rm -rf "$out"/rawler/data/testdata/cameras/Canon/{"EOS REBEL T7i","EOS Rebel T7i"} @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "dnglab"; }; -} +}) diff --git a/pkgs/by-name/dn/dnspeep/package.nix b/pkgs/by-name/dn/dnspeep/package.nix index 3c19c1ecf4f1..bbdb1a80aecf 100644 --- a/pkgs/by-name/dn/dnspeep/package.nix +++ b/pkgs/by-name/dn/dnspeep/package.nix @@ -5,14 +5,14 @@ libpcap, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dnspeep"; version = "0.1.3"; src = fetchFromGitHub { owner = "jvns"; repo = "dnspeep"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-QpUbHiMDQFRCTVyjrO9lfQQ62Z3qanv0j+8eEXjE3n4="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/do/doctave/package.nix b/pkgs/by-name/do/doctave/package.nix index 8e78e0fba4a2..5c92b889e3ce 100644 --- a/pkgs/by-name/do/doctave/package.nix +++ b/pkgs/by-name/do/doctave/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "doctave"; version = "0.4.2"; src = fetchFromGitHub { owner = "doctave"; repo = "doctave"; - rev = version; + rev = finalAttrs.version; hash = "sha256-8mGSFQozyLoGua9mwyqfDcYNMtbeWp9Phb0vaje+AJ0="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Batteries-included developer documentation site generator"; homepage = "https://github.com/doctave/doctave"; - changelog = "https://github.com/doctave/doctave/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/doctave/doctave/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "doctave"; }; -} +}) diff --git a/pkgs/by-name/do/dogedns/package.nix b/pkgs/by-name/do/dogedns/package.nix index 8fdaf9442191..83433158a336 100644 --- a/pkgs/by-name/do/dogedns/package.nix +++ b/pkgs/by-name/do/dogedns/package.nix @@ -9,14 +9,14 @@ pandoc, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dogedns"; version = "0.2.9"; src = fetchFromGitHub { owner = "Dj-Codeman"; repo = "doge"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-SeC/GZ1AeEqRzxWc4oJ6JOvXfn3/LRcQz9uWXXqdTqU="; }; @@ -58,4 +58,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "doge"; maintainers = with lib.maintainers; [ aktaboot ]; }; -} +}) diff --git a/pkgs/by-name/do/doh-proxy-rust/package.nix b/pkgs/by-name/do/doh-proxy-rust/package.nix index 141017438fd6..34c55475ba7e 100644 --- a/pkgs/by-name/do/doh-proxy-rust/package.nix +++ b/pkgs/by-name/do/doh-proxy-rust/package.nix @@ -7,12 +7,12 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "doh-proxy-rust"; version = "0.9.15"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; crateName = "doh-proxy"; hash = "sha256-uqFqDaq5a9wW46pTLfVN+5WuyYGvm3ZYQCtC6jkG1kg="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ stephank ]; mainProgram = "doh-proxy"; }; -} +}) diff --git a/pkgs/by-name/do/dotenv-linter/package.nix b/pkgs/by-name/do/dotenv-linter/package.nix index c3cf40faed37..43f6943956cb 100644 --- a/pkgs/by-name/do/dotenv-linter/package.nix +++ b/pkgs/by-name/do/dotenv-linter/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dotenv-linter"; version = "4.0.0"; src = fetchFromGitHub { owner = "dotenv-linter"; repo = "dotenv-linter"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-H4a/JM2CFrELmP4w4vrFxbvmvdTQk8k7g3QjQKm++Uk="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ humancalico ]; }; -} +}) diff --git a/pkgs/by-name/do/dotter/package.nix b/pkgs/by-name/do/dotter/package.nix index 29c85a7d354e..f99741bb48f6 100644 --- a/pkgs/by-name/do/dotter/package.nix +++ b/pkgs/by-name/do/dotter/package.nix @@ -8,14 +8,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dotter"; version = "0.13.4"; src = fetchFromGitHub { owner = "SuperCuber"; repo = "dotter"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-cxabaCxbwP2YbnG2XfmVJWFTw9LGO0D1dlLy6fuux+M="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ linsui ]; mainProgram = "dotter"; }; -} +}) diff --git a/pkgs/by-name/dr/drill/package.nix b/pkgs/by-name/dr/drill/package.nix index fba380af072a..1e88a744405b 100644 --- a/pkgs/by-name/dr/drill/package.nix +++ b/pkgs/by-name/dr/drill/package.nix @@ -7,14 +7,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "drill"; version = "0.9.0"; src = fetchFromGitHub { owner = "fcsonline"; repo = "drill"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-jBnRVTnrSfEpN7xgMrlAsCwl62kZpHMI4IeT0rPb+zg="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Only; mainProgram = "drill"; }; -} +}) diff --git a/pkgs/by-name/dt/dtool/package.nix b/pkgs/by-name/dt/dtool/package.nix index 52e292f30761..17c3efe17d4b 100644 --- a/pkgs/by-name/dt/dtool/package.nix +++ b/pkgs/by-name/dt/dtool/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dtool"; version = "0.12.0"; src = fetchFromGitHub { owner = "guoxbin"; repo = "dtool"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-m4H+ANwEbK6vGW3oIVZqnqvMiAKxNJf2TLIGh/G6AU4="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ linuxissuper ]; mainProgram = "dtool"; }; -} +}) diff --git a/pkgs/by-name/dt/dtui/package.nix b/pkgs/by-name/dt/dtui/package.nix index fb4e4deea29d..0f00cce5ce6a 100644 --- a/pkgs/by-name/dt/dtui/package.nix +++ b/pkgs/by-name/dt/dtui/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dtui"; version = "3.0.1"; src = fetchFromGitHub { owner = "Troels51"; repo = "dtui"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-bAg9FFoKXb6YClNQRhR7Z/MhnPkJ8r7/xM6SghaH2hU="; }; @@ -31,9 +31,9 @@ rustPlatform.buildRustPackage rec { description = "dBus TUI for introspecting your current dbus session/system"; mainProgram = "dtui"; homepage = "https://github.com/Troels51/dtui"; - changelog = "https://github.com/Troels51/dtui/releases/tag/${src.tag}"; + changelog = "https://github.com/Troels51/dtui/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ gaelj ]; }; -} +}) diff --git a/pkgs/by-name/du/ducker/package.nix b/pkgs/by-name/du/ducker/package.nix index 665e3ec3a2e6..922cd0f0f698 100644 --- a/pkgs/by-name/du/ducker/package.nix +++ b/pkgs/by-name/du/ducker/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ducker"; version = "0.6.1"; src = fetchFromGitHub { owner = "robertpsoane"; repo = "ducker"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-mC6MWVg6T8w9YQvu1UDpiDplsoKb3UN+LFgzveBgyew="; }; @@ -19,10 +19,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal app for managing docker containers, inspired by K9s"; homepage = "https://github.com/robertpsoane/ducker"; - changelog = "https://github.com/robertpsoane/ducker/releases/tag/v${version}"; + changelog = "https://github.com/robertpsoane/ducker/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "ducker"; platforms = with lib.platforms; unix ++ windows; maintainers = with lib.maintainers; [ anas ]; }; -} +}) diff --git a/pkgs/by-name/du/dufs/package.nix b/pkgs/by-name/du/dufs/package.nix index b82b5291ecb2..76404706156b 100644 --- a/pkgs/by-name/du/dufs/package.nix +++ b/pkgs/by-name/du/dufs/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dufs"; version = "0.45.0"; src = fetchFromGitHub { owner = "sigoden"; repo = "dufs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-83lFnT4eRYaBe4e2o6l6AGQycm/oK96n5DXutBNvBsE="; }; @@ -39,7 +39,7 @@ rustPlatform.buildRustPackage rec { description = "File server that supports static serving, uploading, searching, accessing control, webdav"; mainProgram = "dufs"; homepage = "https://github.com/sigoden/dufs"; - changelog = "https://github.com/sigoden/dufs/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/sigoden/dufs/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit @@ -48,4 +48,4 @@ rustPlatform.buildRustPackage rec { holymonson ]; }; -} +}) diff --git a/pkgs/by-name/du/dum/package.nix b/pkgs/by-name/du/dum/package.nix index 75b8063f3412..45d6806fcdab 100644 --- a/pkgs/by-name/du/dum/package.nix +++ b/pkgs/by-name/du/dum/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dum"; version = "0.1.20"; src = fetchFromGitHub { owner = "egoist"; repo = "dum"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-rkdQb4TI7lfWE4REJYsIJwMcmM/78jjgQrd0ZvKJxk8="; }; @@ -21,8 +21,8 @@ rustPlatform.buildRustPackage rec { description = "Npm scripts runner written in Rust"; mainProgram = "dum"; homepage = "https://github.com/egoist/dum"; - changelog = "https://github.com/egoist/dum/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/egoist/dum/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/du/dummyhttp/package.nix b/pkgs/by-name/du/dummyhttp/package.nix index d6ab99e6b786..d148a7579701 100644 --- a/pkgs/by-name/du/dummyhttp/package.nix +++ b/pkgs/by-name/du/dummyhttp/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dummyhttp"; version = "1.1.2"; src = fetchFromGitHub { owner = "svenstaro"; repo = "dummyhttp"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-J8TOOLTNvm6udkPdYTrjrCX/3D35lXeFDc0H5kki+Uk="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "dummyhttp"; }; -} +}) diff --git a/pkgs/by-name/du/dupe-krill/package.nix b/pkgs/by-name/du/dupe-krill/package.nix index ea526ae58b1f..a975ccf16da1 100644 --- a/pkgs/by-name/du/dupe-krill/package.nix +++ b/pkgs/by-name/du/dupe-krill/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dupe-krill"; version = "1.5.0"; src = fetchFromGitHub { owner = "kornelski"; repo = "dupe-krill"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Udj5Uc1P/c/wiF42m/qPrTtSvMpNsXjqP0LR08zslNI="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ urbas ]; mainProgram = "dupe-krill"; }; -} +}) diff --git a/pkgs/by-name/du/dura/package.nix b/pkgs/by-name/du/dura/package.nix index 97db69311b89..6f79cbb03be9 100644 --- a/pkgs/by-name/du/dura/package.nix +++ b/pkgs/by-name/du/dura/package.nix @@ -7,14 +7,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dura"; version = "0.2.0"; src = fetchFromGitHub { owner = "tkellogg"; repo = "dura"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-xAcFk7z26l4BYYBEw+MvbG6g33MpPUvnpGvgmcqhpGM="; }; @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.asl20; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/du/dutree/package.nix b/pkgs/by-name/du/dutree/package.nix index 0df421f656e3..a9ca08dbf519 100644 --- a/pkgs/by-name/du/dutree/package.nix +++ b/pkgs/by-name/du/dutree/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dutree"; version = "0.2.18"; src = fetchFromGitHub { owner = "nachoparker"; repo = "dutree"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "17lm8jd07bi499mywg2iq669im34j4x4yhc8a3adxn12f8j0dfg7"; # test directory has files with unicode names which causes hash mismatches # It is also not used by any tests or parts of build process @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.matthiasbeyer ]; mainProgram = "dutree"; }; -} +}) diff --git a/pkgs/by-name/dy/dynein/package.nix b/pkgs/by-name/dy/dynein/package.nix index c770f2f8dcab..55b68e1456d7 100644 --- a/pkgs/by-name/dy/dynein/package.nix +++ b/pkgs/by-name/dy/dynein/package.nix @@ -7,14 +7,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dynein"; version = "0.3.0"; src = fetchFromGitHub { owner = "awslabs"; repo = "dynein"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-GU/zZ7IJPfpRbrWjrVwPDSFjFfMLoG/c8DDWlN6nZ94="; }; @@ -50,4 +50,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/dy/dysk/package.nix b/pkgs/by-name/dy/dysk/package.nix index a3506de1c823..16b526ebfd91 100644 --- a/pkgs/by-name/dy/dysk/package.nix +++ b/pkgs/by-name/dy/dysk/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dysk"; version = "3.6.0b"; src = fetchFromGitHub { owner = "Canop"; repo = "dysk"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-XkZ21dy6mIStRVqkqESSO6apD6SEeuyYDSsjBdY2+Mg="; }; @@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Get information on your mounted disks"; homepage = "https://github.com/Canop/dysk"; - changelog = "https://github.com/Canop/dysk/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/Canop/dysk/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ koral @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "dysk"; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; -} +}) diff --git a/pkgs/by-name/ea/ea/package.nix b/pkgs/by-name/ea/ea/package.nix index fdc82e33dae2..a6f0fea7d4d7 100644 --- a/pkgs/by-name/ea/ea/package.nix +++ b/pkgs/by-name/ea/ea/package.nix @@ -8,14 +8,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ea"; version = "0.2.1"; src = fetchFromGitHub { owner = "dduan"; repo = "ea"; - rev = version; + rev = finalAttrs.version; hash = "sha256-VXSSe5d7VO3LfjumzN9a7rrKRedOtOzTdLVQWgV1ED8="; }; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ deejayem ]; }; -} +}) diff --git a/pkgs/by-name/ea/each/package.nix b/pkgs/by-name/ea/each/package.nix index d34d9db04aba..b2bd7c2b65e7 100644 --- a/pkgs/by-name/ea/each/package.nix +++ b/pkgs/by-name/ea/each/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "each"; version = "0.2.0"; src = fetchFromGitHub { owner = "arraypad"; repo = "each"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-5Aa/uHWrU4bpWd28Uddnuhmi6guHy09W9AU8sAfea6I="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ thiagokokada ]; }; -} +}) diff --git a/pkgs/by-name/ea/ear2ctl/package.nix b/pkgs/by-name/ea/ear2ctl/package.nix index fae75cbd2d84..f991ebc4fee0 100644 --- a/pkgs/by-name/ea/ear2ctl/package.nix +++ b/pkgs/by-name/ea/ear2ctl/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ear2ctl"; version = "0.1.0"; src = fetchFromGitLab { owner = "bharadwaj-raju"; repo = "ear2ctl"; - rev = version; + rev = finalAttrs.version; hash = "sha256-xaxl4opLMw9KEDpmNcgR1fBGUqO4BP5a/U52Kz+GAvc="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "ear2ctl"; }; -} +}) diff --git a/pkgs/by-name/ea/earthlyls/package.nix b/pkgs/by-name/ea/earthlyls/package.nix index 5071b5e7688b..03f64afbf9d0 100644 --- a/pkgs/by-name/ea/earthlyls/package.nix +++ b/pkgs/by-name/ea/earthlyls/package.nix @@ -8,14 +8,14 @@ testers, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "earthlyls"; version = "0.5.5"; src = fetchFromGitHub { owner = "glehmann"; repo = "earthlyls"; - rev = version; + rev = finalAttrs.version; hash = "sha256-GnFzfCjT4kjb9WViKIFDkIU7zVpiI6HDuUeddgHGQuc="; }; @@ -29,10 +29,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Earthly language server"; homepage = "https://github.com/glehmann/earthlyls"; - changelog = "https://github.com/glehmann/earthlyls/releases/tag/${version}"; + changelog = "https://github.com/glehmann/earthlyls/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "earthlyls"; maintainers = [ ]; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; -} +}) diff --git a/pkgs/by-name/ea/easytier/package.nix b/pkgs/by-name/ea/easytier/package.nix index 19040c2e7f7a..3cb3293cfb80 100644 --- a/pkgs/by-name/ea/easytier/package.nix +++ b/pkgs/by-name/ea/easytier/package.nix @@ -10,14 +10,14 @@ withQuic ? false, # with QUIC protocol support }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "easytier"; version = "2.5.0"; src = fetchFromGitHub { owner = "EasyTier"; repo = "EasyTier"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-XnEfxWDKUTQFWYKtqetI7sLbOmGqw2BqpU5by1ajZGA="; }; @@ -52,7 +52,7 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://github.com/EasyTier/EasyTier"; - changelog = "https://github.com/EasyTier/EasyTier/releases/tag/v${version}"; + changelog = "https://github.com/EasyTier/EasyTier/releases/tag/v${finalAttrs.version}"; description = "Simple, decentralized mesh VPN with WireGuard support"; longDescription = '' EasyTier is a simple, safe and decentralized VPN networking solution implemented @@ -63,4 +63,4 @@ rustPlatform.buildRustPackage rec { platforms = with lib.platforms; unix ++ windows; maintainers = with lib.maintainers; [ ltrump ]; }; -} +}) diff --git a/pkgs/by-name/ec/ecc/package.nix b/pkgs/by-name/ec/ecc/package.nix index eee363c6d73e..5ad96e6cd549 100644 --- a/pkgs/by-name/ec/ecc/package.nix +++ b/pkgs/by-name/ec/ecc/package.nix @@ -52,18 +52,18 @@ let }; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ecc"; version = "1.0.27"; src = fetchFromGitHub { owner = "eunomia-bpf"; repo = "eunomia-bpf"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-KfYCC+TJbmjHrV46LoshD+uXcaBVMKk6+cN7TZKKYp4="; }; - sourceRoot = "${src.name}/compiler/cmd"; + sourceRoot = "${finalAttrs.src.name}/compiler/cmd"; cargoHash = "sha256-iYceYwRqnYA6KxCQxOieR8JZ6TQlIL+OSzAjyr4Cu/g="; @@ -131,4 +131,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; license = lib.licenses.mit; }; -} +}) diff --git a/pkgs/by-name/ec/ecpdap/package.nix b/pkgs/by-name/ec/ecpdap/package.nix index fb345ed70813..f77a375e558a 100644 --- a/pkgs/by-name/ec/ecpdap/package.nix +++ b/pkgs/by-name/ec/ecpdap/package.nix @@ -6,14 +6,14 @@ libusb1, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ecpdap"; version = "0.3.0"; src = fetchFromGitHub { owner = "adamgreig"; repo = "ecpdap"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-8YmdwhRYNOSAAa0hTC9f5nm+TDg2GiMbML+qNxJP3lw="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.asl20; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ef/effitask/package.nix b/pkgs/by-name/ef/effitask/package.nix index 2c7e2517e564..363554688ae6 100644 --- a/pkgs/by-name/ef/effitask/package.nix +++ b/pkgs/by-name/ef/effitask/package.nix @@ -8,14 +8,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "effitask"; version = "1.4.2"; src = fetchFromGitHub { owner = "sanpii"; repo = "effitask"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-6BA/TCCqVh5rtgGkUgk8nIqUzozipC5rrkbXMDWYpdQ="; }; @@ -50,4 +50,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; mainProgram = "effitask"; }; -} +}) diff --git a/pkgs/by-name/ef/efmt/package.nix b/pkgs/by-name/ef/efmt/package.nix index 8707cd65a18e..6df33002e2e7 100644 --- a/pkgs/by-name/ef/efmt/package.nix +++ b/pkgs/by-name/ef/efmt/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "efmt"; version = "0.20.0"; src = fetchFromGitHub { owner = "sile"; repo = "efmt"; - rev = version; + rev = finalAttrs.version; hash = "sha256-cRiYOJiBIRHm9s3EFhRNTvLXw66Svu1vc4ipWYKDo1s="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ haruki7049 ]; mainProgram = "efmt"; }; -} +}) diff --git a/pkgs/by-name/eg/egglog/package.nix b/pkgs/by-name/eg/egglog/package.nix index ed25f80220c8..23f0c3b369d1 100644 --- a/pkgs/by-name/eg/egglog/package.nix +++ b/pkgs/by-name/eg/egglog/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "egglog"; version = "0.4.0"; src = fetchFromGitHub { owner = "egraphs-good"; repo = "egglog"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-j+3qknmezKqHVxvfmG9oPFtWOzJsimGXYe5PWX694mI="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { XBagon ]; }; -} +}) diff --git a/pkgs/by-name/eg/ego/package.nix b/pkgs/by-name/eg/ego/package.nix index 1c1ee7fdf561..25c0ca405fb8 100644 --- a/pkgs/by-name/eg/ego/package.nix +++ b/pkgs/by-name/eg/ego/package.nix @@ -7,14 +7,14 @@ xhost, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ego"; version = "1.1.7"; src = fetchFromGitHub { owner = "intgr"; repo = "ego"; - rev = version; + rev = finalAttrs.version; hash = "sha256-613RM7Ldye0wHAH3VMhzhyT5WVTybph3gS/WNMrsgGI="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "ego"; }; -} +}) diff --git a/pkgs/by-name/el/elan/package.nix b/pkgs/by-name/el/elan/package.nix index a0e166f45982..4878d2ee821f 100644 --- a/pkgs/by-name/el/elan/package.nix +++ b/pkgs/by-name/el/elan/package.nix @@ -14,14 +14,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "elan"; version = "4.1.2"; src = fetchFromGitHub { owner = "leanprover"; repo = "elan"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-1pEa3uFO1lncCjOHEDM84A0p6xoOfZnU+OCS2j8cCK8="; }; @@ -84,7 +84,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Small tool to manage your installations of the Lean theorem prover"; homepage = "https://github.com/leanprover/elan"; - changelog = "https://github.com/leanprover/elan/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/leanprover/elan/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit @@ -92,4 +92,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "elan"; }; -} +}) diff --git a/pkgs/by-name/el/element-desktop/seshat/default.nix b/pkgs/by-name/el/element-desktop/seshat/default.nix index 5e3bb3f0aa07..72e89b675d15 100644 --- a/pkgs/by-name/el/element-desktop/seshat/default.nix +++ b/pkgs/by-name/el/element-desktop/seshat/default.nix @@ -16,18 +16,18 @@ let pinData = lib.importJSON ./pin.json; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "seshat-node"; inherit (pinData) version cargoHash; src = fetchFromGitHub { owner = "matrix-org"; repo = "seshat"; - rev = version; + rev = finalAttrs.version; hash = pinData.srcHash; }; - sourceRoot = "${src.name}/seshat-node/native"; + sourceRoot = "${finalAttrs.src.name}/seshat-node/native"; nativeBuildInputs = [ nodejs @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec { npm_config_nodedir = nodejs; yarnOfflineCache = fetchYarnDeps { - yarnLock = src + "/seshat-node/yarn.lock"; + yarnLock = finalAttrs.src + "/seshat-node/yarn.lock"; sha256 = pinData.yarnHash; }; @@ -71,4 +71,4 @@ rustPlatform.buildRustPackage rec { ''; disallowedReferences = [ stdenv.cc.cc ]; -} +}) diff --git a/pkgs/by-name/el/elf2nucleus/package.nix b/pkgs/by-name/el/elf2nucleus/package.nix index 3d3e26176c39..909316fe9128 100644 --- a/pkgs/by-name/el/elf2nucleus/package.nix +++ b/pkgs/by-name/el/elf2nucleus/package.nix @@ -7,14 +7,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "elf2nucleus"; version = "0.1.0"; src = fetchFromGitHub { owner = "kpcyrd"; repo = "elf2nucleus"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-FAIOtGfGow+0DrPPEBEfvaiinNZLQlGWKJ4DkMj63OA="; }; @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Plus; maintainers = [ lib.maintainers.marble ]; }; -} +}) diff --git a/pkgs/by-name/el/elfcat/package.nix b/pkgs/by-name/el/elfcat/package.nix index c515b69e48d8..cb3dc8582637 100644 --- a/pkgs/by-name/el/elfcat/package.nix +++ b/pkgs/by-name/el/elfcat/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "elfcat"; version = "0.1.10"; src = fetchFromGitHub { owner = "ruslashev"; repo = "elfcat"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-8jyOYV455APlf8F6HmgyvgfNGddMzrcGhj7yFQT6qvg="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ moni ]; mainProgram = "elfcat"; }; -} +}) diff --git a/pkgs/by-name/el/eludris/package.nix b/pkgs/by-name/el/eludris/package.nix index 69479ea0d458..078144ed26b9 100644 --- a/pkgs/by-name/el/eludris/package.nix +++ b/pkgs/by-name/el/eludris/package.nix @@ -6,14 +6,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "eludris"; version = "0.3.3"; src = fetchFromGitHub { owner = "eludris"; repo = "eludris"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-TVYgimkGUSITB3IaMlMd10PWomqyJRvONvJwiW85U4M="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ ooliver1 ]; }; -} +}) diff --git a/pkgs/by-name/em/emacs-lsp-booster/package.nix b/pkgs/by-name/em/emacs-lsp-booster/package.nix index ac17f887edf2..92af0d154ecd 100644 --- a/pkgs/by-name/em/emacs-lsp-booster/package.nix +++ b/pkgs/by-name/em/emacs-lsp-booster/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, emacs, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "emacs-lsp-booster"; version = "0.2.1"; src = fetchFromGitHub { owner = "blahgeek"; repo = "emacs-lsp-booster"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-uP/xJfXQtk8oaG5Zk+dw+C2fVFdjpUZTDASFuj1+eYs="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ icy-thought ]; mainProgram = "emacs-lsp-booster"; }; -} +}) diff --git a/pkgs/by-name/em/emplace/package.nix b/pkgs/by-name/em/emplace/package.nix index beb6be6f5e97..9586b020e5db 100644 --- a/pkgs/by-name/em/emplace/package.nix +++ b/pkgs/by-name/em/emplace/package.nix @@ -5,14 +5,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "emplace"; version = "1.6.0"; src = fetchFromGitHub { owner = "tversteeg"; repo = "emplace"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-FZ+lvf5HRSruUdmkm/Hqz0aRa95SjfIa43WQczRCGNg="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.agpl3Plus; mainProgram = "emplace"; }; -} +}) diff --git a/pkgs/by-name/em/emulsion/package.nix b/pkgs/by-name/em/emulsion/package.nix index 6c230a9456ac..87d013db2d7a 100644 --- a/pkgs/by-name/em/emulsion/package.nix +++ b/pkgs/by-name/em/emulsion/package.nix @@ -32,14 +32,14 @@ let wayland ]; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "emulsion"; version = "11.0"; src = fetchFromGitHub { owner = "ArturKovacs"; repo = "emulsion"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-0t+MUZu1cvkJSL9Ly9kblH8fMr05KuRpOo+JDn/VUc8="; }; @@ -66,4 +66,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; mainProgram = "emulsion"; }; -} +}) diff --git a/pkgs/by-name/en/encrypted-dns-server/package.nix b/pkgs/by-name/en/encrypted-dns-server/package.nix index 1c9761440da0..eecf067344ed 100644 --- a/pkgs/by-name/en/encrypted-dns-server/package.nix +++ b/pkgs/by-name/en/encrypted-dns-server/package.nix @@ -7,14 +7,14 @@ nix-update-script, versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "encrypted-dns-server"; version = "0.9.18"; src = fetchFromGitHub { owner = "DNSCrypt"; repo = "encrypted-dns-server"; - tag = version; + tag = finalAttrs.version; hash = "sha256-YM9ow1j5G6AN91/YLnRy+jOlpQPBxZa+chNZNPGUfhs="; }; @@ -35,11 +35,11 @@ rustPlatform.buildRustPackage rec { versionCheckProgram = "${placeholder "out"}/bin/encrypted-dns"; meta = { - changelog = "https://github.com/DNSCrypt/encrypted-dns-server/releases/tag/${version}"; + changelog = "https://github.com/DNSCrypt/encrypted-dns-server/releases/tag/${finalAttrs.version}"; description = "Easy to install, high-performance, zero maintenance proxy to run an encrypted DNS server"; homepage = "https://github.com/DNSCrypt/encrypted-dns-server"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ paepcke ]; mainProgram = "encrypted-dns"; }; -} +}) diff --git a/pkgs/by-name/en/enkei/package.nix b/pkgs/by-name/en/enkei/package.nix index 3d12a25ad135..a770091e86c2 100644 --- a/pkgs/by-name/en/enkei/package.nix +++ b/pkgs/by-name/en/enkei/package.nix @@ -8,14 +8,14 @@ wayland, libGL, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "enkei"; version = "0.9.3"; src = fetchFromGitHub { owner = "fia0"; repo = "enkei"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-COU2JtiJcPRA3Jno0qLEIVgimYBWfn5Pgc1OMImsJtI="; }; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ ppenguin ]; }; -} +}) diff --git a/pkgs/by-name/en/envio/package.nix b/pkgs/by-name/en/envio/package.nix index 6a5db8abd21b..4d2b478f4d71 100644 --- a/pkgs/by-name/en/envio/package.nix +++ b/pkgs/by-name/en/envio/package.nix @@ -8,14 +8,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "envio"; version = "0.6.1"; src = fetchFromGitHub { owner = "envio-cli"; repo = "envio"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-je0DBoBIayFK//Aija5bnO/2z+hxNWgVkwOgxMyq5s4="; }; @@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://envio-cli.github.io/home"; - changelog = "https://github.com/envio-cli/envio/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/envio-cli/envio/blob/${finalAttrs.version}/CHANGELOG.md"; description = "Modern and secure CLI tool for managing environment variables"; mainProgram = "envio"; longDescription = '' @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ afh ]; }; -} +}) diff --git a/pkgs/by-name/ep/epick/package.nix b/pkgs/by-name/ep/epick/package.nix index bc8dc6253ca9..57b4a5736d7f 100644 --- a/pkgs/by-name/ep/epick/package.nix +++ b/pkgs/by-name/ep/epick/package.nix @@ -14,7 +14,7 @@ libx11, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "epick"; version = "0.9.0"; @@ -55,9 +55,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Simple color picker that lets the user create harmonic palettes with ease"; homepage = "https://github.com/vv9k/epick"; - changelog = "https://github.com/vv9k/epick/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/vv9k/epick/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.gpl3Only; maintainers = [ ]; mainProgram = "epick"; }; -} +}) diff --git a/pkgs/by-name/ep/epilys-bb/package.nix b/pkgs/by-name/ep/epilys-bb/package.nix index bb87c4c7cb7f..71ee9cdbd780 100644 --- a/pkgs/by-name/ep/epilys-bb/package.nix +++ b/pkgs/by-name/ep/epilys-bb/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "epilys-bb"; version = "0.4.4"; src = fetchFromGitHub { owner = "epilys"; repo = "bb"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-szeEBiolg2rVD2XZoNrncUYnA8KPhWwhQPYsjuxp904="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "bb"; }; -} +}) diff --git a/pkgs/by-name/er/erdtree/package.nix b/pkgs/by-name/er/erdtree/package.nix index 60ee81d9bc70..bbf3a349bb66 100644 --- a/pkgs/by-name/er/erdtree/package.nix +++ b/pkgs/by-name/er/erdtree/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "erdtree"; version = "3.1.2"; src = fetchFromGitHub { owner = "solidiquis"; repo = "erdtree"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-rm3j1exvdlJtMXgFeRmzr3YU/sLpQFL3PCa8kLVlinM="; }; @@ -20,11 +20,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "File-tree visualizer and disk usage analyzer"; homepage = "https://github.com/solidiquis/erdtree"; - changelog = "https://github.com/solidiquis/erdtree/releases/tag/${src.rev}"; + changelog = "https://github.com/solidiquis/erdtree/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ zendo ]; mainProgram = "erd"; }; -} +}) diff --git a/pkgs/by-name/er/erg/package.nix b/pkgs/by-name/er/erg/package.nix index ba7907ee124a..a9222c413109 100644 --- a/pkgs/by-name/er/erg/package.nix +++ b/pkgs/by-name/er/erg/package.nix @@ -8,14 +8,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "erg"; version = "0.6.53"; src = fetchFromGitHub { owner = "erg-lang"; repo = "erg"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-VPekgbD5vQ6JsyGT4WKayl1eB9SWGemf02rXpkP6fcU="; }; @@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec { env = { BUILD_DATE = "1970/01/01 00:00:00"; CASE_SENSITIVE = lib.boolToString (!stdenv.hostPlatform.isDarwin); - GIT_HASH_SHORT = src.rev; + GIT_HASH_SHORT = finalAttrs.src.rev; }; # TODO(figsoda): fix tests @@ -60,11 +60,11 @@ rustPlatform.buildRustPackage rec { description = "Statically typed language that can deeply improve the Python ecosystem"; mainProgram = "erg"; homepage = "https://github.com/erg-lang/erg"; - changelog = "https://github.com/erg-lang/erg/releases/tag/${src.rev}"; + changelog = "https://github.com/erg-lang/erg/releases/tag/${finalAttrs.src.rev}"; license = with lib.licenses; [ asl20 mit ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/es/esbuild-config/package.nix b/pkgs/by-name/es/esbuild-config/package.nix index c27480fc31f1..6b33ad79e5e3 100644 --- a/pkgs/by-name/es/esbuild-config/package.nix +++ b/pkgs/by-name/es/esbuild-config/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "esbuild-config"; version = "1.0.1"; src = fetchFromGitHub { owner = "bpierre"; repo = "esbuild-config"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-u3LgecKfgPSN5xMyqBjeAn4/XswM3iEGbZ+JGrVF1Co="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "esbuild-config"; }; -} +}) diff --git a/pkgs/by-name/es/esp-generate/package.nix b/pkgs/by-name/es/esp-generate/package.nix index 0cbf5614b2ca..6744a8d4ff86 100644 --- a/pkgs/by-name/es/esp-generate/package.nix +++ b/pkgs/by-name/es/esp-generate/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "esp-generate"; version = "1.2.0"; src = fetchFromGitHub { owner = "esp-rs"; repo = "esp-generate"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-JNSz/HRO8qxVaRZLL4qgYF3BIYVkrzyRc3wAWd+dAMo="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ lib.maintainers.eymeric ]; }; -} +}) diff --git a/pkgs/by-name/eu/eureka-ideas/package.nix b/pkgs/by-name/eu/eureka-ideas/package.nix index 4f52ec1aab42..204d71d86a64 100644 --- a/pkgs/by-name/eu/eureka-ideas/package.nix +++ b/pkgs/by-name/eu/eureka-ideas/package.nix @@ -8,14 +8,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "eureka-ideas"; version = "2.0.0"; src = fetchFromGitHub { owner = "simeg"; repo = "eureka"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-NJ1O8+NBG0y39bMOZeah2jSZlvnPrtpCtXrgAYmVrAc="; }; @@ -33,11 +33,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI tool to input and store your ideas without leaving the terminal"; homepage = "https://github.com/simeg/eureka"; - changelog = "https://github.com/simeg/eureka/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/simeg/eureka/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "eureka"; # The last successful Darwin Hydra build was in 2024 broken = stdenv.hostPlatform.isDarwin; }; -} +}) diff --git a/pkgs/by-name/ev/evebox/package.nix b/pkgs/by-name/ev/evebox/package.nix index 6236eb87b994..d666bc9398d7 100644 --- a/pkgs/by-name/ev/evebox/package.nix +++ b/pkgs/by-name/ev/evebox/package.nix @@ -5,14 +5,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "evebox"; version = "0.18.2"; src = fetchFromGitHub { owner = "jasonish"; repo = "evebox"; - rev = version; + rev = finalAttrs.version; hash = "sha256-vakCBDyL/Su55tkn/SJ5ShZcYC8l+p2acpve/fTN0uI="; }; @@ -21,9 +21,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Web Based Event Viewer (GUI) for Suricata EVE Events in Elastic Search"; homepage = "https://evebox.org/"; - changelog = "https://github.com/jasonish/evebox/releases/tag/${src.rev}"; + changelog = "https://github.com/jasonish/evebox/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ felbinger ]; broken = stdenv.hostPlatform.isDarwin; }; -} +}) diff --git a/pkgs/by-name/ev/evscript/package.nix b/pkgs/by-name/ev/evscript/package.nix index 81e347269928..d1d949f1f68d 100644 --- a/pkgs/by-name/ev/evscript/package.nix +++ b/pkgs/by-name/ev/evscript/package.nix @@ -4,14 +4,14 @@ fetchFromCodeberg, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "evscript"; version = "0.1.0"; src = fetchFromCodeberg { owner = "valpackett"; repo = "evscript"; - rev = version; + rev = finalAttrs.version; hash = "sha256-lCXDDLovUb5aSOPTyVJL25v1JT1BGrrUlUR0Mu0XX4Q="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ milesbreslin ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ev/evsieve/package.nix b/pkgs/by-name/ev/evsieve/package.nix index 7a2bb56fc1ff..ee20bb8164e9 100644 --- a/pkgs/by-name/ev/evsieve/package.nix +++ b/pkgs/by-name/ev/evsieve/package.nix @@ -5,14 +5,14 @@ libevdev, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "evsieve"; version = "1.4.0"; src = fetchFromGitHub { owner = "KarsMulder"; repo = "evsieve"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-UV5m8DmFtkCU/DoBJNBCdvhU/jYtU5+WnnhKwxZNl9g="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ tsowell ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ev/evtx/package.nix b/pkgs/by-name/ev/evtx/package.nix index 321386f96930..2ba74c7b3462 100644 --- a/pkgs/by-name/ev/evtx/package.nix +++ b/pkgs/by-name/ev/evtx/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "evtx"; version = "0.10.0"; src = fetchFromGitHub { owner = "omerbenamram"; repo = "evtx"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-v57lo1ggElGJD618ojuADspmhlZAMgmzD5DxEdtp2Ak="; }; @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Parser for the Windows XML Event Log (EVTX) format"; homepage = "https://github.com/omerbenamram/evtx"; - changelog = "https://github.com/omerbenamram/evtx/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/omerbenamram/evtx/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ fab ]; mainProgram = "evtx_dump"; }; -} +}) diff --git a/pkgs/by-name/ex/external-editor-revived/package.nix b/pkgs/by-name/ex/external-editor-revived/package.nix index 1c0f81a98681..29f29d11471f 100644 --- a/pkgs/by-name/ex/external-editor-revived/package.nix +++ b/pkgs/by-name/ex/external-editor-revived/package.nix @@ -3,14 +3,14 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "external-editor-revived"; version = "1.2.0"; src = fetchFromGitHub { owner = "Frederick888"; repo = "external-editor-revived"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-K5agRpFJ8iqvPnx3IIMTvrkObT/GB962EtdvWf7Eq4w="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ mofrim ]; mainProgram = "external-editor-revived"; }; -} +}) diff --git a/pkgs/by-name/ex/extest/package.nix b/pkgs/by-name/ex/extest/package.nix index f3a58532d58c..770c955b60b3 100644 --- a/pkgs/by-name/ex/extest/package.nix +++ b/pkgs/by-name/ex/extest/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "extest"; version = "1.0.2"; src = fetchFromGitHub { owner = "Supreeeme"; repo = "extest"; - rev = version; + rev = finalAttrs.version; hash = "sha256-qdTF4n3uhkl3WFT+7bAlwCjxBx3ggTN6i3WzFg+8Jrw="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ lib.maintainers.puffnfresh ]; }; -} +}) diff --git a/pkgs/by-name/ez/ezno/package.nix b/pkgs/by-name/ez/ezno/package.nix index 0d0460bfb327..5c5bf5ce63f9 100644 --- a/pkgs/by-name/ez/ezno/package.nix +++ b/pkgs/by-name/ez/ezno/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ezno"; version = "0.0.8"; src = fetchFromGitHub { owner = "kaleidawave"; repo = "ezno"; - rev = "release/ezno-${version}"; + rev = "release/ezno-${finalAttrs.version}"; hash = "sha256-0yLEpNkl7KjBEGxNONtfMjVlWMSKGZ6TbYJMsCeQ3ms="; }; @@ -26,8 +26,8 @@ rustPlatform.buildRustPackage rec { description = "JavaScript compiler and TypeScript checker with a focus on static analysis and runtime performance"; mainProgram = "ezno"; homepage = "https://github.com/kaleidawave/ezno"; - changelog = "https://github.com/kaleidawave/ezno/releases/tag/${src.rev}"; + changelog = "https://github.com/kaleidawave/ezno/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/fa/fac-build/package.nix b/pkgs/by-name/fa/fac-build/package.nix index f39344751754..458afbc52ba3 100644 --- a/pkgs/by-name/fa/fac-build/package.nix +++ b/pkgs/by-name/fa/fac-build/package.nix @@ -6,12 +6,12 @@ git, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fac-build"; version = "0.5.4"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; crateName = "fac"; hash = "sha256-+JJVuKUdnjJoQJ4a2EE0O6jZdVoFxPwbPgfD2LfiDPI="; }; @@ -54,4 +54,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dpercy ]; mainProgram = "fac"; }; -} +}) diff --git a/pkgs/by-name/fa/faircamp/package.nix b/pkgs/by-name/fa/faircamp/package.nix index 831deab64748..4c7c462ee56f 100644 --- a/pkgs/by-name/fa/faircamp/package.nix +++ b/pkgs/by-name/fa/faircamp/package.nix @@ -13,14 +13,14 @@ faircamp, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "faircamp"; version = "1.7.0"; src = fetchFromCodeberg { owner = "simonrepp"; repo = "faircamp"; - rev = version; + rev = finalAttrs.version; hash = "sha256-r5r7vfTbMPjAqMg5f7L/YfSzlxZgrSFjO6WHO64wfIo="; }; @@ -69,4 +69,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ fgaz ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/fa/fanctl/package.nix b/pkgs/by-name/fa/fanctl/package.nix index 60536b831ffb..4042a5398dd9 100644 --- a/pkgs/by-name/fa/fanctl/package.nix +++ b/pkgs/by-name/fa/fanctl/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { version = "0.6.4"; pname = "fanctl"; src = fetchFromGitLab { owner = "mcoffin"; repo = "fanctl"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-XmawybmqRJ9Lj6ii8TZBFwqdQZVp0pOLN4xiSLkU/bw="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ icewind1991 ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/fa/fast-ssh/package.nix b/pkgs/by-name/fa/fast-ssh/package.nix index 41502afa236b..6c35878c0314 100644 --- a/pkgs/by-name/fa/fast-ssh/package.nix +++ b/pkgs/by-name/fa/fast-ssh/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fast-ssh"; version = "0.3.2"; src = fetchFromGitHub { owner = "julien-r44"; repo = "fast-ssh"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Wn1kwuY1tRJVe9DJexyQ/h+Z1gNtluj78QpBYjeCbSE="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ fab ]; mainProgram = "fast-ssh"; }; -} +}) diff --git a/pkgs/by-name/fa/fastmod/package.nix b/pkgs/by-name/fa/fastmod/package.nix index a422ed0e6a43..45fd36b5211e 100644 --- a/pkgs/by-name/fa/fastmod/package.nix +++ b/pkgs/by-name/fa/fastmod/package.nix @@ -6,14 +6,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fastmod"; version = "0.4.4"; src = fetchFromGitHub { owner = "facebookincubator"; repo = "fastmod"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-A/3vzfwaStoQ9gdNM8yjmL2J/pQjj6yb68WThiTF+1E="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ jduan ]; }; -} +}) diff --git a/pkgs/by-name/fc/fcast-client/package.nix b/pkgs/by-name/fc/fcast-client/package.nix index 7a101b9bc6a2..49789964b60c 100644 --- a/pkgs/by-name/fc/fcast-client/package.nix +++ b/pkgs/by-name/fc/fcast-client/package.nix @@ -4,7 +4,7 @@ fetchFromGitLab, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fcast-client"; version = "0.1.0-unstable-2024-05-23"; @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec { hash = "sha256-vsD4xgrC5KbnZT6hPX3fi3M/CH39LtoRfa6nYD0iFew="; }; - sourceRoot = "${src.name}/clients/terminal"; + sourceRoot = "${finalAttrs.src.name}/clients/terminal"; cargoHash = "sha256-yzsAe+fr1yX8RBJPtXSr/R7W0iJpeF3JW3E4ius+8nU="; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ yusufraji ]; platforms = with lib.platforms; linux ++ darwin; }; -} +}) diff --git a/pkgs/by-name/fc/fcp/package.nix b/pkgs/by-name/fc/fcp/package.nix index 2c1894fc3117..46cbb6560fb2 100644 --- a/pkgs/by-name/fc/fcp/package.nix +++ b/pkgs/by-name/fc/fcp/package.nix @@ -7,14 +7,14 @@ fetchpatch, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fcp"; version = "0.2.1"; src = fetchFromGitHub { owner = "svetlitski"; repo = "fcp"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "0f242n8w88rikg1srimdifadhggrb2r1z0g65id60ahb4bjm8a0x"; }; @@ -48,10 +48,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Significantly faster alternative to the classic Unix cp(1) command"; homepage = "https://github.com/svetlitski/fcp"; - changelog = "https://github.com/svetlitski/fcp/releases/tag/v${version}"; + changelog = "https://github.com/svetlitski/fcp/releases/tag/v${finalAttrs.version}"; license = lib.licenses.bsd3; platforms = lib.platforms.unix; maintainers = [ ]; mainProgram = "fcp"; }; -} +}) diff --git a/pkgs/by-name/fd/fd/package.nix b/pkgs/by-name/fd/fd/package.nix index f51d7cdcfff9..b1b152d06167 100644 --- a/pkgs/by-name/fd/fd/package.nix +++ b/pkgs/by-name/fd/fd/package.nix @@ -9,14 +9,14 @@ fd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fd"; version = "10.3.0"; src = fetchFromGitHub { owner = "sharkdp"; repo = "fd"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-rUoR8LHtzwGQBwJGEsWpMYKG6HcGKcktcyF7TxTDJs8="; }; @@ -57,7 +57,7 @@ rustPlatform.buildRustPackage rec { it provides sensible (opinionated) defaults for 80% of the use cases. ''; homepage = "https://github.com/sharkdp/fd"; - changelog = "https://github.com/sharkdp/fd/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/sharkdp/fd/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit @@ -70,4 +70,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "fd"; }; -} +}) diff --git a/pkgs/by-name/fe/fedigroups/package.nix b/pkgs/by-name/fe/fedigroups/package.nix index c67f6c4769cc..678e4f65237e 100644 --- a/pkgs/by-name/fe/fedigroups/package.nix +++ b/pkgs/by-name/fe/fedigroups/package.nix @@ -7,7 +7,7 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fedigroups"; version = "0.4.6"; @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec { domain = "git.ondrovo.com"; owner = "MightyPork"; repo = "group-actor"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Sq22CwLLR10yrN3+dR2KDoS8r99+LWOH7+l+D3RWlKw="; forceFetchGit = true; # Archive generation is disabled on this gitea instance leaveDotGit = true; # git command in build.rs @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.all; mainProgram = "fedigroups"; }; -} +}) diff --git a/pkgs/by-name/fe/felix-fm/package.nix b/pkgs/by-name/fe/felix-fm/package.nix index 0cc174e2c7f9..ddcc07ec5516 100644 --- a/pkgs/by-name/fe/felix-fm/package.nix +++ b/pkgs/by-name/fe/felix-fm/package.nix @@ -11,14 +11,14 @@ zoxide, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "felix"; version = "2.16.1"; src = fetchFromGitHub { owner = "kyoheiu"; repo = "felix"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-QslV0MVbIuiFDmd8A69+7nTPAUhDrn/dndZsIiNkeZ8="; }; @@ -52,9 +52,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Tui file manager with vim-like key mapping"; homepage = "https://github.com/kyoheiu/felix"; - changelog = "https://github.com/kyoheiu/felix/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/kyoheiu/felix/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ _7karni ]; mainProgram = "fx"; }; -} +}) diff --git a/pkgs/by-name/fe/ferium/package.nix b/pkgs/by-name/fe/ferium/package.nix index 86d356bd17d2..c5390afec1eb 100644 --- a/pkgs/by-name/fe/ferium/package.nix +++ b/pkgs/by-name/fe/ferium/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ferium"; version = "4.7.1"; src = fetchFromGitHub { owner = "gorilla-devs"; repo = "ferium"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-eeQjezB6pRdnPADLgDLo8b+bUSP12gfBhFNt/uYCwHU="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { soupglasses ]; }; -} +}) diff --git a/pkgs/by-name/fe/fernglas/package.nix b/pkgs/by-name/fe/fernglas/package.nix index a9b7dd75f9e4..c5d728e385c6 100644 --- a/pkgs/by-name/fe/fernglas/package.nix +++ b/pkgs/by-name/fe/fernglas/package.nix @@ -11,14 +11,14 @@ nodejs-slim, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fernglas"; version = "0.2.1"; src = fetchFromGitHub { owner = "wobcom"; repo = "fernglas"; - rev = "fernglas-${version}"; + rev = "fernglas-${finalAttrs.version}"; hash = "sha256-0wj5AS8RLVr+S/QWWxCsMvmVjmXUWGfR9kPaZimJEss="; }; @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-aY5/dIplV8yWaQ2IdWxxC7T1DoKeRjsN5eT+UxsaA1E="; offlineCache = fetchYarnDeps { - yarnLock = src + "/frontend/yarn.lock"; + yarnLock = finalAttrs.src + "/frontend/yarn.lock"; hash = "sha256-/ubCAs4C5nG8xNC77jTH+cJVNgddSxqGGPEVLDH/Cdo="; }; @@ -65,7 +65,7 @@ rustPlatform.buildRustPackage rec { yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive patchShebangs node_modules/ - FERNGLAS_VERSION=${version} FERNGLAS_COMMIT=${src.rev} node_modules/.bin/webpack + FERNGLAS_VERSION=${finalAttrs.version} FERNGLAS_COMMIT=${finalAttrs.src.rev} node_modules/.bin/webpack cp -r dist/ ../static popd @@ -74,10 +74,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Looking glass for your network using BGP and BMP as data source"; homepage = "https://wobcom.github.io/fernglas/"; - changelog = "https://github.com/wobcom/fernglas/releases/tag/fernglas-${version}"; + changelog = "https://github.com/wobcom/fernglas/releases/tag/fernglas-${finalAttrs.version}"; license = lib.licenses.eupl12; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ yureka-wdz ]; mainProgram = "fernglas"; }; -} +}) diff --git a/pkgs/by-name/ff/ff2mpv-rust/package.nix b/pkgs/by-name/ff/ff2mpv-rust/package.nix index 069128207bc3..cbe24d031ddb 100644 --- a/pkgs/by-name/ff/ff2mpv-rust/package.nix +++ b/pkgs/by-name/ff/ff2mpv-rust/package.nix @@ -22,14 +22,14 @@ let ]; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ff2mpv-rust"; version = "1.1.7"; src = fetchFromGitHub { owner = "ryze312"; repo = "ff2mpv-rust"; - rev = version; + rev = finalAttrs.version; hash = "sha256-kJpKcwwwGjFYE7R4ZhkEGK44QqxsUEB/Scj0RoySta4="; }; @@ -59,4 +59,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ ryze ]; mainProgram = "ff2mpv-rust"; }; -} +}) diff --git a/pkgs/by-name/ff/ffizer/package.nix b/pkgs/by-name/ff/ffizer/package.nix index ccced232401b..39d29d444e2d 100644 --- a/pkgs/by-name/ff/ffizer/package.nix +++ b/pkgs/by-name/ff/ffizer/package.nix @@ -8,7 +8,7 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ffizer"; version = "2.13.6"; @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "ffizer"; repo = "ffizer"; - rev = version; + rev = finalAttrs.version; hash = "sha256-1UKXUcoAFQymz1J4oLH8Bwqxby8d+fhcFFYbfQBwTeo="; }; @@ -43,9 +43,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Files and folders initializer / generator based on templates"; homepage = "https://github.com/ffizer/ffizer"; - changelog = "https://github.com/ffizer/ffizer/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/ffizer/ffizer/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.cc0; maintainers = with lib.maintainers; [ XBagon ]; mainProgram = "ffizer"; }; -} +}) diff --git a/pkgs/by-name/ff/ffsend/package.nix b/pkgs/by-name/ff/ffsend/package.nix index 943da0f12c8b..d9531adb1c39 100644 --- a/pkgs/by-name/ff/ffsend/package.nix +++ b/pkgs/by-name/ff/ffsend/package.nix @@ -20,14 +20,14 @@ in assert (x11Support && usesX11) -> xclip != null || xsel != null; -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ffsend"; version = "0.2.77"; src = fetchFromGitLab { owner = "timvisee"; repo = "ffsend"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-qq1nLNe4ddcsFJZaGfNQbNtqchz6tPh1kpEH/oDW3jk="; }; @@ -78,4 +78,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; mainProgram = "ffsend"; }; -} +}) diff --git a/pkgs/by-name/fi/fido2luks/package.nix b/pkgs/by-name/fi/fido2luks/package.nix index fed9f5245cfa..3378beb5c6c7 100644 --- a/pkgs/by-name/fi/fido2luks/package.nix +++ b/pkgs/by-name/fi/fido2luks/package.nix @@ -5,14 +5,14 @@ cryptsetup, pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fido2luks"; version = "0.2.21"; src = fetchFromGitHub { owner = "shimunn"; repo = "fido2luks"; - rev = version; + rev = finalAttrs.version; hash = "sha256-bXwaFiRHURvS5KtTqIj+3GlGNbEulDgMDP51ZiO1w9o="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ mmahut ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/fi/fim-rs/package.nix b/pkgs/by-name/fi/fim-rs/package.nix index c25b1a1d6f68..1fbc74496cf1 100644 --- a/pkgs/by-name/fi/fim-rs/package.nix +++ b/pkgs/by-name/fi/fim-rs/package.nix @@ -7,14 +7,14 @@ zstd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fim-rs"; version = "0.6.1"; src = fetchFromGitHub { owner = "Achiefs"; repo = "fim"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-xJzglrNB5rqaRQTgRFIl8/AXjeDwFPykIE5LJwJ3cX4="; }; @@ -55,9 +55,9 @@ rustPlatform.buildRustPackage rec { tools like ElasticSearch/OpenSearch. ''; homepage = "https://github.com/Achiefs/fim"; - changelog = "https://github.com/Achiefs/fim/releases/tag/v${version}"; + changelog = "https://github.com/Achiefs/fim/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ fab ]; mainProgram = "fim"; }; -} +}) diff --git a/pkgs/by-name/fi/finalfusion-utils/package.nix b/pkgs/by-name/fi/finalfusion-utils/package.nix index 061e4ab3784f..3f593b93b218 100644 --- a/pkgs/by-name/fi/finalfusion-utils/package.nix +++ b/pkgs/by-name/fi/finalfusion-utils/package.nix @@ -9,14 +9,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "finalfusion-utils"; version = "0.14.1"; src = fetchFromGitHub { owner = "finalfusion"; repo = "finalfusion-utils"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-suzivynlgk4VvDOC2dQR40n5IJHoJ736+ObdrM9dIqE="; }; @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "finalfusion"; }; -} +}) diff --git a/pkgs/by-name/fi/findex/package.nix b/pkgs/by-name/fi/findex/package.nix index bf4537fe51c0..9bbd2aa19497 100644 --- a/pkgs/by-name/fi/findex/package.nix +++ b/pkgs/by-name/fi/findex/package.nix @@ -7,14 +7,14 @@ keybinder3, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "findex"; version = "0.8.3"; src = fetchFromGitHub { owner = "mdgaziur"; repo = "findex"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-fsudE6eXThbN9Cz8cYATcYMXT3BJ3xCw6wrXYhxro2I="; }; @@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/fi/findomain/package.nix b/pkgs/by-name/fi/findomain/package.nix index 3da867a7df19..110e2654f010 100644 --- a/pkgs/by-name/fi/findomain/package.nix +++ b/pkgs/by-name/fi/findomain/package.nix @@ -7,14 +7,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "findomain"; version = "10.0.1"; src = fetchFromGitHub { owner = "findomain"; repo = "findomain"; - tag = version; + tag = finalAttrs.version; hash = "sha256-qMSVj+qhrx1LPuXWXKzo0v4yirNW2x/o/blNkSVU3Tg="; }; @@ -40,9 +40,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Fastest and cross-platform subdomain enumerator"; homepage = "https://github.com/Findomain/Findomain"; - changelog = "https://github.com/Findomain/Findomain/releases/tag/${version}"; + changelog = "https://github.com/Findomain/Findomain/releases/tag/${finalAttrs.version}"; license = lib.licenses.gpl3Plus; maintainers = [ ]; mainProgram = "findomain"; }; -} +}) diff --git a/pkgs/by-name/fi/firezone-gateway/package.nix b/pkgs/by-name/fi/firezone-gateway/package.nix index e71acd697d53..0cd89a809b4c 100644 --- a/pkgs/by-name/fi/firezone-gateway/package.nix +++ b/pkgs/by-name/fi/firezone-gateway/package.nix @@ -4,18 +4,18 @@ fetchFromGitHub, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "firezone-gateway"; version = "1.4.18"; src = fetchFromGitHub { owner = "firezone"; repo = "firezone"; - tag = "gateway-${version}"; + tag = "gateway-${finalAttrs.version}"; hash = "sha256-vxOFca6yO9AvgIJwizhaNlOjOvV00+ckQfXIJ17ASq4="; }; cargoHash = "sha256-8YftVt72JpmxWB/WvOPpduE0/QgYvQhSuFRmsFth2iU="; - sourceRoot = "${src.name}/rust"; + sourceRoot = "${finalAttrs.src.name}/rust"; buildAndTestSubdir = "gateway"; env.RUSTFLAGS = "--cfg system_certs"; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "firezone-gateway"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/fi/firezone-headless-client/package.nix b/pkgs/by-name/fi/firezone-headless-client/package.nix index 8eff1b099201..877f40279af8 100644 --- a/pkgs/by-name/fi/firezone-headless-client/package.nix +++ b/pkgs/by-name/fi/firezone-headless-client/package.nix @@ -4,18 +4,18 @@ fetchFromGitHub, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "firezone-headless-client"; version = "1.5.5"; src = fetchFromGitHub { owner = "firezone"; repo = "firezone"; - tag = "headless-client-${version}"; + tag = "headless-client-${finalAttrs.version}"; hash = "sha256-Lo5iUXlpAecglr0uohOdsefeaDQZor2YoF0O99CxvEo="; }; cargoHash = "sha256-1e2uqxZFDbtcQREB0s2jxfSFgs/hnPxTlUGFeK5L9yw="; - sourceRoot = "${src.name}/rust"; + sourceRoot = "${finalAttrs.src.name}/rust"; buildAndTestSubdir = "headless-client"; env.RUSTFLAGS = "--cfg system_certs"; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "firezone-headless-client"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/fi/firezone-relay/package.nix b/pkgs/by-name/fi/firezone-relay/package.nix index 83282a0b8458..7f389d01b631 100644 --- a/pkgs/by-name/fi/firezone-relay/package.nix +++ b/pkgs/by-name/fi/firezone-relay/package.nix @@ -3,7 +3,7 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "firezone-relay"; version = "0-unstable-2025-03-15"; src = fetchFromGitHub { @@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec { }; cargoHash = "sha256-uqy4GgYaSX2kM4a37093lHmhvOtNUhkEs6/ZS1bjuYo="; - sourceRoot = "${src.name}/rust"; + sourceRoot = "${finalAttrs.src.name}/rust"; buildAndTestSubdir = "relay"; env.RUSTFLAGS = "--cfg system_certs"; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "firezone-relay"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/fi/fishy/package.nix b/pkgs/by-name/fi/fishy/package.nix index ec62305e8c4c..92b581c97d42 100644 --- a/pkgs/by-name/fi/fishy/package.nix +++ b/pkgs/by-name/fi/fishy/package.nix @@ -8,14 +8,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fishy"; version = "0.2.1"; src = fetchFromGitHub { owner = "p2panda"; repo = "fishy"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-nRkP53v9+VzqHKTsHs+cBeLjh3yASFE18sSEY02NR1s="; }; @@ -33,9 +33,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Create, manage and deploy p2panda schemas"; homepage = "https://github.com/p2panda/fishy"; - changelog = "https://github.com/p2panda/fishy/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/p2panda/fishy/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ confusedalex ]; mainProgram = "fishy"; }; -} +}) diff --git a/pkgs/by-name/fj/fjo/package.nix b/pkgs/by-name/fj/fjo/package.nix index a82ca86af011..f06c505c5ae1 100644 --- a/pkgs/by-name/fj/fjo/package.nix +++ b/pkgs/by-name/fj/fjo/package.nix @@ -7,14 +7,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fjo"; version = "0.3.5"; src = fetchFromCodeberg { owner = "VoiDD"; repo = "fjo"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-KjH78yqfZoN24TBYyFZuxf7z9poRov0uFYQ8+eq9p/o="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "berg"; broken = stdenv.hostPlatform.isDarwin; }; -} +}) diff --git a/pkgs/by-name/fl/flake-checker/package.nix b/pkgs/by-name/fl/flake-checker/package.nix index 246de955fe4f..7726064758b6 100644 --- a/pkgs/by-name/fl/flake-checker/package.nix +++ b/pkgs/by-name/fl/flake-checker/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "flake-checker"; version = "0.2.11"; src = fetchFromGitHub { owner = "DeterminateSystems"; repo = "flake-checker"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-0ftHzqFpFkKZKByWJ49/YySrXBU4lCxvcpbTuMY8ZXs="; }; @@ -19,10 +19,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Health checks for your Nix flakes"; - homepage = "https://github.com/${src.owner}/${src.repo}"; - changelog = "https://github.com/${src.owner}/${src.repo}/releases/tag/${src.rev}"; + homepage = "https://github.com/${finalAttrs.src.owner}/${finalAttrs.src.repo}"; + changelog = "https://github.com/${finalAttrs.src.owner}/${finalAttrs.src.repo}/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ lucperkins ]; mainProgram = "flake-checker"; }; -} +}) diff --git a/pkgs/by-name/fl/flake-edit/package.nix b/pkgs/by-name/fl/flake-edit/package.nix index d098dc36f6e3..0f6e8624e966 100644 --- a/pkgs/by-name/fl/flake-edit/package.nix +++ b/pkgs/by-name/fl/flake-edit/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "flake-edit"; version = "0.3.3"; src = fetchFromGitHub { owner = "a-kenji"; repo = "flake-edit"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-CDz7iDOPearlxsqLuAuG+cmKneFavxJmdCbnWwEIvcU="; }; @@ -43,9 +43,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Edit your flake inputs with ease"; homepage = "https://github.com/a-kenji/flake-edit"; - changelog = "https://github.com/a-kenji/flake-edit/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/a-kenji/flake-edit/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ a-kenji ]; mainProgram = "flake-edit"; }; -} +}) diff --git a/pkgs/by-name/fl/flamelens/package.nix b/pkgs/by-name/fl/flamelens/package.nix index 4ed7e5e07c1c..aea1bd4d963b 100644 --- a/pkgs/by-name/fl/flamelens/package.nix +++ b/pkgs/by-name/fl/flamelens/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "flamelens"; version = "0.3.1"; src = fetchFromGitHub { owner = "YS-L"; repo = "flamelens"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-cvsBeV9pdgr8V+82Fw/XZS1Ljq/7ff4JYMHnNxqNvOM="; }; @@ -20,8 +20,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "Interactive flamegraph viewer in the terminal"; homepage = "https://github.com/YS-L/flamelens"; - changelog = "https://github.com/YS-L/flamelens/releases/tag/v${version}/CHANGELOG.md"; + changelog = "https://github.com/YS-L/flamelens/releases/tag/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ lib.maintainers.averdow ]; }; -} +}) diff --git a/pkgs/by-name/fl/flavours/package.nix b/pkgs/by-name/fl/flavours/package.nix index 1ea3c6974a96..403940c160e3 100644 --- a/pkgs/by-name/fl/flavours/package.nix +++ b/pkgs/by-name/fl/flavours/package.nix @@ -7,14 +7,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "flavours"; version = "0.7.1"; src = fetchFromGitHub { owner = "Misterio77"; repo = "flavours"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-SOsHvcfDdUpb0x5VZ1vZJnGaIiWWOPgnAwKYNXzfUfI="; }; @@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Easy to use base16 scheme manager/builder that integrates with any workflow"; homepage = "https://github.com/Misterio77/flavours"; - changelog = "https://github.com/Misterio77/flavours/releases/tag/v${version}"; + changelog = "https://github.com/Misterio77/flavours/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ moni @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "flavours"; }; -} +}) diff --git a/pkgs/by-name/fl/flawz/package.nix b/pkgs/by-name/fl/flawz/package.nix index 847af98e9b7e..a95d7e392108 100644 --- a/pkgs/by-name/fl/flawz/package.nix +++ b/pkgs/by-name/fl/flawz/package.nix @@ -10,14 +10,14 @@ buildPackages, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "flawz"; version = "0.3.0"; src = fetchFromGitHub { owner = "orhun"; repo = "flawz"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-7p/BUXrElJutUcRMu+LxdsMxA6lCDnaci0fDaKGsawI="; }; @@ -66,7 +66,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal UI for browsing CVEs"; homepage = "https://github.com/orhun/flawz"; - changelog = "https://github.com/orhun/flawz/releases/tag/v${version}"; + changelog = "https://github.com/orhun/flawz/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ mit asl20 @@ -75,4 +75,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ anas ]; platforms = with lib.platforms; unix ++ windows; }; -} +}) diff --git a/pkgs/by-name/fl/flip-link/package.nix b/pkgs/by-name/fl/flip-link/package.nix index 20cf4ba03f71..2f6704fa34a3 100644 --- a/pkgs/by-name/fl/flip-link/package.nix +++ b/pkgs/by-name/fl/flip-link/package.nix @@ -6,14 +6,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "flip-link"; version = "0.1.12"; src = fetchFromGitHub { owner = "knurling-rs"; repo = "flip-link"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-HYNaHXgI02xY1/eBkwLPN1AGwO6w98tCjwvP8YinuxE="; }; @@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec { description = "Adds zero-cost stack overflow protection to your embedded programs"; mainProgram = "flip-link"; homepage = "https://github.com/knurling-rs/flip-link"; - changelog = "https://github.com/knurling-rs/flip-link/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/knurling-rs/flip-link/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { newam ]; }; -} +}) diff --git a/pkgs/by-name/fl/flirt/package.nix b/pkgs/by-name/fl/flirt/package.nix index 38614215dea0..fba31aefc434 100644 --- a/pkgs/by-name/fl/flirt/package.nix +++ b/pkgs/by-name/fl/flirt/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "flirt"; version = "0.4.1"; src = fetchFromSourcehut { owner = "~hadronized"; repo = "flirt"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-L7BiNA/cG7e1GX9sOxwwLS5+2/Tpb1PeA/2rPz8ALf8="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "flirt"; }; -} +}) diff --git a/pkgs/by-name/fl/flitter/package.nix b/pkgs/by-name/fl/flitter/package.nix index 5bb63f144f0b..1ca7ab4d0bf0 100644 --- a/pkgs/by-name/fl/flitter/package.nix +++ b/pkgs/by-name/fl/flitter/package.nix @@ -7,14 +7,14 @@ libx11, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "flitter"; version = "1.1.5"; src = fetchFromGitHub { owner = "alexozer"; repo = "flitter"; - tag = version; + tag = finalAttrs.version; hash = "sha256-aXTQeUKhwa2uVipKIs8n0XBiWa5o7U6UMlAUlnzXyzE="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "flitter"; broken = stdenv.hostPlatform.isDarwin; }; -} +}) diff --git a/pkgs/by-name/fl/flutter_rust_bridge_codegen/package.nix b/pkgs/by-name/fl/flutter_rust_bridge_codegen/package.nix index 39c2c05689fd..9c16b3639e51 100644 --- a/pkgs/by-name/fl/flutter_rust_bridge_codegen/package.nix +++ b/pkgs/by-name/fl/flutter_rust_bridge_codegen/package.nix @@ -5,14 +5,14 @@ cargo-expand, stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "flutter_rust_bridge_codegen"; version = "2.11.1"; src = fetchFromGitHub { owner = "fzyzcjy"; repo = "flutter_rust_bridge"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Us+LwT6tjBcTl2xclVsiLauSlIO8w+PiokpiDB+h1fI="; fetchSubmodules = true; }; @@ -50,4 +50,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ lib.maintainers.eymeric ]; }; -} +}) diff --git a/pkgs/by-name/fn/fnm/package.nix b/pkgs/by-name/fn/fnm/package.nix index 38aada2a676f..7eadcede4f41 100644 --- a/pkgs/by-name/fn/fnm/package.nix +++ b/pkgs/by-name/fn/fnm/package.nix @@ -6,14 +6,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fnm"; version = "1.38.1"; src = fetchFromGitHub { owner = "Schniz"; repo = "fnm"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-WW+jWaClDn78Fw/xj6WvnEUlBI99HA5hQFUpwsYKmbI="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ kidonng ]; }; -} +}) diff --git a/pkgs/by-name/fo/fontc/package.nix b/pkgs/by-name/fo/fontc/package.nix index 6fab082752d5..8fb77bc0783b 100644 --- a/pkgs/by-name/fo/fontc/package.nix +++ b/pkgs/by-name/fo/fontc/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fontc"; version = "0.3.0"; src = fetchFromGitHub { owner = "googlefonts"; repo = "fontc"; - tag = "fontc-v${version}"; + tag = "fontc-v${finalAttrs.version}"; hash = "sha256-Zr2nJRNY1vLGhVOGC3KSWbd4cQReO/F8Wgzx3y/qPFc="; }; buildAndTestSubdir = "fontc"; @@ -29,9 +29,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Wherein we pursue oxidizing fontmake"; homepage = "https://github.com/googlefonts/fontc"; - changelog = "https://github.com/googlefonts/fontc/releases/tag/${src.tag}"; + changelog = "https://github.com/googlefonts/fontc/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ shiphan ]; mainProgram = "fontc"; }; -} +}) diff --git a/pkgs/by-name/fo/fontfor/package.nix b/pkgs/by-name/fo/fontfor/package.nix index 8ce1202b92b7..4b52ad8f006a 100644 --- a/pkgs/by-name/fo/fontfor/package.nix +++ b/pkgs/by-name/fo/fontfor/package.nix @@ -10,14 +10,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fontfor"; version = "0.4.3"; src = fetchFromGitHub { owner = "7sDream"; repo = "fontfor"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-gJl9SPL/KeYFzKIjwWPVR1iVy6h/W7OP7xE7krhYaY8="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "fontfor"; }; -} +}) diff --git a/pkgs/by-name/fo/fortune-kind/package.nix b/pkgs/by-name/fo/fortune-kind/package.nix index 2d36cb5e804b..4b5c28281cf2 100644 --- a/pkgs/by-name/fo/fortune-kind/package.nix +++ b/pkgs/by-name/fo/fortune-kind/package.nix @@ -9,14 +9,14 @@ fortuneAlias ? true, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fortune-kind"; version = "0.1.13"; src = fetchFromGitHub { owner = "cafkafk"; repo = "fortune-kind"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Tpg0Jq2EhkwQuz5ZOtv6Rb5YESSlmzLoJPTxYJNNgac="; }; @@ -67,10 +67,10 @@ rustPlatform.buildRustPackage rec { process to the fortune adoption workflow. ''; homepage = "https://github.com/cafkafk/fortune-kind"; - changelog = "https://github.com/cafkafk/fortune-kind/releases/tag/v${version}"; + changelog = "https://github.com/cafkafk/fortune-kind/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; mainProgram = "fortune-kind"; maintainers = with lib.maintainers; [ cafkafk ]; platforms = lib.platforms.unix ++ lib.platforms.windows; }; -} +}) diff --git a/pkgs/by-name/fo/foxmarks/package.nix b/pkgs/by-name/fo/foxmarks/package.nix index 167c085ff881..c5f6e0b8ffe2 100644 --- a/pkgs/by-name/fo/foxmarks/package.nix +++ b/pkgs/by-name/fo/foxmarks/package.nix @@ -5,14 +5,14 @@ sqlite, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "foxmarks"; version = "2.1.1"; src = fetchFromGitHub { owner = "zer0-x"; repo = "foxmarks"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-6lJ9acVo444RMxc3wUakBz4zT74oNUpwoP69rdf2mmE="; }; @@ -23,8 +23,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI read-only interface for Mozilla Firefox's bookmarks"; homepage = "https://github.com/zer0-x/foxmarks"; - changelog = "https://github.com/zer0-x/foxmarks/blobl/v${version}/CHANGELOG.md"; + changelog = "https://github.com/zer0-x/foxmarks/blobl/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ loicreynier ]; }; -} +}) diff --git a/pkgs/by-name/fr/framework-tool/package.nix b/pkgs/by-name/fr/framework-tool/package.nix index fec50684f259..5cc03573b00f 100644 --- a/pkgs/by-name/fr/framework-tool/package.nix +++ b/pkgs/by-name/fr/framework-tool/package.nix @@ -6,14 +6,14 @@ udev, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "framework-tool"; version = "0.5.0"; src = fetchFromGitHub { owner = "FrameworkComputer"; repo = "framework-system"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-wgleuZ0txkmv0+tyr31PiVTNyTSc+OPy/jJwL1Ryyu4="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "framework_tool"; }; -} +}) diff --git a/pkgs/by-name/fr/fre/package.nix b/pkgs/by-name/fr/fre/package.nix index 2d9f4beffc20..84e305c8d01a 100644 --- a/pkgs/by-name/fr/fre/package.nix +++ b/pkgs/by-name/fr/fre/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fre"; version = "0.4.1"; src = fetchFromGitHub { owner = "camdencheek"; repo = "fre"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-cYqEPohqUmewvBUoGJQfa4ATxw2uny5+nUKtNzrxK38="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI tool for tracking your most-used directories and files"; homepage = "https://github.com/camdencheek/fre"; - changelog = "https://github.com/camdencheek/fre/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/camdencheek/fre/blob/${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ gaykitty ]; mainProgram = "fre"; }; -} +}) diff --git a/pkgs/by-name/fr/frece/package.nix b/pkgs/by-name/fr/frece/package.nix index 16c28aee0e0e..a6ca4ee01c8c 100644 --- a/pkgs/by-name/fr/frece/package.nix +++ b/pkgs/by-name/fr/frece/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "frece"; version = "1.0.6"; src = fetchFromGitHub { owner = "YodaEmbedding"; repo = "frece"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-CAiIqT5KuzrqbV9FVK3nZUe8MDs2KDdsKplJMI7rN9w="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/fr/freshfetch/package.nix b/pkgs/by-name/fr/freshfetch/package.nix index d61bbb398d22..0e7911b864dd 100644 --- a/pkgs/by-name/fr/freshfetch/package.nix +++ b/pkgs/by-name/fr/freshfetch/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "freshfetch"; version = "0.2.0"; src = fetchFromGitHub { owner = "k4rakara"; repo = "freshfetch"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "1l9zngr5l12g71j85iyph4jjri3crxc2pi9q0gczrrzvs03439mn"; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "freshfetch"; }; -} +}) diff --git a/pkgs/by-name/fs/fselect/package.nix b/pkgs/by-name/fs/fselect/package.nix index fb512c231251..e8f9f6aedf17 100644 --- a/pkgs/by-name/fs/fselect/package.nix +++ b/pkgs/by-name/fs/fselect/package.nix @@ -7,14 +7,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fselect"; version = "0.9.2"; src = fetchFromGitHub { owner = "jhspetersson"; repo = "fselect"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-S9WlDpa9Qe3GVVC/L5KAyekH1NegdDttJ6HH5rwI6Dk="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "fselect"; }; -} +}) diff --git a/pkgs/by-name/fs/fsrx/package.nix b/pkgs/by-name/fs/fsrx/package.nix index 7a74080edc83..ea6cf0f2a74f 100644 --- a/pkgs/by-name/fs/fsrx/package.nix +++ b/pkgs/by-name/fs/fsrx/package.nix @@ -6,14 +6,14 @@ fsrx, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fsrx"; version = "1.0.2"; src = fetchFromGitHub { owner = "thatvegandev"; repo = "fsrx"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-hzfpjunP20WCt3erYu7AO7A3nz+UMKdFzWUA5jASbVA="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ MoritzBoehme ]; mainProgram = "fsrx"; }; -} +}) diff --git a/pkgs/by-name/fs/fst/package.nix b/pkgs/by-name/fs/fst/package.nix index a1619a89cb82..82a62f134e5a 100644 --- a/pkgs/by-name/fs/fst/package.nix +++ b/pkgs/by-name/fs/fst/package.nix @@ -6,12 +6,12 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fst"; version = "0.4.3"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; crateName = "fst-bin"; hash = "sha256-x2rvLMOhatMWU2u5GAdpYy2uuwZLi3apoE6aaTF+M1g="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = with lib.maintainers; [ rmcgibbo ]; }; -} +}) diff --git a/pkgs/by-name/fu/fum/package.nix b/pkgs/by-name/fu/fum/package.nix index 45535149f91e..3c14fc85f6b7 100644 --- a/pkgs/by-name/fu/fum/package.nix +++ b/pkgs/by-name/fu/fum/package.nix @@ -9,14 +9,14 @@ libgcc, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fum"; version = "1.3.1"; src = fetchFromGitHub { owner = "qxb3"; repo = "fum"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-qZGbJGotxJCxlMIRPS/hw/cfz/k8PFdVKoJtqWKXD6s="; }; @@ -40,10 +40,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Fully ricable tui-based music client"; homepage = "https://github.com/qxb3/fum"; - changelog = "https://github.com/qxb3/fum/releases/tag/v${version}"; + changelog = "https://github.com/qxb3/fum/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ FKouhai ]; platforms = lib.platforms.linux; mainProgram = "fum"; }; -} +}) diff --git a/pkgs/by-name/fu/function-runner/package.nix b/pkgs/by-name/fu/function-runner/package.nix index 368f2161ba5c..291b843ee5cc 100644 --- a/pkgs/by-name/fu/function-runner/package.nix +++ b/pkgs/by-name/fu/function-runner/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "function-runner"; version = "9.0.0"; src = fetchFromGitHub { owner = "Shopify"; repo = "function-runner"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-xzajHtFs7cp7D1ZdG3jBFbjheTSgWR/Vz4fkew3iAkc="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ nintron ]; }; -} +}) diff --git a/pkgs/by-name/fu/fundoc/package.nix b/pkgs/by-name/fu/fundoc/package.nix index fae6b0c6a711..5cbce239bce6 100644 --- a/pkgs/by-name/fu/fundoc/package.nix +++ b/pkgs/by-name/fu/fundoc/package.nix @@ -5,14 +5,14 @@ fetchpatch, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fundoc"; version = "0.5.0"; src = fetchFromGitHub { owner = "daynin"; repo = "fundoc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8WWaYgfqGWrTV2EEeSPz1BN2ur7gsxFiHeDNMJdVDcw="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/fu/funzzy/package.nix b/pkgs/by-name/fu/funzzy/package.nix index e6f10245db30..d046a4f27ab9 100644 --- a/pkgs/by-name/fu/funzzy/package.nix +++ b/pkgs/by-name/fu/funzzy/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "funzzy"; version = "1.5.0"; src = fetchFromGitHub { owner = "cristianoliveira"; repo = "funzzy"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-3EHZvgHlM3ldX6SEyqGf6MZIrDFOLXbKTZnJNczT570="; }; @@ -20,8 +20,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "Lightweight watcher"; homepage = "https://github.com/cristianoliveira/funzzy"; - changelog = "https://github.com/cristianoliveira/funzzy/releases/tag/${src.rev}"; + changelog = "https://github.com/cristianoliveira/funzzy/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/fw/fw/package.nix b/pkgs/by-name/fw/fw/package.nix index 4c93ff301e35..a6f2fe70bb9b 100644 --- a/pkgs/by-name/fw/fw/package.nix +++ b/pkgs/by-name/fw/fw/package.nix @@ -8,14 +8,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fw"; version = "2.21.0"; src = fetchFromGitHub { owner = "brocode"; repo = "fw"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-tqtiAw4+bnCJMF37SluAE9NM55MAjBGkJTvGLcmYFnA="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "fw"; }; -} +}) diff --git a/pkgs/by-name/fz/fzf-make/package.nix b/pkgs/by-name/fz/fzf-make/package.nix index 789c44dbac92..05777b2ee945 100644 --- a/pkgs/by-name/fz/fzf-make/package.nix +++ b/pkgs/by-name/fz/fzf-make/package.nix @@ -9,14 +9,14 @@ gnumake, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fzf-make"; version = "0.67.0"; src = fetchFromGitHub { owner = "kyu08"; repo = "fzf-make"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ciUixT+ELBL90rPe1wUyp41ZL2a6YhEDY+n66cOB1xk="; }; @@ -38,12 +38,12 @@ rustPlatform.buildRustPackage rec { meta = { description = "Fuzzy finder for Makefile"; - inherit (src.meta) homepage; - changelog = "https://github.com/kyu08/fzf-make/releases/tag/v${version}"; + inherit (finalAttrs.src.meta) homepage; + changelog = "https://github.com/kyu08/fzf-make/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sigmanificient ]; mainProgram = "fzf-make"; }; -} +}) diff --git a/pkgs/by-name/ga/galerio/package.nix b/pkgs/by-name/ga/galerio/package.nix index 2513f582f6b0..f7f77f8cb639 100644 --- a/pkgs/by-name/ga/galerio/package.nix +++ b/pkgs/by-name/ga/galerio/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "galerio"; version = "1.2.0"; src = fetchFromGitHub { owner = "dbrgn"; repo = "galerio"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-JR/YfMUs5IHBRr3uYqHXLNcr23YHyDvgH2y/1ip+2Y8="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "galerio"; }; -} +}) diff --git a/pkgs/by-name/ga/game-rs/package.nix b/pkgs/by-name/ga/game-rs/package.nix index f90974855e0c..7c0a7cfe0598 100644 --- a/pkgs/by-name/ga/game-rs/package.nix +++ b/pkgs/by-name/ga/game-rs/package.nix @@ -5,14 +5,14 @@ umu-launcher, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "game-rs"; version = "5"; src = fetchFromGitHub { owner = "amanse"; repo = "game-rs"; - rev = "z${version}"; + rev = "z${finalAttrs.version}"; hash = "sha256-+LQxU4jWBAOk+qHNvGxYXudX5dG6szQt3PiPI41Zxlo="; }; @@ -23,9 +23,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Minimal CLI game launcher for linux"; homepage = "https://github.com/amanse/game-rs"; - changelog = "https://github.com/Amanse/game-rs/releases/tag/v${version}"; + changelog = "https://github.com/Amanse/game-rs/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ amanse ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/gd/gdrive3/package.nix b/pkgs/by-name/gd/gdrive3/package.nix index a07c8c2761db..3ed365e546ae 100644 --- a/pkgs/by-name/gd/gdrive3/package.nix +++ b/pkgs/by-name/gd/gdrive3/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gdrive"; version = "3.9.1"; src = fetchFromGitHub { owner = "glotlabs"; repo = "gdrive"; - rev = version; + rev = finalAttrs.version; hash = "sha256-1yJg+rEhKTGXC7mlHxnWGUuAm9/RwhD6/Xg/GBKyQMw="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Google Drive CLI Client"; homepage = "https://github.com/glotlabs/gdrive"; - changelog = "https://github.com/glotlabs/gdrive/releases/tag/${src.rev}"; + changelog = "https://github.com/glotlabs/gdrive/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "gdrive"; }; -} +}) diff --git a/pkgs/by-name/ge/geckodriver/package.nix b/pkgs/by-name/ge/geckodriver/package.nix index e1556ca5a492..2681f81f5690 100644 --- a/pkgs/by-name/ge/geckodriver/package.nix +++ b/pkgs/by-name/ge/geckodriver/package.nix @@ -6,14 +6,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { version = "0.36.0"; pname = "geckodriver"; src = fetchFromGitHub { owner = "mozilla"; repo = "geckodriver"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-rqJ6+QKfEhdHGZBT9yEWtsBlETxz4XeEZXisXf7RdIE="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ jraygauthier ]; mainProgram = "geckodriver"; }; -} +}) diff --git a/pkgs/by-name/ge/gen-license/package.nix b/pkgs/by-name/ge/gen-license/package.nix index 89a7392e2035..cc3a0be94a9e 100644 --- a/pkgs/by-name/ge/gen-license/package.nix +++ b/pkgs/by-name/ge/gen-license/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gen-license"; version = "0.1.4"; src = fetchFromGitHub { owner = "nexxeln"; repo = "license-generator"; - rev = "${version}"; + rev = "${finalAttrs.version}"; hash = "sha256-VOmt8JXd2+ykhkhupv/I4RfXz9P0eEesW3JGAoXStUI="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ lib.maintainers.ryanccn ]; }; -} +}) diff --git a/pkgs/by-name/ge/genact/package.nix b/pkgs/by-name/ge/genact/package.nix index 11b186ddcc57..4d23549a9005 100644 --- a/pkgs/by-name/ge/genact/package.nix +++ b/pkgs/by-name/ge/genact/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "genact"; version = "1.5.1"; src = fetchFromGitHub { owner = "svenstaro"; repo = "genact"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-D1uecxrRR49EUa2fHm/ieQ4Gp0m5p0ncj5YiINwlvN8="; }; @@ -34,9 +34,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Nonsense activity generator"; homepage = "https://github.com/svenstaro/genact"; - changelog = "https://github.com/svenstaro/genact/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/svenstaro/genact/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "genact"; }; -} +}) diff --git a/pkgs/by-name/ge/genealogos-cli/package.nix b/pkgs/by-name/ge/genealogos-cli/package.nix index cd7352a1b2e2..c64d04e10d1f 100644 --- a/pkgs/by-name/ge/genealogos-cli/package.nix +++ b/pkgs/by-name/ge/genealogos-cli/package.nix @@ -8,14 +8,14 @@ crate ? "cli", }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "genealogos-${crate}"; version = "1.0.0"; src = fetchFromGitHub { owner = "tweag"; repo = "genealogos"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-EQrKInsrqlpjySX6duylo++2qwglB3EqGfLFJucOQM8="; # Genealogos' fixture tests contain valid nix store paths, and are thus incompatible with a fixed-output-derivation. # To avoid this, we just remove the tests @@ -42,7 +42,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/tweag/genealogos"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ erin ]; - changelog = "https://github.com/tweag/genealogos/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/tweag/genealogos/blob/${finalAttrs.src.tag}/CHANGELOG.md"; mainProgram = { api = "genealogos-api"; @@ -51,4 +51,4 @@ rustPlatform.buildRustPackage rec { .${crate}; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/ge/genpass/package.nix b/pkgs/by-name/ge/genpass/package.nix index 150a0de2905f..b4776504df7a 100644 --- a/pkgs/by-name/ge/genpass/package.nix +++ b/pkgs/by-name/ge/genpass/package.nix @@ -4,13 +4,13 @@ rustPlatform, zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "genpass"; version = "0.5.1"; src = fetchgit { url = "https://git.sr.ht/~cyplo/genpass"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "UyEgOlKtDyneRteN3jHA2BJlu5U1HFL8HA2MTQz5rns="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ cyplo ]; }; -} +}) diff --git a/pkgs/by-name/ge/geticons/package.nix b/pkgs/by-name/ge/geticons/package.nix index e39087fde411..8d50d39c9325 100644 --- a/pkgs/by-name/ge/geticons/package.nix +++ b/pkgs/by-name/ge/geticons/package.nix @@ -5,14 +5,14 @@ gitUpdater, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "geticons"; version = "1.2.2"; src = fetchFromSourcehut { owner = "~zethra"; repo = "geticons"; - rev = version; + rev = finalAttrs.version; hash = "sha256-HEnUfOLeRTi2dRRqjDPVwVVHo/GN9wE28x5qv3qOpCY="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { homepage = "https://git.sr.ht/~zethra/geticons"; license = with lib.licenses; [ gpl3Plus ]; }; -} +}) diff --git a/pkgs/by-name/ge/gex/package.nix b/pkgs/by-name/ge/gex/package.nix index 28c4827df3b8..a57d18045ee7 100644 --- a/pkgs/by-name/ge/gex/package.nix +++ b/pkgs/by-name/ge/gex/package.nix @@ -9,14 +9,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gex"; version = "0.6.4"; src = fetchFromCodeberg { owner = "Piturnah"; repo = "gex"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Xer7a3UtFIv3idchI7DfZ5u6qgDW/XFWi5ihtcREXqo="; }; @@ -42,7 +42,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Git Explorer: cross-platform git workflow improvement tool inspired by Magit"; homepage = "https://codeberg.org/Piturnah/gex"; - changelog = "https://codeberg.org/Piturnah/gex/releases/tag/${src.tag}"; + changelog = "https://codeberg.org/Piturnah/gex/releases/tag/${finalAttrs.src.tag}"; license = with lib.licenses; [ asl20 # or mit @@ -55,4 +55,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "gex"; }; -} +}) diff --git a/pkgs/by-name/gh/ghciwatch/package.nix b/pkgs/by-name/gh/ghciwatch/package.nix index 7881bb5aff9f..55c66944929a 100644 --- a/pkgs/by-name/gh/ghciwatch/package.nix +++ b/pkgs/by-name/gh/ghciwatch/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ghciwatch"; version = "1.1.5"; src = fetchFromGitHub { owner = "MercuryTechnologies"; repo = "ghciwatch"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-K7BNGRilzi01loE0yS4CZFDNz8TQ9Z+fELO5HUvGObE="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { }; passthru.updateScript = nix-update-script { }; -} +}) diff --git a/pkgs/by-name/gh/ghostie/package.nix b/pkgs/by-name/gh/ghostie/package.nix index 9b17b48252bd..aab545e2f0c3 100644 --- a/pkgs/by-name/gh/ghostie/package.nix +++ b/pkgs/by-name/gh/ghostie/package.nix @@ -8,14 +8,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ghostie"; version = "0.3.1"; src = fetchFromGitHub { owner = "attriaayush"; repo = "ghostie"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-lEjJLmBA3dlIVxc8E+UvR7u154QGeCfEbxdgUxAS3Cw="; }; @@ -40,10 +40,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Github notifications in your terminal"; homepage = "https://github.com/attriaayush/ghostie"; - changelog = "https://github.com/attriaayush/ghostie/releases/tag/v${version}"; + changelog = "https://github.com/attriaayush/ghostie/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ matthiasbeyer ]; broken = stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin; mainProgram = "ghostie"; }; -} +}) diff --git a/pkgs/by-name/gi/gifski/package.nix b/pkgs/by-name/gi/gifski/package.nix index 22e48a069f97..f4fe0bff36d1 100644 --- a/pkgs/by-name/gi/gifski/package.nix +++ b/pkgs/by-name/gi/gifski/package.nix @@ -6,14 +6,14 @@ ffmpeg_6, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gifski"; version = "1.34.0"; src = fetchFromGitHub { owner = "ImageOptim"; repo = "gifski"; - rev = version; + rev = finalAttrs.version; hash = "sha256-8EAC8YH3AIbvYdTL7HtqTL7WqztzCwvDwIVkhiqvtrQ="; }; @@ -43,9 +43,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "GIF encoder based on libimagequant (pngquant)"; homepage = "https://gif.ski/"; - changelog = "https://github.com/ImageOptim/gifski/releases/tag/${src.rev}"; + changelog = "https://github.com/ImageOptim/gifski/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.agpl3Plus; maintainers = [ ]; mainProgram = "gifski"; }; -} +}) diff --git a/pkgs/by-name/gi/gimoji/package.nix b/pkgs/by-name/gi/gimoji/package.nix index 8893dd35651e..d3297162e31c 100644 --- a/pkgs/by-name/gi/gimoji/package.nix +++ b/pkgs/by-name/gi/gimoji/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gimoji"; version = "1.2.0"; src = fetchFromGitHub { owner = "zeenix"; repo = "gimoji"; - rev = version; + rev = finalAttrs.version; hash = "sha256-9ixaLo3rafOwsPtu+kJodjPBn7AKX/It/0jsnLwCHF4="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "gimoji"; maintainers = with lib.maintainers; [ a-kenji ]; }; -} +}) diff --git a/pkgs/by-name/gi/ginko/package.nix b/pkgs/by-name/gi/ginko/package.nix index 0cd2d273b1b5..ad44fca196f3 100644 --- a/pkgs/by-name/gi/ginko/package.nix +++ b/pkgs/by-name/gi/ginko/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ginko"; version = "0.0.8"; src = fetchFromGitHub { owner = "Schottkyc137"; repo = "ginko"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-lk+iZclni6jAkvN5/62YobFBAdwTUOfd5v7Fs8M6MQo="; }; @@ -22,6 +22,6 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.fredeb ]; license = lib.licenses.mit; homepage = "https://github.com/Schottkyc137/ginko"; - changelog = "https://github.com/Schottkyc137/ginko/releases/tag/v${version}/CHANGELOG.md"; + changelog = "https://github.com/Schottkyc137/ginko/releases/tag/v${finalAttrs.version}/CHANGELOG.md"; }; -} +}) diff --git a/pkgs/by-name/gi/girouette/package.nix b/pkgs/by-name/gi/girouette/package.nix index b816b35a1360..008d70583f8e 100644 --- a/pkgs/by-name/gi/girouette/package.nix +++ b/pkgs/by-name/gi/girouette/package.nix @@ -7,14 +7,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "girouette"; version = "0.7.4"; src = fetchFromGitHub { owner = "gourlaysama"; repo = "girouette"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-CROd44lCCXlWF8X/9HyjtTjSlCUFkyke+BjkD4uUqXo="; }; @@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Show the weather in the terminal, in style"; homepage = "https://github.com/gourlaysama/girouette"; - changelog = "https://github.com/gourlaysama/girouette/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/gourlaysama/girouette/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "girouette"; }; -} +}) diff --git a/pkgs/by-name/gi/git-absorb/package.nix b/pkgs/by-name/gi/git-absorb/package.nix index 45946deb11e1..288e5c339a75 100644 --- a/pkgs/by-name/gi/git-absorb/package.nix +++ b/pkgs/by-name/gi/git-absorb/package.nix @@ -9,14 +9,14 @@ which, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-absorb"; version = "0.8.0"; src = fetchFromGitHub { owner = "tummychow"; repo = "git-absorb"; - tag = version; + tag = finalAttrs.version; hash = "sha256-O9bJMYhIyCtztswvL0JQ4ZtsAAI9TlHzWDeGdTHEmP4="; }; @@ -54,4 +54,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "git-absorb"; }; -} +}) diff --git a/pkgs/by-name/gi/git-branchless/package.nix b/pkgs/by-name/gi/git-branchless/package.nix index e10029c6a2d7..5f0b860f9ff1 100644 --- a/pkgs/by-name/gi/git-branchless/package.nix +++ b/pkgs/by-name/gi/git-branchless/package.nix @@ -10,14 +10,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-branchless"; version = "0.10.0"; src = fetchFromGitHub { owner = "arxanas"; repo = "git-branchless"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8uv+sZRr06K42hmxgjrKk6FDEngUhN/9epixRYKwE3U="; }; @@ -78,4 +78,4 @@ rustPlatform.buildRustPackage rec { bryango ]; }; -} +}) diff --git a/pkgs/by-name/gi/git-cliff/package.nix b/pkgs/by-name/gi/git-cliff/package.nix index da0d76b03336..371c003691ec 100644 --- a/pkgs/by-name/gi/git-cliff/package.nix +++ b/pkgs/by-name/gi/git-cliff/package.nix @@ -6,14 +6,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-cliff"; version = "2.12.0"; src = fetchFromGitHub { owner = "orhun"; repo = "git-cliff"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8t7Bx3dPktSMxfWjaEeXxt3edt9Va7g5XZjE756EfY0="; }; @@ -42,7 +42,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Highly customizable Changelog Generator that follows Conventional Commit specifications"; homepage = "https://github.com/orhun/git-cliff"; - changelog = "https://github.com/orhun/git-cliff/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/orhun/git-cliff/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ siraben @@ -50,4 +50,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "git-cliff"; }; -} +}) diff --git a/pkgs/by-name/gi/git-credential-keepassxc/package.nix b/pkgs/by-name/gi/git-credential-keepassxc/package.nix index 31e932b8facf..a66f393465f4 100644 --- a/pkgs/by-name/gi/git-credential-keepassxc/package.nix +++ b/pkgs/by-name/gi/git-credential-keepassxc/package.nix @@ -8,14 +8,14 @@ withAll ? false, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-credential-keepassxc"; version = "0.14.1"; src = fetchFromGitHub { owner = "Frederick888"; repo = "git-credential-keepassxc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-qxNzWuuIoK9BJLVcWtrER+MyA5cyd03xAwGljh8DZC4="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ fgaz ]; mainProgram = "git-credential-keepassxc"; }; -} +}) diff --git a/pkgs/by-name/gi/git-dive/package.nix b/pkgs/by-name/gi/git-dive/package.nix index 5596b3292d51..8a54f8f1ddd6 100644 --- a/pkgs/by-name/gi/git-dive/package.nix +++ b/pkgs/by-name/gi/git-dive/package.nix @@ -9,14 +9,14 @@ gitMinimal, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-dive"; version = "0.1.6"; src = fetchFromGitHub { owner = "gitext-rs"; repo = "git-dive"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-sy2qNFn8JLE173HVWfFXBx21jcx4kpFMwi9a0m38lso="; }; @@ -58,7 +58,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Dive into a file's history to find root cause"; homepage = "https://github.com/gitext-rs/git-dive"; - changelog = "https://github.com/gitext-rs/git-dive/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/gitext-rs/git-dive/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -66,4 +66,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.matthiasbeyer ]; mainProgram = "git-dive"; }; -} +}) diff --git a/pkgs/by-name/gi/git-gone/package.nix b/pkgs/by-name/gi/git-gone/package.nix index e2ad77b74e84..3bdf4b29b489 100644 --- a/pkgs/by-name/gi/git-gone/package.nix +++ b/pkgs/by-name/gi/git-gone/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-gone"; version = "1.3.1"; src = fetchFromGitHub { owner = "swsnr"; repo = "git-gone"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-/8ujbZ7FQTZzTG4HnHg6v3rWhxt2PuSGwIJpBVTxhfM="; }; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Cleanup stale Git branches of merge requests"; homepage = "https://github.com/swsnr/git-gone"; - changelog = "https://github.com/swsnr/git-gone/raw/v${version}/CHANGELOG.md"; + changelog = "https://github.com/swsnr/git-gone/raw/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ cafkafk @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "git-gone"; }; -} +}) diff --git a/pkgs/by-name/gi/git-graph/package.nix b/pkgs/by-name/gi/git-graph/package.nix index 2580c39f02f2..c73462bb1cbc 100644 --- a/pkgs/by-name/gi/git-graph/package.nix +++ b/pkgs/by-name/gi/git-graph/package.nix @@ -5,14 +5,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-graph"; version = "0.7.0"; src = fetchFromGitHub { owner = "mlange-42"; repo = "git-graph"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-9GFwxWYDnH3kKDWpxgh7ciSLB1Zr2zExxIrIrhycmZY="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "git-graph"; }; -} +}) diff --git a/pkgs/by-name/gi/git-ignore/package.nix b/pkgs/by-name/gi/git-ignore/package.nix index e94cfae3d685..3bebe6afdb87 100644 --- a/pkgs/by-name/gi/git-ignore/package.nix +++ b/pkgs/by-name/gi/git-ignore/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-ignore"; version = "1.4.0"; src = fetchFromGitHub { owner = "sondr3"; repo = "git-ignore"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-KIdhsbD9v2kCM2C/kSJCleyniEz4Bw7UxBsF762fnJs="; }; @@ -31,9 +31,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Quickly and easily fetch .gitignore templates from gitignore.io"; homepage = "https://github.com/sondr3/git-ignore"; - changelog = "https://github.com/sondr3/git-ignore/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/sondr3/git-ignore/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.gpl3Plus; maintainers = [ lib.maintainers.matthiasbeyer ]; mainProgram = "git-ignore"; }; -} +}) diff --git a/pkgs/by-name/gi/git-interactive-rebase-tool/package.nix b/pkgs/by-name/gi/git-interactive-rebase-tool/package.nix index 6cbfe15113db..2e6aa0342f1b 100644 --- a/pkgs/by-name/gi/git-interactive-rebase-tool/package.nix +++ b/pkgs/by-name/gi/git-interactive-rebase-tool/package.nix @@ -4,27 +4,27 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-interactive-rebase-tool"; version = "2.4.1"; src = fetchFromGitHub { owner = "MitMaro"; repo = "git-interactive-rebase-tool"; - rev = version; + rev = finalAttrs.version; hash = "sha256-NlnESZua4OP7rhMoER/VgBST9THqISQ0LCG1ZakNTqs="; }; cargoHash = "sha256-WTg1o2iF5/UOVIqKFqGbC28B4HrKJWM0+XCHgaA1lc4="; # Compilation during tests fails if this env var is not set. - preCheck = "export GIRT_BUILD_GIT_HASH=${version}"; + preCheck = "export GIRT_BUILD_GIT_HASH=${finalAttrs.version}"; postCheck = "unset GIRT_BUILD_GIT_HASH"; meta = { homepage = "https://github.com/MitMaro/git-interactive-rebase-tool"; description = "Native cross platform full feature terminal based sequence editor for git interactive rebase"; - changelog = "https://github.com/MitMaro/git-interactive-rebase-tool/releases/tag/${version}"; + changelog = "https://github.com/MitMaro/git-interactive-rebase-tool/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ SuperSandro2000 @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "interactive-rebase-tool"; }; -} +}) diff --git a/pkgs/by-name/gi/git-metrics/package.nix b/pkgs/by-name/gi/git-metrics/package.nix index 2b0e29eed061..d5b1bb5b5590 100644 --- a/pkgs/by-name/gi/git-metrics/package.nix +++ b/pkgs/by-name/gi/git-metrics/package.nix @@ -7,14 +7,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-metrics"; version = "0.2.6"; src = fetchFromGitHub { owner = "jdrouet"; repo = "git-metrics"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-SdA/FpdrbC36Ny7aBpTUvFldbYXyajSqWGheaDPHYoE="; }; @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "git-metrics"; }; -} +}) diff --git a/pkgs/by-name/gi/git-nomad/package.nix b/pkgs/by-name/gi/git-nomad/package.nix index 01612801cb8e..50a14ead230d 100644 --- a/pkgs/by-name/gi/git-nomad/package.nix +++ b/pkgs/by-name/gi/git-nomad/package.nix @@ -5,14 +5,14 @@ git, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-nomad"; version = "0.9.0"; src = fetchFromGitHub { owner = "rraval"; repo = "git-nomad"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-0svIieFrWIXH25q9dNDzlywYrSe0syhb0qpkDbRAfd4="; }; @@ -23,9 +23,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Synchronize work-in-progress git branches in a light weight fashion"; homepage = "https://github.com/rraval/git-nomad"; - changelog = "https://github.com/rraval/git-nomad/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/rraval/git-nomad/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ rraval ]; mainProgram = "git-nomad"; }; -} +}) diff --git a/pkgs/by-name/gi/git-ps-rs/package.nix b/pkgs/by-name/gi/git-ps-rs/package.nix index c8da42dad383..ec525361a6ba 100644 --- a/pkgs/by-name/gi/git-ps-rs/package.nix +++ b/pkgs/by-name/gi/git-ps-rs/package.nix @@ -7,14 +7,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-ps-rs"; version = "7.3.1"; src = fetchFromGitHub { owner = "uptech"; repo = "git-ps-rs"; - rev = version; + rev = finalAttrs.version; hash = "sha256-4lk6AHquWKgDk0pBaswbVShZbUDA3wO6cPakhrvrwac="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ alizter ]; }; -} +}) diff --git a/pkgs/by-name/gi/git-quickfix/package.nix b/pkgs/by-name/gi/git-quickfix/package.nix index 4808c045605c..c6e99982399a 100644 --- a/pkgs/by-name/gi/git-quickfix/package.nix +++ b/pkgs/by-name/gi/git-quickfix/package.nix @@ -9,14 +9,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-quickfix"; version = "0.1.0"; src = fetchFromGitHub { owner = "siedentop"; repo = "git-quickfix"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-IAjet/bDG/Hf/whS+yrEQSquj8s5DEmFis+5ysLLuxs="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "git-quickfix"; }; -} +}) diff --git a/pkgs/by-name/gi/git-smash/package.nix b/pkgs/by-name/gi/git-smash/package.nix index 8b3470d4066a..008b1ac6f17a 100644 --- a/pkgs/by-name/gi/git-smash/package.nix +++ b/pkgs/by-name/gi/git-smash/package.nix @@ -9,14 +9,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-smash"; version = "0.1.1"; src = fetchFromGitHub { owner = "anthraxx"; repo = "git-smash"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-NyNYEF5g0O9xNhq+CoDPhQXZ+ISiY4DsShpjk5nP0N8="; }; @@ -43,9 +43,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Smash staged changes into previous commits to support your Git workflow, pull request and feature branch maintenance"; homepage = "https://github.com/anthraxx/git-smash"; - changelog = "https://github.com/anthraxx/git-smash/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/anthraxx/git-smash/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; mainProgram = "git-smash"; maintainers = with lib.maintainers; [ bcyran ]; }; -} +}) diff --git a/pkgs/by-name/gi/git-stack/package.nix b/pkgs/by-name/gi/git-stack/package.nix index 63e2c1f62ac7..6c88f135ea9f 100644 --- a/pkgs/by-name/gi/git-stack/package.nix +++ b/pkgs/by-name/gi/git-stack/package.nix @@ -7,14 +7,14 @@ stdenv, zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-stack"; version = "0.10.20"; src = fetchFromGitHub { owner = "gitext-rs"; repo = "git-stack"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-PULWvJ1sfLbTVOICl/ENPG76tOw+98Whgtc9obO+W6w="; }; @@ -36,9 +36,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Stacked branch management for Git"; homepage = "https://github.com/gitext-rs/git-stack"; - changelog = "https://github.com/gitext-rs/git-stack/releases/tag/v${version}"; + changelog = "https://github.com/gitext-rs/git-stack/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ stehessel ]; mainProgram = "git-stack"; }; -} +}) diff --git a/pkgs/by-name/gi/git-together/package.nix b/pkgs/by-name/gi/git-together/package.nix index e19c1ed22c0a..4c7ffd68a8a9 100644 --- a/pkgs/by-name/gi/git-together/package.nix +++ b/pkgs/by-name/gi/git-together/package.nix @@ -6,14 +6,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-together"; version = "0.1.0-alpha.26"; src = fetchFromGitHub { owner = "kejadlen"; repo = "git-together"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-2HgOaqlX0mmmvRlALHm90NAdIhby/jWUJO63bQFqc+4="; }; @@ -25,11 +25,11 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-5LKKjHzIlXw0bUmF7GDCVW0cptCxohq6CNPIrMZKorM="; meta = { - changelog = "https://github.com/kejadlen/git-together/releases/tag/v${version}"; + changelog = "https://github.com/kejadlen/git-together/releases/tag/v${finalAttrs.version}"; description = "Better commit attribution while pairing without messing with your git workflow"; homepage = "https://github.com/kejadlen/git-together"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sentientmonkey ]; mainProgram = "git-together"; }; -} +}) diff --git a/pkgs/by-name/gi/git-trim/package.nix b/pkgs/by-name/gi/git-trim/package.nix index 761489356ca2..cdedf242253e 100644 --- a/pkgs/by-name/gi/git-trim/package.nix +++ b/pkgs/by-name/gi/git-trim/package.nix @@ -9,14 +9,14 @@ fetchpatch, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-trim"; version = "0.4.4"; src = fetchFromGitHub { owner = "foriequal0"; repo = "git-trim"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-XAO3Qg5I2lYZVNx4+Z5jKHRIFdNwBJsUQwJXFb4CbvM="; }; @@ -54,4 +54,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ cafkafk ]; mainProgram = "git-trim"; }; -} +}) diff --git a/pkgs/by-name/gi/git-workspace/package.nix b/pkgs/by-name/gi/git-workspace/package.nix index 942ce2136fb9..b9175d0da845 100644 --- a/pkgs/by-name/gi/git-workspace/package.nix +++ b/pkgs/by-name/gi/git-workspace/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "git-workspace"; version = "1.9.0"; src = fetchFromGitHub { owner = "orf"; repo = "git-workspace"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-SeE8O48lzqJSg8rfmIgsUcGPbquo2OvK3OUUBG21ksc="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ misuzu ]; mainProgram = "git-workspace"; }; -} +}) diff --git a/pkgs/by-name/gi/gitlab-ci-ls/package.nix b/pkgs/by-name/gi/gitlab-ci-ls/package.nix index f26c5f7e12fc..0a2aa8dccd0f 100644 --- a/pkgs/by-name/gi/gitlab-ci-ls/package.nix +++ b/pkgs/by-name/gi/gitlab-ci-ls/package.nix @@ -6,13 +6,13 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gitlab-ci-ls"; version = "1.2.5"; src = fetchFromGitHub { owner = "alesbrelih"; repo = "gitlab-ci-ls"; - rev = "${version}"; + rev = "${finalAttrs.version}"; hash = "sha256-Ly4pk+16RCr3r33VrYPTZGUXfUNd5IJHfA+uj7Ef3bk="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; mainProgram = "gitlab-ci-ls"; }; -} +}) diff --git a/pkgs/by-name/gi/gitlab-clippy/package.nix b/pkgs/by-name/gi/gitlab-clippy/package.nix index afc3a0dfcbaf..8b80e64fcc50 100644 --- a/pkgs/by-name/gi/gitlab-clippy/package.nix +++ b/pkgs/by-name/gi/gitlab-clippy/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gitlab-clippy"; version = "1.0.3"; src = fetchFromGitLab { owner = "dlalic"; repo = "gitlab-clippy"; - rev = version; + rev = finalAttrs.version; hash = "sha256-d7SmlAWIV4SngJhIvlud90ZUSF55FWIrzFpkfSXIy2Y="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ wucke13 ]; }; -} +}) diff --git a/pkgs/by-name/gi/gitnr/package.nix b/pkgs/by-name/gi/gitnr/package.nix index a58c7fde246c..d96df6c35124 100644 --- a/pkgs/by-name/gi/gitnr/package.nix +++ b/pkgs/by-name/gi/gitnr/package.nix @@ -9,14 +9,14 @@ wayland, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gitnr"; version = "0.2.2"; src = fetchFromGitHub { owner = "reemus-dev"; repo = "gitnr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-9vx+bGfYuJuafZUY2ZT4SAgrNcSXuMe1kHH/lrpItvM="; }; @@ -40,11 +40,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Create `.gitignore` files using one or more templates from TopTal, GitHub or your own collection"; homepage = "https://github.com/reemus-dev/gitnr"; - changelog = "https://github.com/reemus-dev/gitnr/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/reemus-dev/gitnr/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ matthiasbeyer ]; mainProgram = "gitnr"; }; -} +}) diff --git a/pkgs/by-name/gi/gitrs/package.nix b/pkgs/by-name/gi/gitrs/package.nix index 3b8445a04a94..20126a27fd01 100644 --- a/pkgs/by-name/gi/gitrs/package.nix +++ b/pkgs/by-name/gi/gitrs/package.nix @@ -9,14 +9,14 @@ libz, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gitrs"; version = "v0.3.6"; src = fetchFromGitHub { owner = "mccurdyc"; repo = "gitrs"; - rev = version; + rev = finalAttrs.version; hash = "sha256-+43XJroPNWmdUC6FDL84rZWrJm5fzuUXfpDkAMyVQQg="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ mccurdyc ]; mainProgram = "gitrs"; }; -} +}) diff --git a/pkgs/by-name/gi/gitu/package.nix b/pkgs/by-name/gi/gitu/package.nix index 324f8f1c5faf..53270e4905b2 100644 --- a/pkgs/by-name/gi/gitu/package.nix +++ b/pkgs/by-name/gi/gitu/package.nix @@ -9,14 +9,14 @@ git, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gitu"; version = "0.40.0"; src = fetchFromGitHub { owner = "altsem"; repo = "gitu"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-JNa9foW5z0NrXk5r/Oep20+u7YRhkzMIZQPHlZVifGI="; }; @@ -39,9 +39,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "TUI Git client inspired by Magit"; homepage = "https://github.com/altsem/gitu"; - changelog = "https://github.com/altsem/gitu/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/altsem/gitu/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ evanrichter ]; mainProgram = "gitu"; }; -} +}) diff --git a/pkgs/by-name/gl/glas/package.nix b/pkgs/by-name/gl/glas/package.nix index 5c7bc34d4dbd..a9432e8fa75e 100644 --- a/pkgs/by-name/gl/glas/package.nix +++ b/pkgs/by-name/gl/glas/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "glas"; version = "0.2.3"; src = fetchFromGitHub { owner = "maurobalbi"; repo = "glas"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-jMpFxzosaCedwsJ8URlR3Gd/mnlgSBEfA3oIymmEPFU="; }; @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Language server for the Gleam programming language"; homepage = "https://github.com/maurobalbi/glas"; - changelog = "https://github.com/maurobalbi/glas/releases/tag/v${version}"; + changelog = "https://github.com/maurobalbi/glas/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ asl20 mit @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "glas"; maintainers = with lib.maintainers; [ bhankas ]; }; -} +}) diff --git a/pkgs/by-name/gl/glicol-cli/package.nix b/pkgs/by-name/gl/glicol-cli/package.nix index b3f5b4ddb02d..e52ba67d162e 100644 --- a/pkgs/by-name/gl/glicol-cli/package.nix +++ b/pkgs/by-name/gl/glicol-cli/package.nix @@ -7,14 +7,14 @@ alsa-lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "glicol-cli"; version = "0.2.0"; src = fetchFromGitHub { owner = "glicol"; repo = "glicol-cli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-v90FfF4vP5UPy8VnQFvYMKiCrledgNMpWbJR59Cv6a0="; }; @@ -32,11 +32,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Cross-platform music live coding in terminal"; homepage = "https://github.com/glicol/glicol-cli"; - changelog = "https://github.com/glicol/glicol-cli/releases/tag/${src.rev}"; + changelog = "https://github.com/glicol/glicol-cli/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "glicol-cli"; # The last successful Darwin Hydra build was in 2023 broken = stdenv.hostPlatform.isDarwin; }; -} +}) diff --git a/pkgs/by-name/gl/glrnvim/package.nix b/pkgs/by-name/gl/glrnvim/package.nix index 96f7f0d7deaa..a876d7e362df 100644 --- a/pkgs/by-name/gl/glrnvim/package.nix +++ b/pkgs/by-name/gl/glrnvim/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "glrnvim"; version = "1.5.0"; src = fetchFromGitHub { owner = "beeender"; repo = "glrnvim"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-fyJ3k1CBrxL6It8x9jNumzCuhXug6eB/fuvPUQYEc4A="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ aacebedo ]; }; -} +}) diff --git a/pkgs/by-name/go/gobble/package.nix b/pkgs/by-name/go/gobble/package.nix index fed8ce67400f..a8e0ad0af4c4 100644 --- a/pkgs/by-name/go/gobble/package.nix +++ b/pkgs/by-name/go/gobble/package.nix @@ -7,14 +7,14 @@ pandoc, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gobble"; version = "1.3"; src = fetchFromGitHub { owner = "EmperorPenguin18"; repo = "gobble"; - rev = version; + rev = finalAttrs.version; hash = "sha256-g4154Axvjp9jbE0lvMeNGM+v2UxkAsZqt9kPv5bhVK8="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "gobble"; }; -} +}) diff --git a/pkgs/by-name/go/gossip/package.nix b/pkgs/by-name/go/gossip/package.nix index e6fca7f05e49..89f78da40c56 100644 --- a/pkgs/by-name/go/gossip/package.nix +++ b/pkgs/by-name/go/gossip/package.nix @@ -24,14 +24,14 @@ libxrandr, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gossip"; version = "0.14.0"; src = fetchFromGitHub { owner = "mikedilger"; repo = "gossip"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-nv/NMLAka62u0WzvHMEW9XBVXpg9T8bNJiUegS/oj48="; }; @@ -104,7 +104,7 @@ rustPlatform.buildRustPackage rec { name = "Gossip"; exec = "gossip"; icon = "gossip"; - comment = meta.description; + comment = finalAttrs.meta.description; desktopName = "Gossip"; categories = [ "Chat" @@ -120,11 +120,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Desktop client for nostr, an open social media protocol"; - downloadPage = "https://github.com/mikedilger/gossip/releases/tag/${version}"; + downloadPage = "https://github.com/mikedilger/gossip/releases/tag/${finalAttrs.version}"; homepage = "https://github.com/mikedilger/gossip"; license = lib.licenses.mit; mainProgram = "gossip"; maintainers = with lib.maintainers; [ msanft ]; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/go/gotify-desktop/package.nix b/pkgs/by-name/go/gotify-desktop/package.nix index d727456b3064..d07fcb49e9bb 100644 --- a/pkgs/by-name/go/gotify-desktop/package.nix +++ b/pkgs/by-name/go/gotify-desktop/package.nix @@ -7,14 +7,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gotify-desktop"; version = "1.4.2"; src = fetchFromGitHub { owner = "desbma"; repo = "gotify-desktop"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-BD8BqG+YheAGvHWrI1/PqCs6T3O3OwXodZq3gvgh1LU="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { broken = stdenv.hostPlatform.isDarwin; mainProgram = "gotify-desktop"; }; -} +}) diff --git a/pkgs/by-name/go/goxlr-utility/package.nix b/pkgs/by-name/go/goxlr-utility/package.nix index badaaea64e4a..0076858e0af6 100644 --- a/pkgs/by-name/go/goxlr-utility/package.nix +++ b/pkgs/by-name/go/goxlr-utility/package.nix @@ -11,14 +11,14 @@ udevCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "goxlr-utility"; version = "1.2.3"; src = fetchFromGitHub { owner = "GoXLR-on-Linux"; repo = "goxlr-utility"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-+hwNevUT9AwMXHUxmjYVrJ3AKaxICrOJZ642GPRq17Q="; }; @@ -67,4 +67,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ errnoh ]; }; -} +}) diff --git a/pkgs/by-name/gp/gpauth/package.nix b/pkgs/by-name/gp/gpauth/package.nix index 8a50d6736bfc..37f4afd5aa29 100644 --- a/pkgs/by-name/gp/gpauth/package.nix +++ b/pkgs/by-name/gp/gpauth/package.nix @@ -10,14 +10,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gpauth"; version = "2.5.0"; src = fetchFromGitHub { owner = "yuezk"; repo = "GlobalProtect-openconnect"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-dxRqf5iOlgJegeAqtTwoVqNHXU3eOse5eMYFknhAh2M="; fetchSubmodules = true; }; @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; meta = { - changelog = "https://github.com/${src.owner}/${src.repo}/blob/${src.rev}/changelog.md"; + changelog = "https://github.com/${finalAttrs.src.owner}/${finalAttrs.src.repo}/blob/${finalAttrs.src.rev}/changelog.md"; description = "CLI for GlobalProtect VPN, based on OpenConnect, supports the SSO authentication method"; longDescription = '' A CLI for GlobalProtect VPN, based on OpenConnect, supports the SSO @@ -49,7 +49,7 @@ rustPlatform.buildRustPackage rec { The CLI version is always free and open source in this repo. It has almost the same features as the GUI version. ''; - homepage = "https://github.com/${src.owner}/${src.repo}"; + homepage = "https://github.com/${finalAttrs.src.owner}/${finalAttrs.src.repo}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ binary-eater @@ -58,4 +58,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = with lib.platforms; linux ++ darwin; }; -} +}) diff --git a/pkgs/by-name/gp/gping/package.nix b/pkgs/by-name/gp/gping/package.nix index 4dd42e54ce94..9b32fcd56de5 100644 --- a/pkgs/by-name/gp/gping/package.nix +++ b/pkgs/by-name/gp/gping/package.nix @@ -9,14 +9,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gping"; version = "1.20.1"; src = fetchFromGitHub { owner = "orf"; repo = "gping"; - tag = "gping-v${version}"; + tag = "gping-v${finalAttrs.version}"; hash = "sha256-whHbGZnxOQ/ISyWMl6miuogppZahgXxO3XmhcP6ymIo="; }; @@ -46,9 +46,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Ping, but with a graph"; homepage = "https://github.com/orf/gping"; - changelog = "https://github.com/orf/gping/releases/tag/gping-v${version}"; + changelog = "https://github.com/orf/gping/releases/tag/gping-v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ cafkafk ]; mainProgram = "gping"; }; -} +}) diff --git a/pkgs/by-name/gp/gptman/package.nix b/pkgs/by-name/gp/gptman/package.nix index b486755d6099..8b8c44f4023c 100644 --- a/pkgs/by-name/gp/gptman/package.nix +++ b/pkgs/by-name/gp/gptman/package.nix @@ -8,14 +8,14 @@ gptman, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gptman"; version = "1.1.0"; src = fetchFromGitHub { owner = "rust-disk-partition-management"; repo = "gptman"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ebV61EilGggix6JSN/MW4Ka0itkSpvikLDSO005TTYY="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ akshgpt7 ]; mainProgram = "gptman"; }; -} +}) diff --git a/pkgs/by-name/gq/gql/package.nix b/pkgs/by-name/gq/gql/package.nix index 4b8440aa2902..a5682d9e4678 100644 --- a/pkgs/by-name/gq/gql/package.nix +++ b/pkgs/by-name/gq/gql/package.nix @@ -8,14 +8,14 @@ cmake, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "gql"; version = "0.42.0"; src = fetchFromGitHub { owner = "AmrDeveloper"; repo = "GQL"; - rev = version; + rev = finalAttrs.version; hash = "sha256-azonwUALsnGuEGu5AxE0uG8KBlN4tq+7VtnXykNLe6E="; }; @@ -34,9 +34,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "SQL like query language to perform queries on .git files"; homepage = "https://github.com/AmrDeveloper/GQL"; - changelog = "https://github.com/AmrDeveloper/GQL/releases/tag/${src.rev}"; + changelog = "https://github.com/AmrDeveloper/GQL/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "gitql"; }; -} +}) diff --git a/pkgs/by-name/gr/graphql-client/package.nix b/pkgs/by-name/gr/graphql-client/package.nix index b0b64eb4967a..e20fddbe3d4c 100644 --- a/pkgs/by-name/gr/graphql-client/package.nix +++ b/pkgs/by-name/gr/graphql-client/package.nix @@ -6,12 +6,12 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "graphql-client"; version = "0.16.0"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; crateName = "graphql_client_cli"; hash = "sha256-zWNarJDBSnZeFPQnF8nHOkFG8x0UDChi8l79OBNFA6A="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = with lib.maintainers; [ bbigras ]; }; -} +}) diff --git a/pkgs/by-name/gr/grex/package.nix b/pkgs/by-name/gr/grex/package.nix index 6fd1ee84a499..6031bf79f28d 100644 --- a/pkgs/by-name/gr/grex/package.nix +++ b/pkgs/by-name/gr/grex/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "grex"; version = "1.4.6"; src = fetchFromGitHub { owner = "pemistahl"; repo = "grex"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-WBZlfp3x5r4sjKqcpckpSANBevGzT9hKHe7rTZ0Czeo="; }; @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command-line tool for generating regular expressions from user-provided test cases"; homepage = "https://github.com/pemistahl/grex"; - changelog = "https://github.com/pemistahl/grex/releases/tag/v${version}"; + changelog = "https://github.com/pemistahl/grex/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; mainProgram = "grex"; maintainers = with lib.maintainers; [ @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { mfrw ]; }; -} +}) diff --git a/pkgs/by-name/ha/handlr-regex/package.nix b/pkgs/by-name/ha/handlr-regex/package.nix index 8b461e1e248c..5437382a2ccd 100644 --- a/pkgs/by-name/ha/handlr-regex/package.nix +++ b/pkgs/by-name/ha/handlr-regex/package.nix @@ -9,14 +9,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "handlr-regex"; version = "0.13.0"; src = fetchFromGitHub { owner = "Anomalocaridid"; repo = "handlr-regex"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-7psjlu0qyoZYTVwq2JYJJkB76ejlmMtmstDw+liMcj8="; }; @@ -51,4 +51,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ anomalocaris ]; mainProgram = "handlr"; }; -} +}) diff --git a/pkgs/by-name/ha/hanko/package.nix b/pkgs/by-name/ha/hanko/package.nix index 58611652b665..aab772d410fa 100644 --- a/pkgs/by-name/ha/hanko/package.nix +++ b/pkgs/by-name/ha/hanko/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hanko"; version = "0.5.4"; src = fetchFromGitHub { owner = "SRv6d"; repo = "hanko"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-9HRoXqZ3wdD6xf33tooEHiBWSZlggjUFomblwF4cFtA="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ srv6d ]; mainProgram = "hanko"; }; -} +}) diff --git a/pkgs/by-name/ha/hatsu/package.nix b/pkgs/by-name/ha/hatsu/package.nix index d5c428864957..c4b4395406db 100644 --- a/pkgs/by-name/ha/hatsu/package.nix +++ b/pkgs/by-name/ha/hatsu/package.nix @@ -5,14 +5,14 @@ versionCheckHook, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hatsu"; version = "0.3.4"; src = fetchFromGitHub { owner = "importantimport"; repo = "hatsu"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-66BNgcCYPMJ5AE/OCfbLrU+A/usv0/QvcyPy8D+7PVs="; }; @@ -26,10 +26,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Self-hosted and fully-automated ActivityPub bridge for static sites"; homepage = "https://github.com/importantimport/hatsu"; - changelog = "https://github.com/importantimport/hatsu/releases/tag/v${version}"; + changelog = "https://github.com/importantimport/hatsu/releases/tag/v${finalAttrs.version}"; license = lib.licenses.agpl3Only; mainProgram = "hatsu"; maintainers = with lib.maintainers; [ kwaa ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ha/haylxon/package.nix b/pkgs/by-name/ha/haylxon/package.nix index 820b8e838de7..d194a5c63013 100644 --- a/pkgs/by-name/ha/haylxon/package.nix +++ b/pkgs/by-name/ha/haylxon/package.nix @@ -4,12 +4,12 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "haylxon"; version = "1.0.0"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; pname = "hxn"; hash = "sha256-zAqYaPtbXqC1YFzCL8EwE1HhuSqVl5lAfnAftwBvnoE="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ scientiac ]; mainProgram = "hxn"; }; -} +}) diff --git a/pkgs/by-name/hc/hck/package.nix b/pkgs/by-name/hc/hck/package.nix index a1a2d58b03c1..68681287ac19 100644 --- a/pkgs/by-name/hc/hck/package.nix +++ b/pkgs/by-name/hc/hck/package.nix @@ -5,14 +5,14 @@ cmake, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hck"; version = "0.11.5"; src = fetchFromGitHub { owner = "sstadick"; repo = "hck"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-cycM40fm0bc6SCgGsMTKFVPUtjcXGpoMo3KhDDo74ZQ="; }; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Close to drop in replacement for cut that can use a regex delimiter instead of a fixed string"; homepage = "https://github.com/sstadick/hck"; - changelog = "https://github.com/sstadick/hck/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/sstadick/hck/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit # or unlicense @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "hck"; }; -} +}) diff --git a/pkgs/by-name/he/hebbot/package.nix b/pkgs/by-name/he/hebbot/package.nix index 2b1ce6e5438d..ce1a2b6f57e9 100644 --- a/pkgs/by-name/he/hebbot/package.nix +++ b/pkgs/by-name/he/hebbot/package.nix @@ -12,7 +12,7 @@ sqlite, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hebbot"; version = "2.1-unstable-2024-09-20"; @@ -52,9 +52,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Matrix bot which can generate \"This Week in X\" like blog posts "; homepage = "https://github.com/haecker-felix/hebbot"; - changelog = "https://github.com/haecker-felix/hebbot/releases/tag/v${version}"; + changelog = "https://github.com/haecker-felix/hebbot/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ agpl3Only ]; mainProgram = "hebbot"; maintainers = with lib.maintainers; [ a-kenji ]; }; -} +}) diff --git a/pkgs/by-name/he/heliocron/package.nix b/pkgs/by-name/he/heliocron/package.nix index 6eb9339186f6..37f033839a8e 100644 --- a/pkgs/by-name/he/heliocron/package.nix +++ b/pkgs/by-name/he/heliocron/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "heliocron"; version = "1.0.0"; src = fetchFromGitHub { owner = "mfreeborn"; repo = "heliocron"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-tqwVYIU8RXb1hiKnP7AlkxHsMhbAlwSmPGyFFMHIbAo="; }; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { description = "Execute tasks relative to sunset, sunrise and other solar events"; longDescription = "A simple command line application that integrates with `cron` to execute tasks relative to sunset, sunrise and other such solar events."; homepage = "https://github.com/mfreeborn/heliocron"; - changelog = "https://github.com/mfreeborn/heliocron/releases/tag/v${version}"; + changelog = "https://github.com/mfreeborn/heliocron/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ mit asl20 @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "heliocron"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/he/hex/package.nix b/pkgs/by-name/he/hex/package.nix index 4be74ff09edd..d1a0bc72b859 100644 --- a/pkgs/by-name/he/hex/package.nix +++ b/pkgs/by-name/he/hex/package.nix @@ -6,14 +6,14 @@ hex, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hex"; version = "0.6.0"; src = fetchFromGitHub { owner = "sitkevij"; repo = "hex"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-YctXDhCMJvDQLPsuhzdyYDUIlFE2vKltNtrFFeE7YE8="; }; @@ -21,15 +21,15 @@ rustPlatform.buildRustPackage rec { passthru.tests.version = testers.testVersion { package = hex; - version = "hx ${version}"; + version = "hx ${finalAttrs.version}"; }; meta = { description = "Futuristic take on hexdump, made in Rust"; homepage = "https://github.com/sitkevij/hex"; - changelog = "https://github.com/sitkevij/hex/releases/tag/v${version}"; + changelog = "https://github.com/sitkevij/hex/releases/tag/v${finalAttrs.version}"; mainProgram = "hx"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/he/hexdino/package.nix b/pkgs/by-name/he/hexdino/package.nix index 2a64f5d7d79b..c6c06b478dfc 100644 --- a/pkgs/by-name/he/hexdino/package.nix +++ b/pkgs/by-name/he/hexdino/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hexdino"; version = "0.1.4"; src = fetchFromGitHub { owner = "Luz"; repo = "hexdino"; - rev = version; + rev = finalAttrs.version; hash = "sha256-M1lUm8rJj9c+9MgU7AJvk/ZVuTC1QYPsHRQxCQTc3WI="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.luz ]; mainProgram = "hexdino"; }; -} +}) diff --git a/pkgs/by-name/he/hexpatch/package.nix b/pkgs/by-name/he/hexpatch/package.nix index e829d5c015b3..9c859f85dd05 100644 --- a/pkgs/by-name/he/hexpatch/package.nix +++ b/pkgs/by-name/he/hexpatch/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hexpatch"; version = "1.12.5"; src = fetchFromGitHub { owner = "Etto48"; repo = "HexPatch"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-2FTFVKFql28S3/03M64FJyrwWuI0Zeg8z/nrWZJzGIo="; }; @@ -48,9 +48,9 @@ rustPlatform.buildRustPackage rec { via SSH. ''; homepage = "https://etto48.github.io/HexPatch/"; - changelog = "https://github.com/Etto48/HexPatch/releases/tag/v${version}"; + changelog = "https://github.com/Etto48/HexPatch/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ratcornu ]; mainProgram = "hexpatch"; }; -} +}) diff --git a/pkgs/by-name/he/hextazy/package.nix b/pkgs/by-name/he/hextazy/package.nix index 626a5f348cd2..b9d2c3b1f6e5 100644 --- a/pkgs/by-name/he/hextazy/package.nix +++ b/pkgs/by-name/he/hextazy/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hextazy"; version = "0.8.4"; src = fetchFromGitHub { owner = "0xfalafel"; repo = "hextazy"; - tag = version; + tag = finalAttrs.version; hash = "sha256-ejF2AVVp6Q7pM4tk/lWty83sUTIYhiffjRgn0KJwYO0="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "TUI hexeditor in Rust with colored bytes"; homepage = "https://github.com/0xfalafel/hextazy"; - changelog = "https://github.com/0xfalafel/hextazy/releases/tag/${src.rev}"; + changelog = "https://github.com/0xfalafel/hextazy/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ akechishiro ]; mainProgram = "hextazy"; }; -} +}) diff --git a/pkgs/by-name/he/hexyl/package.nix b/pkgs/by-name/he/hexyl/package.nix index c0096251de06..b9eba05a4919 100644 --- a/pkgs/by-name/he/hexyl/package.nix +++ b/pkgs/by-name/he/hexyl/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hexyl"; version = "0.16.0"; src = fetchFromGitHub { owner = "sharkdp"; repo = "hexyl"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-TmFvv+jzOSM8kKCxBbUoDsUjKRPTplhWheVfIjS5nsY="; }; @@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec { characters and non-ASCII). ''; homepage = "https://github.com/sharkdp/hexyl"; - changelog = "https://github.com/sharkdp/hexyl/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/sharkdp/hexyl/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "hexyl"; }; -} +}) diff --git a/pkgs/by-name/he/heygpt/package.nix b/pkgs/by-name/he/heygpt/package.nix index 707cbde0a857..7612aece1837 100644 --- a/pkgs/by-name/he/heygpt/package.nix +++ b/pkgs/by-name/he/heygpt/package.nix @@ -4,14 +4,14 @@ openssl, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "heygpt"; version = "0.4.1"; src = fetchFromGitHub { owner = "fuyufjh"; repo = "heygpt"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-oP0yIdYytXSsbZ2pNaZ8Rrak1qJsudTe/oP6dGncGUM="; }; @@ -29,9 +29,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Simple command-line interface for ChatGPT API"; homepage = "https://github.com/fuyufjh/heygpt"; - changelog = "https://github.com/fuyufjh/heygpt/releases/tag/v${version}"; + changelog = "https://github.com/fuyufjh/heygpt/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "heygpt"; maintainers = with lib.maintainers; [ aldoborrero ]; }; -} +}) diff --git a/pkgs/by-name/hi/highlight-assertions/package.nix b/pkgs/by-name/hi/highlight-assertions/package.nix index 4f03a55c63a6..903ec69d6243 100644 --- a/pkgs/by-name/hi/highlight-assertions/package.nix +++ b/pkgs/by-name/hi/highlight-assertions/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "highlight-assertions"; version = "0.1.7"; src = fetchFromGitHub { owner = "thehamsta"; repo = "highlight-assertions"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-7r8tBJ6JFGUGUsTivzlO23hHiXISajjn2WF12mmbmMg="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.asl20; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/hi/hiksink/package.nix b/pkgs/by-name/hi/hiksink/package.nix index 9b06e7e9e444..b74721c1ae28 100644 --- a/pkgs/by-name/hi/hiksink/package.nix +++ b/pkgs/by-name/hi/hiksink/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hiksink"; version = "1.2.1"; src = fetchFromGitHub { owner = "CornerBit"; repo = "hiksink"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-k/cBCc7DywyBbAzCRCHdrOVmo+QVCsSgDn8hcyTIUI8="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ fab ]; mainProgram = "hik_sink"; }; -} +}) diff --git a/pkgs/by-name/hi/hired/package.nix b/pkgs/by-name/hi/hired/package.nix index 27130e655563..2b95c39c3417 100644 --- a/pkgs/by-name/hi/hired/package.nix +++ b/pkgs/by-name/hi/hired/package.nix @@ -7,14 +7,14 @@ oniguruma, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hired"; version = "0.14.3"; src = fetchFromGitHub { owner = "sidju"; repo = "hired"; - tag = version; + tag = finalAttrs.version; hash = "sha256-A1iz34CSc6GWo6FvkGwIgUwMmYaIzwdCzZFACFSZ9qI="; fetchSubmodules = true; }; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ ShamrockLee ]; mainProgram = "hired"; }; -} +}) diff --git a/pkgs/by-name/hm/hmm/package.nix b/pkgs/by-name/hm/hmm/package.nix index ad620d1500de..72e1ed0e5bb9 100644 --- a/pkgs/by-name/hm/hmm/package.nix +++ b/pkgs/by-name/hm/hmm/package.nix @@ -6,13 +6,13 @@ writableTmpDirAsHomeHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hmm"; version = "0.6.0"; src = fetchCrate { pname = "hmmcli"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-WPePzqZ2iGeJ7kzTj8eg7q1JEjw91WY7gViJJ46SLRY="; }; @@ -29,8 +29,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "Small command-line note-taking app"; homepage = "https://github.com/samwho/hmm"; - changelog = "https://github.com/samwho/hmm/releases/tag/v${version}"; + changelog = "https://github.com/samwho/hmm/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ho/hoard/package.nix b/pkgs/by-name/ho/hoard/package.nix index 1bf127c2ea71..c69fb30729b9 100644 --- a/pkgs/by-name/ho/hoard/package.nix +++ b/pkgs/by-name/ho/hoard/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hoard"; version = "1.4.2"; src = fetchFromGitHub { owner = "Hyde46"; repo = "hoard"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-c9iSbxkHwLOeATkO7kzTyLD0VAwZUzCvw5c4FyuR5/E="; }; @@ -28,11 +28,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI command organizer written in rust"; homepage = "https://github.com/hyde46/hoard"; - changelog = "https://github.com/Hyde46/hoard/blob/${src.rev}/CHANGES.md"; + changelog = "https://github.com/Hyde46/hoard/blob/${finalAttrs.src.rev}/CHANGES.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ builditluc ]; mainProgram = "hoard"; }; -} +}) diff --git a/pkgs/by-name/ho/hors/package.nix b/pkgs/by-name/ho/hors/package.nix index e1ceeb7ad6d3..7f3364fec0b4 100644 --- a/pkgs/by-name/ho/hors/package.nix +++ b/pkgs/by-name/ho/hors/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hors"; version = "0.8.2"; src = fetchFromGitHub { owner = "windsoilder"; repo = "hors"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "1q17i8zg7dwd8al42wfnkn891dy5hdhw4325plnihkarr50avbr0"; }; @@ -24,8 +24,8 @@ rustPlatform.buildRustPackage rec { description = "Instant coding answers via the command line"; mainProgram = "hors"; homepage = "https://github.com/windsoilder/hors"; - changelog = "https://github.com/WindSoilder/hors/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/WindSoilder/hors/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.gpl3Only; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ht/htmlq/package.nix b/pkgs/by-name/ht/htmlq/package.nix index 424becb9b409..9a6739f2735c 100644 --- a/pkgs/by-name/ht/htmlq/package.nix +++ b/pkgs/by-name/ht/htmlq/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "htmlq"; version = "0.4.0"; src = fetchFromGitHub { owner = "mgdm"; repo = "htmlq"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-kZtK2QuefzfxxuE1NjXphR7otr+RYfMif/RSpR6TxY0="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "htmlq"; }; -} +}) diff --git a/pkgs/by-name/ht/htmx-lsp2/package.nix b/pkgs/by-name/ht/htmx-lsp2/package.nix index f4205c8c983e..24ccb6569742 100644 --- a/pkgs/by-name/ht/htmx-lsp2/package.nix +++ b/pkgs/by-name/ht/htmx-lsp2/package.nix @@ -3,14 +3,14 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "htmx-lsp2"; version = "0.1.4"; src = fetchFromGitHub { owner = "uros-5"; repo = "htmx-lsp2"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Okd4jPCZvVDWIXj7aRLRnrUOT0mD3rBr6VDEgoWXRZE="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ adamjhf ]; mainProgram = "htmx-lsp2"; }; -} +}) diff --git a/pkgs/by-name/ht/httm/package.nix b/pkgs/by-name/ht/httm/package.nix index 191c7d3db444..73eb820388ba 100644 --- a/pkgs/by-name/ht/httm/package.nix +++ b/pkgs/by-name/ht/httm/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "httm"; version = "0.49.9"; src = fetchFromGitHub { owner = "kimono-koans"; repo = "httm"; - rev = version; + rev = finalAttrs.version; hash = "sha256-Y0WYgi/VdGjE70XZcJD7G+ONCSq2YXpX9/RyijPW3kc="; }; @@ -41,9 +41,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Interactive, file-level Time Machine-like tool for ZFS/btrfs"; homepage = "https://github.com/kimono-koans/httm"; - changelog = "https://github.com/kimono-koans/httm/releases/tag/${version}"; + changelog = "https://github.com/kimono-koans/httm/releases/tag/${finalAttrs.version}"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ wyndon ]; mainProgram = "httm"; }; -} +}) diff --git a/pkgs/by-name/ht/httplz/package.nix b/pkgs/by-name/ht/httplz/package.nix index 4e8af326bb3e..3527b5f3a167 100644 --- a/pkgs/by-name/ht/httplz/package.nix +++ b/pkgs/by-name/ht/httplz/package.nix @@ -9,12 +9,12 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "httplz"; version = "1.13.2"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; pname = "https"; hash = "sha256-uxEMgSrcxMZD/3GQuH9S/oYtMUPzgMR61ZzLcb65zXU="; }; @@ -47,8 +47,8 @@ rustPlatform.buildRustPackage rec { description = "Basic http server for hosting a folder fast and simply"; mainProgram = "httplz"; homepage = "https://github.com/thecoshman/http"; - changelog = "https://github.com/thecoshman/http/releases/tag/v${version}"; + changelog = "https://github.com/thecoshman/http/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/hu/hullcaster/package.nix b/pkgs/by-name/hu/hullcaster/package.nix index c8e2775ada0d..fdba0bec43e5 100644 --- a/pkgs/by-name/hu/hullcaster/package.nix +++ b/pkgs/by-name/hu/hullcaster/package.nix @@ -8,14 +8,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hullcaster"; version = "0.2.0"; src = fetchFromGitHub { owner = "gilcu3"; repo = "hullcaster"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-BR3klwy6vm6nJ38sgS/PGPQ19n0GJq6eQE97lHmg+kQ="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ kiara ]; }; -} +}) diff --git a/pkgs/by-name/hu/hunt/package.nix b/pkgs/by-name/hu/hunt/package.nix index 5e8c20fa9d92..bd1e21370302 100644 --- a/pkgs/by-name/hu/hunt/package.nix +++ b/pkgs/by-name/hu/hunt/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hunt"; version = "3.0.0"; src = fetchFromGitHub { owner = "LyonSyonII"; repo = "hunt-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-aNU4Ik033+kl9ZPHFzaAXZ6Hs+b7m5s0lpr1oovmWm0="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "hunt"; }; -} +}) diff --git a/pkgs/by-name/hw/hwatch/package.nix b/pkgs/by-name/hw/hwatch/package.nix index 0ebcf8ec5414..8d2c7f624f55 100644 --- a/pkgs/by-name/hw/hwatch/package.nix +++ b/pkgs/by-name/hw/hwatch/package.nix @@ -7,14 +7,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hwatch"; version = "0.3.19"; src = fetchFromGitHub { owner = "blacknon"; repo = "hwatch"; - tag = version; + tag = finalAttrs.version; sha256 = "sha256-lMsBzMDMgpHxcQFtfZ4K7r2WRUaVR8Ry/kPvwfzPObI="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ hamburger1984 ]; mainProgram = "hwatch"; }; -} +}) diff --git a/pkgs/by-name/hy/hydra-cli/package.nix b/pkgs/by-name/hy/hydra-cli/package.nix index 9bbbf2c77257..549b5eec7d49 100644 --- a/pkgs/by-name/hy/hydra-cli/package.nix +++ b/pkgs/by-name/hy/hydra-cli/package.nix @@ -8,7 +8,7 @@ hydra-cli, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hydra-cli"; version = "0.3.0-unstable-2023-12-20"; @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { hash = "sha256-6L+5rkXzjXH9JtLsrJkuV8ZMsm64Q+kcb+2pr1coBK4="; }; - sourceRoot = "${src.name}/hydra-cli"; + sourceRoot = "${finalAttrs.src.name}/hydra-cli"; cargoHash = "sha256-JnfonNdy87Ol6j8x3270RrVv/13vNLEa1n+/aeEbc7U="; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { aleksana ]; }; -} +}) diff --git a/pkgs/by-name/hy/hyperlink/package.nix b/pkgs/by-name/hy/hyperlink/package.nix index 992ae6ee36c3..13cd0db76782 100644 --- a/pkgs/by-name/hy/hyperlink/package.nix +++ b/pkgs/by-name/hy/hyperlink/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hyperlink"; version = "0.1.35"; src = fetchFromGitHub { owner = "untitaker"; repo = "hyperlink"; - rev = version; + rev = finalAttrs.version; hash = "sha256-sx1OW056s40uhwwgGtNKiPkKSUy7/ZzSYGnjc0UKh/E="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ samueltardieu ]; mainProgram = "hyperlink"; }; -} +}) diff --git a/pkgs/by-name/hy/hyperspeedcube/package.nix b/pkgs/by-name/hy/hyperspeedcube/package.nix index c79a762cdc8a..6525ffba8742 100644 --- a/pkgs/by-name/hy/hyperspeedcube/package.nix +++ b/pkgs/by-name/hy/hyperspeedcube/package.nix @@ -39,14 +39,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hyperspeedcube"; version = "1.0.12"; src = fetchFromGitHub { owner = "HactarCE"; repo = "Hyperspeedcube"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ctBvc2xANM/gGzDDv8ygSO4nTOiG6iKyuSKnz385PIw="; }; @@ -126,4 +126,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.omnipotententity ]; platforms = [ "x86_64-linux" ]; }; -} +}) diff --git a/pkgs/by-name/hy/hyprdim/package.nix b/pkgs/by-name/hy/hyprdim/package.nix index bae202150ce9..725a245f68a0 100644 --- a/pkgs/by-name/hy/hyprdim/package.nix +++ b/pkgs/by-name/hy/hyprdim/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hyprdim"; version = "3.0.1"; src = fetchFromGitHub { owner = "donovanglover"; repo = "hyprdim"; - rev = version; + rev = finalAttrs.version; hash = "sha256-o06HnN/E8QWRFOqd9Sxolm4g/fI5+6hYITptnRNAFag="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ donovanglover ]; mainProgram = "hyprdim"; }; -} +}) diff --git a/pkgs/by-name/hy/hyprland-activewindow/package.nix b/pkgs/by-name/hy/hyprland-activewindow/package.nix index af8e3399c913..0901d78cdc36 100644 --- a/pkgs/by-name/hy/hyprland-activewindow/package.nix +++ b/pkgs/by-name/hy/hyprland-activewindow/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hyprland-activewindow"; version = "1.0.5"; src = fetchFromGitHub { owner = "FieldOfClay"; repo = "hyprland-activewindow"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-oH3BsS0KqnNdYe7HWHlfRSiUJx+vC3IveN+mcEgwZLs="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "hyprland-activewindow"; }; -} +}) diff --git a/pkgs/by-name/hy/hyprland-autoname-workspaces/package.nix b/pkgs/by-name/hy/hyprland-autoname-workspaces/package.nix index 8b4171af8f7c..133ce82c5340 100644 --- a/pkgs/by-name/hy/hyprland-autoname-workspaces/package.nix +++ b/pkgs/by-name/hy/hyprland-autoname-workspaces/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hyprland-autoname-workspaces"; version = "1.2.0"; src = fetchFromGitHub { owner = "hyprland-community"; repo = "hyprland-autoname-workspaces"; - rev = version; + rev = finalAttrs.version; hash = "sha256-2pRtbzG/kGxucigK/tctCQZttf/QYZoCMnUv+6Hpi7I="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "hyprland-autoname-workspaces"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/hy/hyprland-monitor-attached/package.nix b/pkgs/by-name/hy/hyprland-monitor-attached/package.nix index f80730a8084f..4b167d4a0145 100644 --- a/pkgs/by-name/hy/hyprland-monitor-attached/package.nix +++ b/pkgs/by-name/hy/hyprland-monitor-attached/package.nix @@ -4,14 +4,14 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hyprland-monitor-attached"; version = "0.1.6"; src = fetchFromGitHub { owner = "coffebar"; repo = "hyprland-monitor-attached"; - rev = version; + rev = finalAttrs.version; hash = "sha256-+bgOOm1B513COcWdUIJ/+GREQH5CR8/RNOcZVkjO2hI="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "hyprland-monitor-attached"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/hy/hyprland-per-window-layout/package.nix b/pkgs/by-name/hy/hyprland-per-window-layout/package.nix index 04278d472d03..6da2a6a1d79b 100644 --- a/pkgs/by-name/hy/hyprland-per-window-layout/package.nix +++ b/pkgs/by-name/hy/hyprland-per-window-layout/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hyprland-per-window-layout"; version = "2.17"; src = fetchFromGitHub { owner = "coffebar"; repo = "hyprland-per-window-layout"; - rev = version; + rev = finalAttrs.version; hash = "sha256-wn1xFLi7CYb9A8fR0MaGYrOeIYuF8PCxbGcyQx33H6Y="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "hyprland-per-window-layout"; }; -} +}) diff --git a/pkgs/by-name/hy/hyprland-workspaces-tui/package.nix b/pkgs/by-name/hy/hyprland-workspaces-tui/package.nix index 4028f68eab83..8d8dd72edf84 100644 --- a/pkgs/by-name/hy/hyprland-workspaces-tui/package.nix +++ b/pkgs/by-name/hy/hyprland-workspaces-tui/package.nix @@ -8,14 +8,14 @@ installShellFiles, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hyprland-workspaces-tui"; version = "1.2.0"; src = fetchFromGitHub { owner = "Levizor"; repo = "hyprland-workspaces-tui"; - tag = version; + tag = finalAttrs.version; hash = "sha256-DLu7njrD5i9FeNWVZGBTKki70FurIGxtwgS6HbA7YLE="; }; @@ -50,4 +50,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ Levizor ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/hy/hyprland-workspaces/package.nix b/pkgs/by-name/hy/hyprland-workspaces/package.nix index 6e57d3b00979..509145947d83 100644 --- a/pkgs/by-name/hy/hyprland-workspaces/package.nix +++ b/pkgs/by-name/hy/hyprland-workspaces/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hyprland-workspaces"; version = "2.0.4"; src = fetchFromGitHub { owner = "FieldofClay"; repo = "hyprland-workspaces"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-a5P99aSqhlZqClXAoaUNv/jmuM5duLDf+OzMeKGwDVI="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "hyprland-workspaces"; }; -} +}) diff --git a/pkgs/by-name/hy/hyprnome/package.nix b/pkgs/by-name/hy/hyprnome/package.nix index 9806ebf73714..b5e4d3e815da 100644 --- a/pkgs/by-name/hy/hyprnome/package.nix +++ b/pkgs/by-name/hy/hyprnome/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hyprnome"; version = "0.3.1"; src = fetchFromGitHub { owner = "donovanglover"; repo = "hyprnome"; - rev = version; + rev = finalAttrs.version; hash = "sha256-GZn7qS1J6QSanWdy17sMBbwJ77iMij2jKRgPdrjt6tM="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ donovanglover ]; mainProgram = "hyprnome"; }; -} +}) diff --git a/pkgs/by-name/i3/i3-back/package.nix b/pkgs/by-name/i3/i3-back/package.nix index 618f3df4de4f..943a70bff507 100644 --- a/pkgs/by-name/i3/i3-back/package.nix +++ b/pkgs/by-name/i3/i3-back/package.nix @@ -5,14 +5,14 @@ testers, i3-back, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "i3-back"; version = "0.3.2"; src = fetchFromGitHub { owner = "Cretezy"; repo = "i3-back"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-xGfX7ttWrcIVhy+MkR5RZr2DCAwIKwGu7zkafHcrjaE="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "i3-back"; }; -} +}) diff --git a/pkgs/by-name/i3/i3bar-river/package.nix b/pkgs/by-name/i3/i3bar-river/package.nix index 49fe32e54aa9..f6eabd8d5529 100644 --- a/pkgs/by-name/i3/i3bar-river/package.nix +++ b/pkgs/by-name/i3/i3bar-river/package.nix @@ -6,14 +6,14 @@ pango, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "i3bar-river"; version = "1.1.0"; src = fetchFromGitHub { owner = "MaxVerevkin"; repo = "i3bar-river"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-0ux0woVp9HVCJf/oND2AKHj30eNC/w1WDnlPafLTgxM="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "i3bar-river"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/i3/i3status-rust/package.nix b/pkgs/by-name/i3/i3status-rust/package.nix index a294bc3e519d..099c947f1e68 100644 --- a/pkgs/by-name/i3/i3status-rust/package.nix +++ b/pkgs/by-name/i3/i3status-rust/package.nix @@ -20,14 +20,14 @@ withNotmuch ? false, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "i3status-rust"; version = "0.35.0"; src = fetchFromGitHub { owner = "greshake"; repo = "i3status-rust"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Eam0MDACJN/a8J1Za7Xwy0Jlv/KGNn4M13C2yaCgLnU="; }; @@ -96,4 +96,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ia/ianny/package.nix b/pkgs/by-name/ia/ianny/package.nix index 4120aa107e32..ee48aad06048 100644 --- a/pkgs/by-name/ia/ianny/package.nix +++ b/pkgs/by-name/ia/ianny/package.nix @@ -6,14 +6,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ianny"; version = "2.1.3"; src = fetchFromGitHub { owner = "zefr0x"; repo = "ianny"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-CPtVk8sG3LcJBgmPc/kYZZXW0Lt2OPJGzkLKac+/1ZI="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ max-amb ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ia/iay/package.nix b/pkgs/by-name/ia/iay/package.nix index 3654475c1a69..0037751d804a 100644 --- a/pkgs/by-name/ia/iay/package.nix +++ b/pkgs/by-name/ia/iay/package.nix @@ -7,14 +7,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "iay"; version = "0.4.3"; src = fetchFromGitHub { owner = "aaqaishtyaq"; repo = "iay"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-oNUK2ROcocKoIlAuNZcJczDYtSchzpB1qaYbSYsjN50="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "iay"; }; -} +}) diff --git a/pkgs/by-name/id/idmail/package.nix b/pkgs/by-name/id/idmail/package.nix index 41b05845bccf..a7bdc2874804 100644 --- a/pkgs/by-name/id/idmail/package.nix +++ b/pkgs/by-name/id/idmail/package.nix @@ -21,14 +21,14 @@ let ]; }); in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "idmail"; version = "1.0.1"; src = fetchFromGitHub { owner = "oddlama"; repo = "idmail"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-9rl2UG8DeWd8hVh3N+dqyV5gO0LErok+kZ1vQZnVAe8="; }; @@ -71,7 +71,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Email alias and account management interface for self-hosted mailservers"; homepage = "https://github.com/oddlama/idmail"; - changelog = "https://github.com/oddlama/idmail/releases/tag/v${version}"; + changelog = "https://github.com/oddlama/idmail/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ oddlama @@ -79,4 +79,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "idmail"; }; -} +}) diff --git a/pkgs/by-name/if/ifrextractor-rs/package.nix b/pkgs/by-name/if/ifrextractor-rs/package.nix index 027bf3f8fc8f..04f06a5140bd 100644 --- a/pkgs/by-name/if/ifrextractor-rs/package.nix +++ b/pkgs/by-name/if/ifrextractor-rs/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ifrextractor-rs"; version = "1.5.1"; src = fetchFromGitHub { owner = "LongSoft"; repo = "ifrextractor-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-zpoOThjkL2Hu/ytxdqWcr2GXzN4Cm8hph7PJhSF5BlU="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ jiegec ]; }; -} +}) diff --git a/pkgs/by-name/if/ifwifi/package.nix b/pkgs/by-name/if/ifwifi/package.nix index d2f92988a926..dd5cba23547a 100644 --- a/pkgs/by-name/if/ifwifi/package.nix +++ b/pkgs/by-name/if/ifwifi/package.nix @@ -8,14 +8,14 @@ iw, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ifwifi"; version = "1.2.0"; src = fetchFromGitHub { owner = "araujobsd"; repo = "ifwifi"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-DPMCwyKqGJrav0wASBky9bS1bvJ3xaGsDzsk1bKaH1U="; }; @@ -56,4 +56,4 @@ rustPlatform.buildRustPackage rec { # even though the `wifiscanner` crate would work platforms = with lib.platforms; linux; # ++ darwin; }; -} +}) diff --git a/pkgs/by-name/ig/igrep/package.nix b/pkgs/by-name/ig/igrep/package.nix index fc3738005a7d..0fbc3a6e0b2c 100644 --- a/pkgs/by-name/ig/igrep/package.nix +++ b/pkgs/by-name/ig/igrep/package.nix @@ -6,14 +6,14 @@ igrep, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "igrep"; version = "1.3.0"; src = fetchFromGitHub { owner = "konradsz"; repo = "igrep"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ZZhzBGLpzd9+rok+S/ypKpWXVzXaA1CnviC7LfgP/CU="; }; @@ -32,9 +32,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Interactive Grep"; homepage = "https://github.com/konradsz/igrep"; - changelog = "https://github.com/konradsz/igrep/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/konradsz/igrep/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ _0x4A6F ]; mainProgram = "ig"; }; -} +}) diff --git a/pkgs/by-name/ii/iio-niri/package.nix b/pkgs/by-name/ii/iio-niri/package.nix index 0e89d24c49f0..73fe38a5fe9f 100644 --- a/pkgs/by-name/ii/iio-niri/package.nix +++ b/pkgs/by-name/ii/iio-niri/package.nix @@ -5,14 +5,14 @@ dbus, pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "iio-niri"; version = "1.3.0"; src = fetchFromGitHub { owner = "Zhaith-Izaliel"; repo = "iio-niri"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-tbCiG/u350U7UbYDV5gWczDQd//RosNHuzB/cP9Dyyo="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "iio-niri"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ik/ikill/package.nix b/pkgs/by-name/ik/ikill/package.nix index 9a263edf88ee..fd6f1735030c 100644 --- a/pkgs/by-name/ik/ikill/package.nix +++ b/pkgs/by-name/ik/ikill/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ikill"; version = "1.6.0"; src = fetchFromGitHub { owner = "pjmp"; repo = "ikill"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-hOQBBwxkVnTkAZJi84qArwAo54fMC0zS+IeYMV04kUs="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "ikill"; }; -} +}) diff --git a/pkgs/by-name/im/image-roll/package.nix b/pkgs/by-name/im/image-roll/package.nix index f5ad90b6ece8..f04c8cd4b4e0 100644 --- a/pkgs/by-name/im/image-roll/package.nix +++ b/pkgs/by-name/im/image-roll/package.nix @@ -8,14 +8,14 @@ gtk4, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "image-roll"; version = "2.1.0"; src = fetchFromGitHub { owner = "weclaw1"; repo = "image-roll"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-CC40TU38bJFnbJl2EHqeB9RBvbVUrBmRdZVS2GxqGu4="; }; @@ -50,4 +50,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/in/inferno/package.nix b/pkgs/by-name/in/inferno/package.nix index 01c209c35118..46823408c973 100644 --- a/pkgs/by-name/in/inferno/package.nix +++ b/pkgs/by-name/in/inferno/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "inferno"; version = "0.12.4"; src = fetchFromGitHub { owner = "jonhoo"; repo = "inferno"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-8c3JRPUvuo1uQ22vgzgEPXoNSRnUKciEff13QrN3WHI="; fetchSubmodules = true; }; @@ -31,8 +31,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "Port of parts of the flamegraph toolkit to Rust"; homepage = "https://github.com/jonhoo/inferno"; - changelog = "https://github.com/jonhoo/inferno/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/jonhoo/inferno/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.cddl; maintainers = [ lib.maintainers.matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/in/inherd-quake/package.nix b/pkgs/by-name/in/inherd-quake/package.nix index 3cedcf2cc779..cd66aa5c0088 100644 --- a/pkgs/by-name/in/inherd-quake/package.nix +++ b/pkgs/by-name/in/inherd-quake/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "inherd-quake"; version = "0.5.1"; src = fetchFromGitHub { owner = "phodal"; repo = "quake"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-HKAR4LJm0lrQgTOCqtYIRFbO3qHtPbr4Fpx2ek1oJ4Q="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.elliot ]; mainProgram = "quake"; }; -} +}) diff --git a/pkgs/by-name/in/inhibridge/package.nix b/pkgs/by-name/in/inhibridge/package.nix index 334159ecc294..409fcd30e880 100644 --- a/pkgs/by-name/in/inhibridge/package.nix +++ b/pkgs/by-name/in/inhibridge/package.nix @@ -3,14 +3,14 @@ rustPlatform, fetchFromCodeberg, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "inhibridge"; version = "0.3.0"; src = fetchFromCodeberg { owner = "Scrumplex"; repo = "inhibridge"; - rev = version; + rev = finalAttrs.version; hash = "sha256-cKVw3Gd4Ml8BeXjZqTN6ToeRzO9PI+Sn45gpltlRuWM="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ Scrumplex ]; mainProgram = "inhibridge"; }; -} +}) diff --git a/pkgs/by-name/in/inlyne/package.nix b/pkgs/by-name/in/inlyne/package.nix index 19606d2a8267..4ae2977be3fa 100644 --- a/pkgs/by-name/in/inlyne/package.nix +++ b/pkgs/by-name/in/inlyne/package.nix @@ -18,14 +18,14 @@ oniguruma, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "inlyne"; version = "0.5.0"; src = fetchFromGitHub { owner = "Inlyne-Project"; repo = "inlyne"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ueE1NKbCMBUBrrdsHkwZ5Yv6LD3tQL3ZAk2O4xoYOcw="; }; @@ -83,9 +83,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "GPU powered browserless markdown viewer"; homepage = "https://github.com/Inlyne-Project/inlyne"; - changelog = "https://github.com/Inlyne-Project/inlyne/releases/tag/${src.rev}"; + changelog = "https://github.com/Inlyne-Project/inlyne/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "inlyne"; }; -} +}) diff --git a/pkgs/by-name/in/innernet/package.nix b/pkgs/by-name/in/innernet/package.nix index 213aa2cd6f96..c9604914b1f7 100644 --- a/pkgs/by-name/in/innernet/package.nix +++ b/pkgs/by-name/in/innernet/package.nix @@ -10,14 +10,14 @@ testers, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "innernet"; version = "1.7.1"; src = fetchFromGitHub { owner = "tonarino"; repo = "innernet"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-wGxTdoWMHVUldW+bjli+5zqo3PRU/8tn7fxAeVrynjs="; }; @@ -60,11 +60,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Private network system that uses WireGuard under the hood"; homepage = "https://github.com/tonarino/innernet"; - changelog = "https://github.com/tonarino/innernet/releases/tag/v${version}"; + changelog = "https://github.com/tonarino/innernet/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ tomberek _0x4A6F ]; }; -} +}) diff --git a/pkgs/by-name/in/inori/package.nix b/pkgs/by-name/in/inori/package.nix index 24f74597b002..9323060780cc 100644 --- a/pkgs/by-name/in/inori/package.nix +++ b/pkgs/by-name/in/inori/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "inori"; version = "0.2.5"; src = fetchFromGitHub { owner = "eshrh"; repo = "inori"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-w+UsG4CHdug6TITJLjhHsQeAhHenzDFnZLICDT0Z1UM="; }; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Client for the Music Player Daemon (MPD)"; homepage = "https://github.com/eshrh/inori"; - changelog = "https://github.com/eshrh/inori/releases/tag/${src.tag}"; + changelog = "https://github.com/eshrh/inori/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Only; platforms = lib.platforms.unix ++ lib.platforms.windows; mainProgram = "inori"; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { esrh ]; }; -} +}) diff --git a/pkgs/by-name/in/inputplumber/package.nix b/pkgs/by-name/in/inputplumber/package.nix index 321ba140a1d3..375421366500 100644 --- a/pkgs/by-name/in/inputplumber/package.nix +++ b/pkgs/by-name/in/inputplumber/package.nix @@ -8,14 +8,14 @@ libevdev, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "inputplumber"; version = "0.72.0"; src = fetchFromGitHub { owner = "ShadowBlip"; repo = "InputPlumber"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-bzIrP6bUxEEgQ+lCKV3jpdyBNMAanCYXiMCr8ypUkUY="; }; @@ -40,8 +40,8 @@ rustPlatform.buildRustPackage rec { description = "Open source input router and remapper daemon for Linux"; homepage = "https://github.com/ShadowBlip/InputPlumber"; license = lib.licenses.gpl3Plus; - changelog = "https://github.com/ShadowBlip/InputPlumber/releases/tag/v${version}"; + changelog = "https://github.com/ShadowBlip/InputPlumber/releases/tag/v${finalAttrs.version}"; maintainers = with lib.maintainers; [ shadowapex ]; mainProgram = "inputplumber"; }; -} +}) diff --git a/pkgs/by-name/in/integrity-scrub/package.nix b/pkgs/by-name/in/integrity-scrub/package.nix index b0c3d68fe774..55044442f46d 100644 --- a/pkgs/by-name/in/integrity-scrub/package.nix +++ b/pkgs/by-name/in/integrity-scrub/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "integrity-scrub"; version = "0.6.6"; src = fetchFromGitHub { owner = "illdefined"; repo = "integrity-scrub"; - tag = version; + tag = finalAttrs.version; hash = "sha256-OLO64R9AYpHSkIwk2arka5EEzCWusZPWsBhy5HEDIQI="; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "integrity-scrub"; }; -} +}) diff --git a/pkgs/by-name/in/intelli-shell/package.nix b/pkgs/by-name/in/intelli-shell/package.nix index 6e0538e156d2..6092863d52a3 100644 --- a/pkgs/by-name/in/intelli-shell/package.nix +++ b/pkgs/by-name/in/intelli-shell/package.nix @@ -9,14 +9,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "intelli-shell"; version = "3.4.0"; src = fetchFromGitHub { owner = "lasantosr"; repo = "intelli-shell"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-TrT2gMc23m4xZ/fxxHqEkGpq3VBeLfkPXC9H1sSSOaQ="; }; @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ lasantosr ]; mainProgram = "intelli-shell"; }; -} +}) diff --git a/pkgs/by-name/in/intermodal/package.nix b/pkgs/by-name/in/intermodal/package.nix index 4ecac07fbc48..bb7d9bd81643 100644 --- a/pkgs/by-name/in/intermodal/package.nix +++ b/pkgs/by-name/in/intermodal/package.nix @@ -6,14 +6,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "intermodal"; version = "0.1.15"; src = fetchFromGitHub { owner = "casey"; repo = "intermodal"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-dNDJHLxKsuAwQifNHTjr4qhPx+GGY0KUAeWz1qthqOo="; }; @@ -36,11 +36,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "User-friendly and featureful command-line BitTorrent metainfo utility"; homepage = "https://github.com/casey/intermodal"; - changelog = "https://github.com/casey/intermodal/releases/tag/v${version}"; + changelog = "https://github.com/casey/intermodal/releases/tag/v${finalAttrs.version}"; license = lib.licenses.cc0; maintainers = with lib.maintainers; [ xrelkd ]; mainProgram = "imdl"; }; -} +}) diff --git a/pkgs/by-name/io/iocaine/package.nix b/pkgs/by-name/io/iocaine/package.nix index 94d2822207dd..dcd63c2dcee4 100644 --- a/pkgs/by-name/io/iocaine/package.nix +++ b/pkgs/by-name/io/iocaine/package.nix @@ -5,7 +5,7 @@ fetchFromGitea, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "iocaine"; version = "2.5.1"; @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec { domain = "git.madhouse-project.org"; owner = "iocaine"; repo = "iocaine"; - tag = "iocaine-${version}"; + tag = "iocaine-${finalAttrs.version}"; hash = "sha256-213QLpGBKSsT9r8O27PyMom5+OGPz0VtRBevxswISZA="; }; @@ -22,11 +22,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Deadliest poison known to AI"; homepage = "https://iocaine.madhouse-project.org/"; - changelog = "https://git.madhouse-project.org/iocaine/iocaine/src/tag/${src.tag}/CHANGELOG.md"; + changelog = "https://git.madhouse-project.org/iocaine/iocaine/src/tag/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sugar700 ]; mainProgram = "iocaine"; # Lacking OS access to fix, and upstream doesn't support macOS. broken = stdenv.hostPlatform.isDarwin; }; -} +}) diff --git a/pkgs/by-name/ip/iperf3d/package.nix b/pkgs/by-name/ip/iperf3d/package.nix index 2bf54da029e2..0e7ae8a3b05e 100644 --- a/pkgs/by-name/ip/iperf3d/package.nix +++ b/pkgs/by-name/ip/iperf3d/package.nix @@ -6,14 +6,14 @@ iperf3, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "iperf3d"; version = "1.0.0"; src = fetchFromGitHub { owner = "wobcom"; repo = "iperf3d"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-pMwGoBgFRVY+H51k+YCamzHgBoaJVwEVqY0CvMPvE0w="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { johannwagner ]; }; -} +}) diff --git a/pkgs/by-name/ir/irust/package.nix b/pkgs/by-name/ir/irust/package.nix index 37c6cd99ed93..3cd062da85d4 100644 --- a/pkgs/by-name/ir/irust/package.nix +++ b/pkgs/by-name/ir/irust/package.nix @@ -19,14 +19,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "irust"; version = "1.76.2"; src = fetchFromGitHub { owner = "sigmaSd"; repo = "IRust"; - rev = "irust@${version}"; + rev = "irust@${finalAttrs.version}"; hash = "sha256-bZKFoN6hr/TLTvGAWUXS+S3RnYhdirUeGz30LYbgA7g="; }; @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ lelgenio ]; mainProgram = "irust"; }; -} +}) diff --git a/pkgs/by-name/iv/ivyterm/package.nix b/pkgs/by-name/iv/ivyterm/package.nix index 052fb4748a61..4133fd7c760a 100644 --- a/pkgs/by-name/iv/ivyterm/package.nix +++ b/pkgs/by-name/iv/ivyterm/package.nix @@ -10,14 +10,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ivyterm"; version = "1.0.5"; src = fetchFromGitHub { owner = "Tomiyou"; repo = "ivyterm"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Xr4oXg+kZPDImY7BlKUHwgi5AtCArH1vf3+s117luTQ="; }; @@ -46,9 +46,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal emulator implemented in gtk4-rs and VTE4"; homepage = "https://github.com/Tomiyou/ivyterm"; - changelog = "https://github.com/Tomiyou/ivyterm/releases/tag/${src.tag}"; + changelog = "https://github.com/Tomiyou/ivyterm/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ genga898 ]; mainProgram = "ivyterm"; }; -} +}) diff --git a/pkgs/by-name/iw/iwmenu/package.nix b/pkgs/by-name/iw/iwmenu/package.nix index fffb931cb033..34d0a39cc764 100644 --- a/pkgs/by-name/iw/iwmenu/package.nix +++ b/pkgs/by-name/iw/iwmenu/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "iwmenu"; version = "0.3.0"; src = fetchFromGitHub { owner = "e-tho"; repo = "iwmenu"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Xge7olQxXrdLvtXrjOCEf4/maGmQa/OSQ38KqrOWvoY="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ vuimuich ]; }; -} +}) diff --git a/pkgs/by-name/iw/iwqr/package.nix b/pkgs/by-name/iw/iwqr/package.nix index 319ba2fe3399..5cf5d56b38e8 100644 --- a/pkgs/by-name/iw/iwqr/package.nix +++ b/pkgs/by-name/iw/iwqr/package.nix @@ -7,7 +7,7 @@ iwqr, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "iwqr"; version = "0.1.1"; @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec { domain = "git.kroner.dev"; owner = "kreny"; repo = "iwqr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-z9CjCJvi6MlZGghZKx13gGSKwUnECAf0cr9P2ABskh0="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ h7x4 ]; mainProgram = "iwqr"; }; -} +}) diff --git a/pkgs/by-name/ja/jay/package.nix b/pkgs/by-name/ja/jay/package.nix index f67aa04c4724..3db6811643d9 100644 --- a/pkgs/by-name/ja/jay/package.nix +++ b/pkgs/by-name/ja/jay/package.nix @@ -15,14 +15,14 @@ autoPatchelfHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jay"; version = "1.11.1"; src = fetchFromGitHub { owner = "mahkoh"; repo = "jay"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-mm2bXxl9TaKwmeCwFz3IKznqjsfY8RKEVU/RK4zd63U="; }; @@ -63,4 +63,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "jay"; }; -} +}) diff --git a/pkgs/by-name/je/jellyfin-rpc/package.nix b/pkgs/by-name/je/jellyfin-rpc/package.nix index 4dbda1a2d57e..e99c94cf431b 100644 --- a/pkgs/by-name/je/jellyfin-rpc/package.nix +++ b/pkgs/by-name/je/jellyfin-rpc/package.nix @@ -6,14 +6,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jellyfin-rpc"; version = "1.3.4"; src = fetchFromGitHub { owner = "Radiicall"; repo = "jellyfin-rpc"; - tag = version; + tag = finalAttrs.version; hash = "sha256-g4Vd++Q6rJS6nU1kR+7aItnhHc0jeFSU460iF6P1EEk="; }; @@ -31,9 +31,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Displays the content you're currently watching on Discord"; homepage = "https://github.com/Radiicall/jellyfin-rpc"; - changelog = "https://github.com/Radiicall/jellyfin-rpc/releases/tag/${version}"; + changelog = "https://github.com/Radiicall/jellyfin-rpc/releases/tag/${finalAttrs.version}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ getchoo ]; mainProgram = "jellyfin-rpc"; }; -} +}) diff --git a/pkgs/by-name/je/jellyfin-tui/package.nix b/pkgs/by-name/je/jellyfin-tui/package.nix index 8f85c39e915d..82a5ad140cff 100644 --- a/pkgs/by-name/je/jellyfin-tui/package.nix +++ b/pkgs/by-name/je/jellyfin-tui/package.nix @@ -11,14 +11,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jellyfin-tui"; version = "1.3.1"; src = fetchFromGitHub { owner = "dhonus"; repo = "jellyfin-tui"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-D3AzGrh04D05+v+t3gVZU68KlHM9HbaAx5dY2utJeFU="; }; @@ -52,8 +52,8 @@ rustPlatform.buildRustPackage rec { description = "Jellyfin music streaming client for the terminal"; mainProgram = "jellyfin-tui"; homepage = "https://github.com/dhonus/jellyfin-tui"; - changelog = "https://github.com/dhonus/jellyfin-tui/releases/tag/v${version}"; + changelog = "https://github.com/dhonus/jellyfin-tui/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ GKHWB ]; }; -} +}) diff --git a/pkgs/by-name/jf/jf/package.nix b/pkgs/by-name/jf/jf/package.nix index 69bb87d6ede0..d809c1b7cfbd 100644 --- a/pkgs/by-name/jf/jf/package.nix +++ b/pkgs/by-name/jf/jf/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jf"; version = "0.6.2"; src = fetchFromGitHub { owner = "sayanarijit"; repo = "jf"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-A29OvGdG6PyeKMf5RarEOrfnNSmXhXri0AlECHWep6M="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ lib.maintainers.sayanarijit ]; }; -} +}) diff --git a/pkgs/by-name/ji/jikken/package.nix b/pkgs/by-name/ji/jikken/package.nix index 35b07c122bbd..3ccbb8755464 100644 --- a/pkgs/by-name/ji/jikken/package.nix +++ b/pkgs/by-name/ji/jikken/package.nix @@ -8,14 +8,14 @@ pkg-config, openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jikken"; version = "0.8.2"; src = fetchFromGitHub { owner = "jikkenio"; repo = "jikken"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8A9b9Ms/unv+qQRd5jiTV/6SJa6ZYLsE0fK97ohacPI="; }; @@ -35,9 +35,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Powerful, source control friendly REST API testing toolkit"; homepage = "https://jikken.io/"; - changelog = "https://github.com/jikkenio/jikken/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/jikkenio/jikken/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ vinnymeller ]; mainProgram = "jk"; }; -} +}) diff --git a/pkgs/by-name/ji/jinja-lsp/package.nix b/pkgs/by-name/ji/jinja-lsp/package.nix index 09ccfe7c52fa..0b0c34a43881 100644 --- a/pkgs/by-name/ji/jinja-lsp/package.nix +++ b/pkgs/by-name/ji/jinja-lsp/package.nix @@ -3,14 +3,14 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jinja-lsp"; version = "0.1.89"; src = fetchFromGitHub { owner = "uros-5"; repo = "jinja-lsp"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-K+7HS1dtDtHNMIseXopWzkFM3wC5b/sfYeHI3vxw74Q="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ adamjhf ]; mainProgram = "jinja-lsp"; }; -} +}) diff --git a/pkgs/by-name/jl/jless/package.nix b/pkgs/by-name/jl/jless/package.nix index 3f72963e7321..7f295c6a9c05 100644 --- a/pkgs/by-name/jl/jless/package.nix +++ b/pkgs/by-name/jl/jless/package.nix @@ -7,14 +7,14 @@ libxcb, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jless"; version = "0.9.0"; src = fetchFromGitHub { owner = "PaulJuliusMartinez"; repo = "jless"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-76oFPUWROX389U8DeMjle/GkdItu+0eYxZkt1c6l0V4="; }; @@ -28,10 +28,10 @@ rustPlatform.buildRustPackage rec { description = "Command-line pager for JSON data"; mainProgram = "jless"; homepage = "https://jless.io"; - changelog = "https://github.com/PaulJuliusMartinez/jless/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/PaulJuliusMartinez/jless/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jfchevrette ]; }; -} +}) diff --git a/pkgs/by-name/jo/joshuto/package.nix b/pkgs/by-name/jo/joshuto/package.nix index 6c1385554bea..ea66024582b2 100644 --- a/pkgs/by-name/jo/joshuto/package.nix +++ b/pkgs/by-name/jo/joshuto/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "joshuto"; version = "0.9.9"; src = fetchFromGitHub { owner = "kamiyaa"; repo = "joshuto"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-hfu3Verbrq0to3I5/gX6ZhVr7ewjHNamzvaUcmcUIRU="; }; @@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Ranger-like terminal file manager written in Rust"; homepage = "https://github.com/kamiyaa/joshuto"; - changelog = "https://github.com/kamiyaa/joshuto/releases/tag/${src.rev}"; + changelog = "https://github.com/kamiyaa/joshuto/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.lgpl3Only; maintainers = with lib.maintainers; [ totoroot @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "joshuto"; }; -} +}) diff --git a/pkgs/by-name/jo/jot/package.nix b/pkgs/by-name/jo/jot/package.nix index 144355ed4068..c981e07b66ba 100644 --- a/pkgs/by-name/jo/jot/package.nix +++ b/pkgs/by-name/jo/jot/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jot"; version = "0.1.2"; src = fetchFromGitHub { owner = "shashwatah"; repo = "jot"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-Z8szd6ArwbGiHw7SeAah0LrrzUbcQYygX7IcPUYNxvM="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "jt"; }; -} +}) diff --git a/pkgs/by-name/jo/jotdown/package.nix b/pkgs/by-name/jo/jotdown/package.nix index 2035c3680698..a4803bab5954 100644 --- a/pkgs/by-name/jo/jotdown/package.nix +++ b/pkgs/by-name/jo/jotdown/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jotdown"; version = "0.9.1"; src = fetchFromGitHub { owner = "hellux"; repo = "jotdown"; - rev = version; + rev = finalAttrs.version; hash = "sha256-76GYcLgTmTAweV+SI93me89YUHAujE0dFetG5QLlFRs="; }; @@ -21,8 +21,8 @@ rustPlatform.buildRustPackage rec { description = "Minimal Djot CLI"; mainProgram = "jotdown"; homepage = "https://github.com/hellux/jotdown"; - changelog = "https://github.com/hellux/jotdown/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/hellux/jotdown/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/jr/jrsonnet/package.nix b/pkgs/by-name/jr/jrsonnet/package.nix index f2b117e6e214..63a3de66c531 100644 --- a/pkgs/by-name/jr/jrsonnet/package.nix +++ b/pkgs/by-name/jr/jrsonnet/package.nix @@ -6,12 +6,12 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jrsonnet"; version = "0.4.2"; src = fetchFromGitHub { - rev = "v${version}"; + rev = "v${finalAttrs.version}"; owner = "CertainLach"; repo = "jrsonnet"; sha256 = "sha256-OX+iJJ3vdCsWWr8x31psV9Vne6xWDZnJc83NbJqMK1A="; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { lach ]; }; -} +}) diff --git a/pkgs/by-name/js/jsonwatch/package.nix b/pkgs/by-name/js/jsonwatch/package.nix index 4acdc15ef0cf..826886d73eb0 100644 --- a/pkgs/by-name/js/jsonwatch/package.nix +++ b/pkgs/by-name/js/jsonwatch/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jsonwatch"; version = "0.11.0"; src = fetchFromGitHub { owner = "dbohdan"; repo = "jsonwatch"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-qhVqAhUAbLb5wHnLNHr6BxffyH1G5B09eOJQoqSzWEk="; }; @@ -27,9 +27,9 @@ rustPlatform.buildRustPackage rec { differences when the data changes. ''; homepage = "https://github.com/dbohdan/jsonwatch"; - changelog = "https://github.com/dbohdan/jsonwatch/releases/tag/${src.tag}"; + changelog = "https://github.com/dbohdan/jsonwatch/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "jsonwatch"; }; -} +}) diff --git a/pkgs/by-name/jw/jwt-cli/package.nix b/pkgs/by-name/jw/jwt-cli/package.nix index 30449323597b..516af0f43fb1 100644 --- a/pkgs/by-name/jw/jwt-cli/package.nix +++ b/pkgs/by-name/jw/jwt-cli/package.nix @@ -7,14 +7,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jwt-cli"; version = "6.2.0"; src = fetchFromGitHub { owner = "mike-engel"; repo = "jwt-cli"; - tag = version; + tag = finalAttrs.version; hash = "sha256-2pYCNLopvIHcKiN4qewQCdkGWHYQ6vQVCaApxGsRG9E="; }; @@ -42,9 +42,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Super fast CLI tool to decode and encode JWTs"; homepage = "https://github.com/mike-engel/jwt-cli"; - changelog = "https://github.com/mike-engel/jwt-cli/releases/tag/${version}"; + changelog = "https://github.com/mike-engel/jwt-cli/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ rycee ]; mainProgram = "jwt"; }; -} +}) diff --git a/pkgs/by-name/jw/jwt-hack/package.nix b/pkgs/by-name/jw/jwt-hack/package.nix index 6267d5cc0a0e..d84b86331762 100644 --- a/pkgs/by-name/jw/jwt-hack/package.nix +++ b/pkgs/by-name/jw/jwt-hack/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "jwt-hack"; version = "2.0.0"; src = fetchFromGitHub { owner = "hahwul"; repo = "jwt-hack"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-uJur/ABoAaQT3BBO2yprK/0/bQPT138Yg9IbztZ6w2w="; }; @@ -26,9 +26,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "JSON Web Token Hack Toolkit"; homepage = "https://github.com/hahwul/jwt-hack"; - changelog = "https://github.com/hahwul/jwt-hack/releases/tag/${src.tag}"; + changelog = "https://github.com/hahwul/jwt-hack/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "jwt-hack"; }; -} +}) diff --git a/pkgs/by-name/ka/kak-tree-sitter-unwrapped/package.nix b/pkgs/by-name/ka/kak-tree-sitter-unwrapped/package.nix index 79795fc7024d..e6cd6737597d 100644 --- a/pkgs/by-name/ka/kak-tree-sitter-unwrapped/package.nix +++ b/pkgs/by-name/ka/kak-tree-sitter-unwrapped/package.nix @@ -7,14 +7,14 @@ kak-tree-sitter-unwrapped, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kak-tree-sitter-unwrapped"; version = "3.0.0"; src = fetchFromSourcehut { owner = "~hadronized"; repo = "kak-tree-sitter"; - rev = "kak-tree-sitter-v${version}"; + rev = "kak-tree-sitter-v${finalAttrs.version}"; hash = "sha256-9QeTHmDTw1Qxnl+AnqCZgxlCCycq5qYF0aM/6fu8qwM="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ bsd3 ]; maintainers = with lib.maintainers; [ lelgenio ]; }; -} +}) diff --git a/pkgs/by-name/ka/kakoune-lsp/package.nix b/pkgs/by-name/ka/kakoune-lsp/package.nix index 83a92ad9aee2..676f5b9f558b 100644 --- a/pkgs/by-name/ka/kakoune-lsp/package.nix +++ b/pkgs/by-name/ka/kakoune-lsp/package.nix @@ -6,14 +6,14 @@ perl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kakoune-lsp"; version = "19.0.1"; src = fetchFromGitHub { owner = "kakoune-lsp"; repo = "kakoune-lsp"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-MDGDc2xhQNfbczq/JT/hDd3ZPLRd9DVXdTg0VLQLNHk="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "kak-lsp"; }; -} +}) diff --git a/pkgs/by-name/ka/kalker/package.nix b/pkgs/by-name/ka/kalker/package.nix index a5905a19a329..ffa6cd5cfc75 100644 --- a/pkgs/by-name/ka/kalker/package.nix +++ b/pkgs/by-name/ka/kalker/package.nix @@ -8,14 +8,14 @@ libmpc, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kalker"; version = "2.2.1"; src = fetchFromGitHub { owner = "PaddiM8"; repo = "kalker"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-fFeHL+Q1Y0J3rOgbFA952rjae/OQgHTznDI0Kya1KMQ="; }; @@ -50,7 +50,7 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://kalker.strct.net"; - changelog = "https://github.com/PaddiM8/kalker/releases/tag/v${version}"; + changelog = "https://github.com/PaddiM8/kalker/releases/tag/v${finalAttrs.version}"; description = "Command line calculator"; longDescription = '' A command line calculator that supports math-like syntax with user-defined @@ -62,4 +62,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "kalker"; }; -} +}) diff --git a/pkgs/by-name/ka/kamp/package.nix b/pkgs/by-name/ka/kamp/package.nix index 59c474a7d9a3..39d5fd3d037d 100644 --- a/pkgs/by-name/ka/kamp/package.nix +++ b/pkgs/by-name/ka/kamp/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kamp"; version = "0.2.3"; src = fetchFromGitHub { owner = "vbauerster"; repo = "kamp"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-coBKVqSqYBpf0PdWKIODnbfQxbOyp5Di45+O66ZGK1Q="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "kamp"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ka/kanha/package.nix b/pkgs/by-name/ka/kanha/package.nix index 84a78dd7dadc..04822fd8601b 100644 --- a/pkgs/by-name/ka/kanha/package.nix +++ b/pkgs/by-name/ka/kanha/package.nix @@ -5,12 +5,12 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kanha"; version = "0.1.2"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; pname = "kanha"; hash = "sha256-ftTmYCkra3x/oDgGJ2WSf6yLeKXkwLJXhjuBdv7fVLY="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ pwnwriter ]; mainProgram = "kanha"; }; -} +}) diff --git a/pkgs/by-name/ka/kaput-cli/package.nix b/pkgs/by-name/ka/kaput-cli/package.nix index eb91d823fa8c..1fc0631f9f87 100644 --- a/pkgs/by-name/ka/kaput-cli/package.nix +++ b/pkgs/by-name/ka/kaput-cli/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kaput-cli"; version = "2.5.0"; src = fetchFromGitHub { owner = "davidchalifoux"; repo = "kaput-cli"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-sy8k9L9rmiRFzvhLc+hYl9OqmmP8INLxMNRjAx7/V8g="; }; @@ -35,11 +35,11 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; meta = { - changelog = "https://github.com/davidchalifoux/kaput-cli/releases/tag/v${version}"; + changelog = "https://github.com/davidchalifoux/kaput-cli/releases/tag/v${finalAttrs.version}"; description = "Unofficial CLI client for Put.io"; homepage = "https://kaput.sh/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ pyrox0 ]; mainProgram = "kaput"; }; -} +}) diff --git a/pkgs/by-name/ka/karlender/package.nix b/pkgs/by-name/ka/karlender/package.nix index 072a5d8fa82b..d8a232088709 100644 --- a/pkgs/by-name/ka/karlender/package.nix +++ b/pkgs/by-name/ka/karlender/package.nix @@ -13,14 +13,14 @@ cargo-gra, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "karlender"; version = "0.10.11"; src = fetchFromGitLab { owner = "floers"; repo = "karlender"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-PwXSJq4uBtgIA2aQ5AZawEMmHoVS2Z9haVHyJ2oyXUs="; }; @@ -78,4 +78,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/kb/kbs2/package.nix b/pkgs/by-name/kb/kbs2/package.nix index 084b3b38443f..162185cdf344 100644 --- a/pkgs/by-name/kb/kbs2/package.nix +++ b/pkgs/by-name/kb/kbs2/package.nix @@ -8,14 +8,14 @@ libxcb, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kbs2"; version = "0.7.3"; src = fetchFromGitHub { owner = "woodruffw"; repo = "kbs2"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-X+NhUQzxfok9amqAiim/vjkee45hjdPedsZc3zwcOXA="; }; @@ -49,8 +49,8 @@ rustPlatform.buildRustPackage rec { description = "Secret manager backed by age"; mainProgram = "kbs2"; homepage = "https://github.com/woodruffw/kbs2"; - changelog = "https://github.com/woodruffw/kbs2/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/woodruffw/kbs2/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/kb/kbt/package.nix b/pkgs/by-name/kb/kbt/package.nix index 45408c8a6537..430464a75e25 100644 --- a/pkgs/by-name/kb/kbt/package.nix +++ b/pkgs/by-name/kb/kbt/package.nix @@ -7,14 +7,14 @@ libx11, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kbt"; version = "2.1.0"; src = fetchFromGitHub { owner = "bloznelis"; repo = "kbt"; - rev = version; + rev = finalAttrs.version; hash = "sha256-ROCZDa5eyGF9yE+zdZ4snzdz8+jk+H6ZnqsnCe8JtJw="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "kbt"; }; -} +}) diff --git a/pkgs/by-name/kc/kcl-language-server/package.nix b/pkgs/by-name/kc/kcl-language-server/package.nix index 213b14e0b27d..0a2c8c9ed034 100644 --- a/pkgs/by-name/kc/kcl-language-server/package.nix +++ b/pkgs/by-name/kc/kcl-language-server/package.nix @@ -7,7 +7,7 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kcl-language-server"; version = "0.11.2-unstable-2025-10-26"; @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec { hash = "sha256-5yX9TYmn0nGlSI8jiAwxuYpBXq9ie+yVDHwcC1FLcBk="; }; - sourceRoot = "${src.name}/kclvm"; + sourceRoot = "${finalAttrs.src.name}/kclvm"; cargoHash = "sha256-FulW9qNVVZtOoRfm+NPwQENJU9Ib1GBzcjHxk5QS70g="; @@ -41,13 +41,13 @@ rustPlatform.buildRustPackage rec { doCheck = false; meta = { - changelog = "https://github.com/kcl-lang/kcl/releases/tag/v${version}"; + changelog = "https://github.com/kcl-lang/kcl/releases/tag/v${finalAttrs.version}"; description = "High-performance implementation of KCL written in Rust that uses LLVM as the compiler backend"; - downloadPage = "https://github.com/kcl-lang/kcl/tree/v${version}/kclvm/tools/src/LSP"; + downloadPage = "https://github.com/kcl-lang/kcl/tree/v${finalAttrs.version}/kclvm/tools/src/LSP"; homepage = "https://www.kcl-lang.io/"; license = lib.licenses.asl20; platforms = lib.platforms.linux; maintainers = kcl.meta.maintainers; mainProgram = "kcl-language-server"; }; -} +}) diff --git a/pkgs/by-name/kc/kclvm_cli/package.nix b/pkgs/by-name/kc/kclvm_cli/package.nix index f860b0c8ab72..9fcf79f2488d 100644 --- a/pkgs/by-name/kc/kclvm_cli/package.nix +++ b/pkgs/by-name/kc/kclvm_cli/package.nix @@ -5,18 +5,18 @@ kclvm, rustc, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kclvm_cli"; version = "0.11.0"; src = fetchFromGitHub { owner = "kcl-lang"; repo = "kcl"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-wRmLXR1r/FtZVfc6jifEj0jS0U0HIgJzBtuuzLQchjo="; }; - sourceRoot = "${src.name}/cli"; + sourceRoot = "${finalAttrs.src.name}/cli"; cargoHash = "sha256-ZhrjxHqwWwcVkCVkJJnVm2CZLfRlrI2383ejgI+B2KQ="; cargoPatches = [ ./cargo_lock.patch ]; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "kclvm_cli"; }; -} +}) diff --git a/pkgs/by-name/kd/kdash/package.nix b/pkgs/by-name/kd/kdash/package.nix index ad2de8193f0b..f9cc5f64fa11 100644 --- a/pkgs/by-name/kd/kdash/package.nix +++ b/pkgs/by-name/kd/kdash/package.nix @@ -9,14 +9,14 @@ libxcb-util, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kdash"; version = "0.6.2"; src = fetchFromGitHub { owner = "kdash-rs"; repo = "kdash"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-fFpdWVoeWycnp/hRw2S+hYpnXYmCs+rLqcZdmSSMGwI="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/kd/kdotool/package.nix b/pkgs/by-name/kd/kdotool/package.nix index a43d252b47d9..95a8e3c2b211 100644 --- a/pkgs/by-name/kd/kdotool/package.nix +++ b/pkgs/by-name/kd/kdotool/package.nix @@ -6,14 +6,14 @@ dbus, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { version = "0.2.2-pre"; pname = "kdotool"; src = fetchFromGitHub { owner = "jinliu"; repo = "kdotool"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-qx4bWAFQcoLM/r4aNzmoZdjclw8ccAW8lKLda6ON1aQ="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ kotatsuyaki ]; }; -} +}) diff --git a/pkgs/by-name/ke/keedump/package.nix b/pkgs/by-name/ke/keedump/package.nix index b99623e617e4..6a1992f81793 100644 --- a/pkgs/by-name/ke/keedump/package.nix +++ b/pkgs/by-name/ke/keedump/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "keedump"; version = "0.1.0"; src = fetchFromGitHub { owner = "ynuwenhof"; repo = "keedump"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-V7wQZoUnISELuzjSUz+CJ77XJvlnGBK2n4U4pKlk+xI="; }; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "PoC KeePass master password dumper"; homepage = "https://github.com/ynuwenhof/keedump"; - changelog = "https://github.com/ynuwenhof/keedump/releases/tag/v${version}"; + changelog = "https://github.com/ynuwenhof/keedump/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ asl20 mit @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ fab ]; mainProgram = "keedump"; }; -} +}) diff --git a/pkgs/by-name/ke/kestrel/package.nix b/pkgs/by-name/ke/kestrel/package.nix index 67211b838e45..6d1ec1eeca0d 100644 --- a/pkgs/by-name/ke/kestrel/package.nix +++ b/pkgs/by-name/ke/kestrel/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kestrel"; version = "1.0.2"; src = fetchFromGitHub { owner = "finfet"; repo = "kestrel"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-bKQBOk9yUqgnufRyyqXatsRHpesbM49rAkz0dD5XE80="; }; @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ zendo ]; }; -} +}) diff --git a/pkgs/by-name/ke/keyscope/package.nix b/pkgs/by-name/ke/keyscope/package.nix index 1a13b5ef337a..2a3ee5db8dcf 100644 --- a/pkgs/by-name/ke/keyscope/package.nix +++ b/pkgs/by-name/ke/keyscope/package.nix @@ -7,14 +7,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "keyscope"; version = "1.4.0"; src = fetchFromGitHub { owner = "spectralops"; repo = "keyscope"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-2DhKiQixhTCQD/SYIQa+o1kzEsslu6wAReuWr0rTrH8="; }; @@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec { echo "fn main() {}" > build.rs ''; - VERGEN_GIT_SEMVER = "v${version}"; + VERGEN_GIT_SEMVER = "v${finalAttrs.version}"; # Test require network access doCheck = false; @@ -39,9 +39,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Key and secret workflow (validation, invalidation, etc.) tool"; homepage = "https://github.com/spectralops/keyscope"; - changelog = "https://github.com/spectralops/keyscope/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/spectralops/keyscope/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ ]; mainProgram = "keyscope"; }; -} +}) diff --git a/pkgs/by-name/ki/kitty-img/package.nix b/pkgs/by-name/ki/kitty-img/package.nix index cbdd2a0aa890..96a6da300e1e 100644 --- a/pkgs/by-name/ki/kitty-img/package.nix +++ b/pkgs/by-name/ki/kitty-img/package.nix @@ -4,14 +4,14 @@ fetchFromSourcehut, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kitty-img"; version = "1.1.0"; src = fetchFromSourcehut { owner = "~zethra"; repo = "kitty-img"; - rev = version; + rev = finalAttrs.version; hash = "sha256-liqLocNIIOmkVWI8H9WU7T352sK7sceVtOX+R0BQ/uk="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Print images inline in kitty"; homepage = "https://git.sr.ht/~zethra/kitty-img"; - changelog = "https://git.sr.ht/~zethra/kitty-img/refs/${version}"; + changelog = "https://git.sr.ht/~zethra/kitty-img/refs/${finalAttrs.version}"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ gaykitty ]; mainProgram = "kitty-img"; }; -} +}) diff --git a/pkgs/by-name/ki/kittycad-kcl-lsp/package.nix b/pkgs/by-name/ki/kittycad-kcl-lsp/package.nix index f20c1b91bbb5..ea7213db2f52 100644 --- a/pkgs/by-name/ki/kittycad-kcl-lsp/package.nix +++ b/pkgs/by-name/ki/kittycad-kcl-lsp/package.nix @@ -5,14 +5,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kittycad-kcl-lsp"; version = "0.1.71"; src = fetchFromGitHub { owner = "KittyCAD"; repo = "kcl-lsp"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-IQfR2B9HyZXEDKcp5J7466SRbq2qWS+eodtTKkgJprM="; }; @@ -22,10 +22,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "KittyCAD KCL language server"; - changelog = "https://github.com/KittyCAD/kcl-lsp/releases/tag/v${version}"; + changelog = "https://github.com/KittyCAD/kcl-lsp/releases/tag/v${finalAttrs.version}"; homepage = "https://github.com/KittyCAD/kcl-lsp"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jljox ]; mainProgram = "kittycad-kcl-lsp"; }; -} +}) diff --git a/pkgs/by-name/kl/klipper-estimator/package.nix b/pkgs/by-name/kl/klipper-estimator/package.nix index 85513e0145cd..a09a483454ec 100644 --- a/pkgs/by-name/kl/klipper-estimator/package.nix +++ b/pkgs/by-name/kl/klipper-estimator/package.nix @@ -8,20 +8,20 @@ libgit2, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "klipper-estimator"; version = "3.7.3"; src = fetchFromGitHub { owner = "Annex-Engineering"; repo = "klipper_estimator"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-EjfW2qeq0ehGhjE2Psz5g/suYMZPvtQi2gaYb+NCa2U="; }; cargoHash = "sha256-wMgFkzgoHjvE+5t+cA5OW2COXbUj/5tWXz0Zp9cd5lw="; - env.TOOL_VERSION = "v${version}"; + env.TOOL_VERSION = "v${finalAttrs.version}"; buildInputs = [ openssl @@ -35,9 +35,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Tool for determining the time a print will take using the Klipper firmware"; homepage = "https://github.com/Annex-Engineering/klipper_estimator"; - changelog = "https://github.com/Annex-Engineering/klipper_estimator/releases/tag/v${version}"; + changelog = "https://github.com/Annex-Engineering/klipper_estimator/releases/tag/v${finalAttrs.version}"; mainProgram = "klipper_estimator"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ tmarkus ]; }; -} +}) diff --git a/pkgs/by-name/kl/klog-rs/package.nix b/pkgs/by-name/kl/klog-rs/package.nix index b628578fa5f0..842e78c09578 100644 --- a/pkgs/by-name/kl/klog-rs/package.nix +++ b/pkgs/by-name/kl/klog-rs/package.nix @@ -5,14 +5,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "klog-rs"; version = "0.5.1"; src = fetchFromGitHub { owner = "tobifroe"; repo = "klog"; - rev = version; + rev = finalAttrs.version; hash = "sha256-VyUUzhVwJ1tNLICXwy7f85queH+pn4vL5HTL8IHcQ7w="; }; @@ -26,10 +26,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Tool to tail logs of multiple Kubernetes pods simultaneously"; homepage = "https://github.com/tobifroe/klog"; - changelog = "https://github.com/tobifroe/klog/releases/tag/${version}"; + changelog = "https://github.com/tobifroe/klog/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "klog"; maintainers = with lib.maintainers; [ tobifroe ]; broken = stdenv.hostPlatform.isDarwin; }; -} +}) diff --git a/pkgs/by-name/km/kmon/package.nix b/pkgs/by-name/km/kmon/package.nix index f09cd82309dc..04a209b21920 100644 --- a/pkgs/by-name/km/kmon/package.nix +++ b/pkgs/by-name/km/kmon/package.nix @@ -6,14 +6,14 @@ libxcb, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kmon"; version = "1.7.1"; src = fetchFromGitHub { owner = "orhun"; repo = "kmon"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-DzbbeVZifuxgmIu3yNv6EI7Jyh8MA0/oSaR5IEPNUN8="; }; @@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Linux Kernel Manager and Activity Monitor"; homepage = "https://github.com/orhun/kmon"; - changelog = "https://github.com/orhun/kmon/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/orhun/kmon/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.gpl3Only; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "kmon"; }; -} +}) diff --git a/pkgs/by-name/ko/komodo/package.nix b/pkgs/by-name/ko/komodo/package.nix index e51a2d926c0b..f44c7147758c 100644 --- a/pkgs/by-name/ko/komodo/package.nix +++ b/pkgs/by-name/ko/komodo/package.nix @@ -6,14 +6,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "komodo"; version = "1.19.5"; src = fetchFromGitHub { owner = "moghtech"; repo = "komodo"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-dLBgdcrIp5QM2TVIa86qX7m1c5n+qOIQJtqJPGvIZ+0="; }; @@ -47,9 +47,9 @@ rustPlatform.buildRustPackage rec { Komodo is composed of a single core and any amount of connected servers running the periphery application. ''; homepage = "https://komo.do"; - changelog = "https://github.com/moghtech/komodo/releases/tag/v${version}"; + changelog = "https://github.com/moghtech/komodo/releases/tag/v${finalAttrs.version}"; mainProgram = "komodo"; maintainers = with lib.maintainers; [ r17x ]; license = lib.licenses.gpl3; }; -} +}) diff --git a/pkgs/by-name/ko/kondo/package.nix b/pkgs/by-name/ko/kondo/package.nix index c0f75d702ea1..c75b26542600 100644 --- a/pkgs/by-name/ko/kondo/package.nix +++ b/pkgs/by-name/ko/kondo/package.nix @@ -6,14 +6,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kondo"; version = "0.9"; src = fetchFromGitHub { owner = "tbillington"; repo = "kondo"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-lbj1usgwfp7IiCNPtmHSHvX3ARGY5UpJYT89U3+kTuk="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; mainProgram = "kondo"; }; -} +}) diff --git a/pkgs/by-name/ko/kontroll/package.nix b/pkgs/by-name/ko/kontroll/package.nix index 8b62e1abd08c..d3d522ee6cd0 100644 --- a/pkgs/by-name/ko/kontroll/package.nix +++ b/pkgs/by-name/ko/kontroll/package.nix @@ -5,14 +5,14 @@ protobuf, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kontroll"; version = "1.0.1"; src = fetchFromGitHub { owner = "zsa"; repo = "kontroll"; - rev = version; + rev = finalAttrs.version; hash = "sha256-k7Twbjl8umk3PeIv3ivCLdhZFgTTV8WdfIAoGAD/pEk="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ davsanchez ]; mainProgram = "kontroll"; }; -} +}) diff --git a/pkgs/by-name/ko/kord/package.nix b/pkgs/by-name/ko/kord/package.nix index 682215044f71..941f0d767ba4 100644 --- a/pkgs/by-name/ko/kord/package.nix +++ b/pkgs/by-name/ko/kord/package.nix @@ -8,7 +8,7 @@ alsa-lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kord"; version = "0.6.1"; @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "twitchax"; repo = "kord"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-CeMh6yB4fGoxtGLbkQe4OMMvBM0jesyP+8JtU5kCP84="; }; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ kidsan ]; license = with lib.licenses; [ mit ]; }; -} +}) diff --git a/pkgs/by-name/kr/krankerl/package.nix b/pkgs/by-name/kr/krankerl/package.nix index e4be33f69529..2882bf2872bb 100644 --- a/pkgs/by-name/kr/krankerl/package.nix +++ b/pkgs/by-name/kr/krankerl/package.nix @@ -10,14 +10,14 @@ makeWrapper, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "krankerl"; version = "0.14.0"; src = fetchFromGitHub { owner = "ChristophWurst"; repo = "krankerl"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-fFtjQFkNB5vn9nlFJI6nRdqxB9PmOGl3ySZ5LG2tgPg="; }; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ onny ]; }; -} +}) diff --git a/pkgs/by-name/kr/krapslog/package.nix b/pkgs/by-name/kr/krapslog/package.nix index 361888dc3079..c13ff620d55e 100644 --- a/pkgs/by-name/kr/krapslog/package.nix +++ b/pkgs/by-name/kr/krapslog/package.nix @@ -6,14 +6,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "krapslog"; version = "0.6.1"; src = fetchFromGitHub { owner = "acj"; repo = "krapslog-rs"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-c/Zh4fOsSKY0XopaklRbFEh4QM5jjUcj0zhAx5v9amI="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ yanganto ]; mainProgram = "krapslog"; }; -} +}) diff --git a/pkgs/by-name/kr/krill/package.nix b/pkgs/by-name/kr/krill/package.nix index 330b8332caa8..4c028094d61f 100644 --- a/pkgs/by-name/kr/krill/package.nix +++ b/pkgs/by-name/kr/krill/package.nix @@ -7,14 +7,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "krill"; version = "0.15.1"; src = fetchFromGitHub { owner = "NLnetLabs"; repo = "krill"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Egy/knMiu+Pglx4v62lPZ87daRKida8W05qu+5yGt1g="; }; @@ -38,8 +38,8 @@ rustPlatform.buildRustPackage rec { Authorisations (ROAs) on your own servers or with a third party. ''; homepage = "https://github.com/NLnetLabs/krill"; - changelog = "https://github.com/NLnetLabs/krill/releases/tag/v${version}"; + changelog = "https://github.com/NLnetLabs/krill/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ steamwalker ]; }; -} +}) diff --git a/pkgs/by-name/kt/kty/package.nix b/pkgs/by-name/kt/kty/package.nix index b236e3d0fdb4..24ab1c88550c 100644 --- a/pkgs/by-name/kt/kty/package.nix +++ b/pkgs/by-name/kt/kty/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kty"; version = "0.3.1"; src = fetchFromGitHub { owner = "grampelberg"; repo = "kty"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-E9PqWDBKYJFYOUNyjiK+AM2WULMiwupFWTOQlBH+6d4="; }; @@ -33,10 +33,10 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://kty.dev/"; - changelog = "https://github.com/grampelberg/kty/releases/tag/v${version}"; + changelog = "https://github.com/grampelberg/kty/releases/tag/v${finalAttrs.version}"; description = "Terminal for Kubernetes"; maintainers = with lib.maintainers; [ bot-wxt1221 ]; platforms = lib.platforms.unix; mainProgram = "kty"; }; -} +}) diff --git a/pkgs/by-name/ku/kubetui/package.nix b/pkgs/by-name/ku/kubetui/package.nix index f871c763ca8a..309c35d36cb9 100644 --- a/pkgs/by-name/ku/kubetui/package.nix +++ b/pkgs/by-name/ku/kubetui/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kubetui"; version = "1.12.0"; src = fetchFromGitHub { owner = "sarub0b0"; repo = "kubetui"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-KhO9MY1TIf27Wh10OhUsaxgFghSTwO8yJ/n9/a0cqzE="; }; @@ -23,11 +23,11 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://github.com/sarub0b0/kubetui"; - changelog = "https://github.com/sarub0b0/kubetui/releases/tag/v${version}"; + changelog = "https://github.com/sarub0b0/kubetui/releases/tag/v${finalAttrs.version}"; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ bot-wxt1221 ]; license = lib.licenses.mit; description = "Intuitive TUI tool for real-time monitoring and exploration of Kubernetes resources"; mainProgram = "kubetui"; }; -} +}) diff --git a/pkgs/by-name/ku/kubie/package.nix b/pkgs/by-name/ku/kubie/package.nix index 7297ab98e832..b3509df5fb58 100644 --- a/pkgs/by-name/ku/kubie/package.nix +++ b/pkgs/by-name/ku/kubie/package.nix @@ -7,12 +7,12 @@ makeWrapper, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kubie"; version = "0.26.1"; src = fetchFromGitHub { - rev = "v${version}"; + rev = "v${finalAttrs.version}"; owner = "sbstp"; repo = "kubie"; sha256 = "sha256-eSzNCH0MiGvLKHrSXFSXQq4lN5tfmr0NcuGaN96Invs="; @@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ zlib ]; maintainers = with lib.maintainers; [ illiusdope ]; }; -} +}) diff --git a/pkgs/by-name/kx/kx-aspe-cli/package.nix b/pkgs/by-name/kx/kx-aspe-cli/package.nix index 8fed9502499c..54ff953c63d4 100644 --- a/pkgs/by-name/kx/kx-aspe-cli/package.nix +++ b/pkgs/by-name/kx/kx-aspe-cli/package.nix @@ -6,7 +6,7 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "kx-aspe-cli"; version = "0-unstable-2024-04-06"; @@ -25,11 +25,11 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://codeberg.org/keyoxide/kx-aspe-cli"; - changelog = "https://codeberg.org/keyoxide/kx-aspe-cli/src/commit/${src.rev}/CHANGELOG.md"; + changelog = "https://codeberg.org/keyoxide/kx-aspe-cli/src/commit/${finalAttrs.src.rev}/CHANGELOG.md"; description = "Keyoxide profile generator CLI using ASPE"; mainProgram = "kx-aspe"; platforms = lib.platforms.linux; license = [ lib.licenses.asl20 ]; maintainers = [ lib.maintainers.nobbz ]; }; -} +}) diff --git a/pkgs/by-name/la/lalrpop/package.nix b/pkgs/by-name/la/lalrpop/package.nix index e701a79e5908..d95c30bfb6c1 100644 --- a/pkgs/by-name/la/lalrpop/package.nix +++ b/pkgs/by-name/la/lalrpop/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lalrpop"; version = "0.22.2"; src = fetchFromGitHub { owner = "lalrpop"; repo = "lalrpop"; - rev = version; + rev = finalAttrs.version; hash = "sha256-/mk4sTgwxBrB+LEBbWv4OQEEh2P2KVSh6v5ry9/Et4s="; }; @@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "LR(1) parser generator for Rust"; homepage = "https://github.com/lalrpop/lalrpop"; - changelog = "https://github.com/lalrpop/lalrpop/blob/${src.rev}/RELEASES.md"; + changelog = "https://github.com/lalrpop/lalrpop/blob/${finalAttrs.src.rev}/RELEASES.md"; license = with lib.licenses; [ asl20 # or mit @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "lalrpop"; maintainers = with lib.maintainers; [ chayleaf ]; }; -} +}) diff --git a/pkgs/by-name/la/languagetool-rust/package.nix b/pkgs/by-name/la/languagetool-rust/package.nix index fe61993f910e..64653dbfc52b 100644 --- a/pkgs/by-name/la/languagetool-rust/package.nix +++ b/pkgs/by-name/la/languagetool-rust/package.nix @@ -9,14 +9,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "languagetool-rust"; version = "3.0.1"; src = fetchFromGitHub { owner = "jeertmans"; repo = "languagetool-rust"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-zH93Pi/zVnCLo8O/1HnSTfUOu9vtzF3JSzn+1/1/Oz0="; }; @@ -94,4 +94,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ name-snrl ]; mainProgram = "ltrs"; }; -} +}) diff --git a/pkgs/by-name/la/lapce/package.nix b/pkgs/by-name/la/lapce/package.nix index 3741c9eaf2f1..f94a88f9bbb5 100644 --- a/pkgs/by-name/la/lapce/package.nix +++ b/pkgs/by-name/la/lapce/package.nix @@ -37,14 +37,14 @@ let wayland ]; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lapce"; version = "0.4.6"; src = fetchFromGitHub { owner = "lapce"; repo = "lapce"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-D5DEmMkCAkMiMMzYP8FoVIUeT2CDOepUWUlUqWSaUnM="; }; @@ -55,7 +55,7 @@ rustPlatform.buildRustPackage rec { OPENSSL_NO_VENDOR = 1; # This variable is read by build script, so that Lapce editor knows its version - RELEASE_TAG_NAME = "v${version}"; + RELEASE_TAG_NAME = "v${finalAttrs.version}"; }; postPatch = '' @@ -106,8 +106,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "Lightning-fast and Powerful Code Editor written in Rust"; homepage = "https://github.com/lapce/lapce"; - changelog = "https://github.com/lapce/lapce/releases/tag/v${version}"; + changelog = "https://github.com/lapce/lapce/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ asl20 ]; mainProgram = "lapce"; }; -} +}) diff --git a/pkgs/by-name/la/laurel/package.nix b/pkgs/by-name/la/laurel/package.nix index d6843da87fa4..b447cda81b80 100644 --- a/pkgs/by-name/la/laurel/package.nix +++ b/pkgs/by-name/la/laurel/package.nix @@ -5,14 +5,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "laurel"; version = "0.7.3"; src = fetchFromGitHub { owner = "threathunters-io"; repo = "laurel"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-4LIv9rdYTPPERgMT8mF6Ymdur9f4tzNkkkMHBePtAH0="; }; @@ -39,9 +39,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Transform Linux Audit logs for SIEM usage"; homepage = "https://github.com/threathunters-io/laurel"; - changelog = "https://github.com/threathunters-io/laurel/releases/tag/${src.tag}"; + changelog = "https://github.com/threathunters-io/laurel/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ emilylange ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/la/lazycli/package.nix b/pkgs/by-name/la/lazycli/package.nix index 63eef7024b0b..19c678b8fb2e 100644 --- a/pkgs/by-name/la/lazycli/package.nix +++ b/pkgs/by-name/la/lazycli/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lazycli"; version = "0.1.15"; src = fetchFromGitHub { owner = "jesseduffield"; repo = "lazycli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "1qq167hc7pp9l0m40ysphfljakmm8hjjnhpldvb0kbc825h0z8z5"; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "lazycli"; }; -} +}) diff --git a/pkgs/by-name/la/lazymc/package.nix b/pkgs/by-name/la/lazymc/package.nix index e16a56bb8597..d7f8309eec5a 100644 --- a/pkgs/by-name/la/lazymc/package.nix +++ b/pkgs/by-name/la/lazymc/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lazymc"; version = "0.2.11"; src = fetchFromGitHub { owner = "timvisee"; repo = "lazymc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-uMjM3w78qWnB/sNXRcxl30KJRm0I3BPEOr5IRU8FI0s="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; mainProgram = "lazymc"; }; -} +}) diff --git a/pkgs/by-name/ld/ldproxy/package.nix b/pkgs/by-name/ld/ldproxy/package.nix index d7020215b1aa..868b896a1e6e 100644 --- a/pkgs/by-name/ld/ldproxy/package.nix +++ b/pkgs/by-name/ld/ldproxy/package.nix @@ -4,7 +4,7 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ldproxy"; version = "0.31.4"; @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "esp-rs"; repo = "embuild"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-YH2CPb3uBlPncd+KkP25xhCVvDB7HDxJuSqWOJ1LT3k="; }; @@ -26,11 +26,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Linker Proxy: a simple tool to forward linker arguments to the actual linker executable"; homepage = "https://github.com/esp-rs/embuild"; - changelog = "https://github.com/esp-rs/embuild/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/esp-rs/embuild/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit # or asl20 ]; maintainers = with lib.maintainers; [ vpochapuis ]; }; -} +}) diff --git a/pkgs/by-name/le/leaf/package.nix b/pkgs/by-name/le/leaf/package.nix index d6b17c5151fb..19f3f83e45c0 100644 --- a/pkgs/by-name/le/leaf/package.nix +++ b/pkgs/by-name/le/leaf/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "leaf"; version = "0.2.0"; src = fetchFromGitHub { owner = "IogaMaster"; repo = "leaf"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-y0NO9YcOO7T7Cqc+/WeactwBAkeUqdCca87afOlO1Bk="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "leaf"; }; -} +}) diff --git a/pkgs/by-name/le/leftwm/package.nix b/pkgs/by-name/le/leftwm/package.nix index 92e9fb6bd7c7..d7e7eaef360f 100644 --- a/pkgs/by-name/le/leftwm/package.nix +++ b/pkgs/by-name/le/leftwm/package.nix @@ -13,14 +13,14 @@ let ]; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "leftwm"; version = "0.5.4"; src = fetchFromGitHub { owner = "leftwm"; repo = "leftwm"; - tag = version; + tag = finalAttrs.version; hash = "sha256-eH7HuGZnWlXigTaUAc4S00+uOIEVftnBOD8x03KJLaE="; }; @@ -47,7 +47,7 @@ rustPlatform.buildRustPackage rec { vuimuich yanganto ]; - changelog = "https://github.com/leftwm/leftwm/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/leftwm/leftwm/blob/${finalAttrs.version}/CHANGELOG.md"; mainProgram = "leftwm"; }; -} +}) diff --git a/pkgs/by-name/le/legba/package.nix b/pkgs/by-name/le/legba/package.nix index a5f9f49d3340..e5728e7bc4be 100644 --- a/pkgs/by-name/le/legba/package.nix +++ b/pkgs/by-name/le/legba/package.nix @@ -8,14 +8,14 @@ samba, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "legba"; version = "0.11.0"; src = fetchFromGitHub { owner = "evilsocket"; repo = "legba"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-iynUReIWebfBkmWxbajsKbdfWSy+fzqF3NNssjtshYY="; }; @@ -36,9 +36,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Multiprotocol credentials bruteforcer / password sprayer and enumerator"; homepage = "https://github.com/evilsocket/legba"; - changelog = "https://github.com/evilsocket/legba/releases/tag/v${version}"; + changelog = "https://github.com/evilsocket/legba/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ mikaelfangel ]; mainProgram = "legba"; }; -} +}) diff --git a/pkgs/by-name/le/lemmy-help/package.nix b/pkgs/by-name/le/lemmy-help/package.nix index 1fe3ac92e848..88fcb34d5ddb 100644 --- a/pkgs/by-name/le/lemmy-help/package.nix +++ b/pkgs/by-name/le/lemmy-help/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lemmy-help"; version = "0.11.0"; src = fetchFromGitHub { owner = "numToStr"; repo = "lemmy-help"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-HcIvHuuzQj4HsRJyn1A9nXiGDGAcz1nqTsC7sROt7OI="; }; @@ -25,9 +25,9 @@ rustPlatform.buildRustPackage rec { `lemmy-help` is an emmylua parser as well as a CLI which takes that parsed tree and converts it into vim help docs. ''; homepage = "https://github.com/numToStr/lemmy-help"; - changelog = "https://github.com/numToStr/lemmy-help/releases/tag/v${version}"; + changelog = "https://github.com/numToStr/lemmy-help/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ mit ]; maintainers = [ ]; mainProgram = "lemmy-help"; }; -} +}) diff --git a/pkgs/by-name/le/lemurs/package.nix b/pkgs/by-name/le/lemurs/package.nix index 80f884e49a31..c0bdeb48b0e1 100644 --- a/pkgs/by-name/le/lemurs/package.nix +++ b/pkgs/by-name/le/lemurs/package.nix @@ -8,14 +8,14 @@ versionCheckHook, nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lemurs"; version = "0.4.0"; src = fetchFromGitHub { owner = "coastalwhite"; repo = "lemurs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-dtAmgzsUhn3AfafWbCaaog0S1teIy+8eYtaHBhvLfLI="; }; @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "lemurs"; }; -} +}) diff --git a/pkgs/by-name/le/leptosfmt/package.nix b/pkgs/by-name/le/leptosfmt/package.nix index 0114bb8ea103..1bfaf651f37f 100644 --- a/pkgs/by-name/le/leptosfmt/package.nix +++ b/pkgs/by-name/le/leptosfmt/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "leptosfmt"; version = "0.1.33"; src = fetchFromGitHub { owner = "bram209"; repo = "leptosfmt"; - tag = version; + tag = finalAttrs.version; hash = "sha256-+trLQFU8oP45xHQ3DsEESQzQX2WpvQcfpgGC9o5ITcY="; fetchSubmodules = true; }; @@ -22,11 +22,11 @@ rustPlatform.buildRustPackage rec { description = "Formatter for the leptos view! macro"; mainProgram = "leptosfmt"; homepage = "https://github.com/bram209/leptosfmt"; - changelog = "https://github.com/bram209/leptosfmt/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/bram209/leptosfmt/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/le/lethe/package.nix b/pkgs/by-name/le/lethe/package.nix index bf25f9739b3f..73e11acde134 100644 --- a/pkgs/by-name/le/lethe/package.nix +++ b/pkgs/by-name/le/lethe/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lethe"; version = "0.8.2"; src = fetchFromGitHub { owner = "kostassoid"; repo = "lethe"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-y2D/80pnpYpTl+q9COTQkvtj9lzBlOWuMcnn5WFnX8E="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ fab ]; mainProgram = "lethe"; }; -} +}) diff --git a/pkgs/by-name/li/lianad/package.nix b/pkgs/by-name/li/lianad/package.nix index 287aa8a613be..14a62f6a0d88 100644 --- a/pkgs/by-name/li/lianad/package.nix +++ b/pkgs/by-name/li/lianad/package.nix @@ -6,14 +6,14 @@ udev, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lianad"; version = "13.1"; # keep in sync with liana src = fetchFromGitHub { owner = "wizardsardine"; repo = "liana"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-WrVvirqcseUZbuDHlABw6sFgdohbv/JQ/RB4j2hO+QQ="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; broken = stdenv.hostPlatform.isAarch64; }; -} +}) diff --git a/pkgs/by-name/li/libdovi/package.nix b/pkgs/by-name/li/libdovi/package.nix index b1994d4d18dd..f2e13c03c5c2 100644 --- a/pkgs/by-name/li/libdovi/package.nix +++ b/pkgs/by-name/li/libdovi/package.nix @@ -7,13 +7,13 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "libdovi"; version = "3.3.1"; src = fetchCrate { pname = "dolby_vision"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-ecd+r0JWZtP/rxt4Y3Cj2TkygXIMy5KZhZpXBwJNPx4="; }; @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/li/libetebase/package.nix b/pkgs/by-name/li/libetebase/package.nix index 33e0c6d8a4ce..247ca10c3b7d 100644 --- a/pkgs/by-name/li/libetebase/package.nix +++ b/pkgs/by-name/li/libetebase/package.nix @@ -8,14 +8,14 @@ testers, libetebase, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "libetebase"; version = "0.5.8"; src = fetchFromGitHub { owner = "etesync"; repo = "libetebase"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-B+MfnYbxIbgMHFWWOYhap1MEbV3/NNYuR9goJDTNn9A="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ laalsaas ]; pkgConfigModules = [ "etebase" ]; }; -} +}) diff --git a/pkgs/by-name/li/libimagequant/package.nix b/pkgs/by-name/li/libimagequant/package.nix index 75f8a26aa77c..d9920927a8ce 100644 --- a/pkgs/by-name/li/libimagequant/package.nix +++ b/pkgs/by-name/li/libimagequant/package.nix @@ -13,14 +13,14 @@ libimagequant, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "libimagequant"; version = "4.4.1"; src = fetchFromGitHub { owner = "ImageOptim"; repo = "libimagequant"; - rev = version; + rev = finalAttrs.version; hash = "sha256-A7idjAAJ+syqIahyU+LPZBF+MLxVDymY+M3HM7d/qk0="; }; @@ -65,4 +65,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ ma9e ]; }; -} +}) diff --git a/pkgs/by-name/li/librespeed-rust/package.nix b/pkgs/by-name/li/librespeed-rust/package.nix index 69d0417a1782..bf72926255ed 100644 --- a/pkgs/by-name/li/librespeed-rust/package.nix +++ b/pkgs/by-name/li/librespeed-rust/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "librespeed-rust"; version = "1.3.8"; src = fetchFromGitHub { owner = "librespeed"; repo = "speedtest-rust"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-TINIKZefT4ngnEtlMjxO56PrQxW5gyb1+higiSnkE3Q="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ SuperSandro2000 ]; mainProgram = "librespeed-rs"; }; -} +}) diff --git a/pkgs/by-name/li/libsignal-ffi/package.nix b/pkgs/by-name/li/libsignal-ffi/package.nix index a9fabb98beb8..5776b96aed81 100644 --- a/pkgs/by-name/li/libsignal-ffi/package.nix +++ b/pkgs/by-name/li/libsignal-ffi/package.nix @@ -17,7 +17,7 @@ let ln -s ${boringssl.dev}/include include ''; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "libsignal-ffi"; # must match the version used in mautrix-signal # see https://github.com/mautrix/signal/issues/401 @@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec { fetchSubmodules = true; owner = "signalapp"; repo = "libsignal"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-XVq1fvhUF0WqSs1lJRCBRuhOW4idY6Nm21UdX4/6TE8="; }; @@ -56,4 +56,4 @@ rustPlatform.buildRustPackage rec { SchweGELBin ]; }; -} +}) diff --git a/pkgs/by-name/li/license-cli/package.nix b/pkgs/by-name/li/license-cli/package.nix index 2cc73878ef67..b73874bb0efb 100644 --- a/pkgs/by-name/li/license-cli/package.nix +++ b/pkgs/by-name/li/license-cli/package.nix @@ -12,14 +12,14 @@ xclip, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "license-cli"; version = "3.1.0"; src = fetchFromSourcehut { owner = "~zethra"; repo = "license"; - rev = version; + rev = finalAttrs.version; hash = "sha256-OGS26mE5rjxlZOaBWhYc7C8aM3Lq2xX0f31LgckjJF8="; }; @@ -62,4 +62,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "license"; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/li/licensure/package.nix b/pkgs/by-name/li/licensure/package.nix index 41fc7d10612e..f720d5561717 100644 --- a/pkgs/by-name/li/licensure/package.nix +++ b/pkgs/by-name/li/licensure/package.nix @@ -7,14 +7,14 @@ git, gitls, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "licensure"; version = "0.8.0"; src = fetchFromGitHub { owner = "chasinglogic"; repo = "licensure"; - rev = version; + rev = finalAttrs.version; hash = "sha256-3kZzYDKMLRdYzxa9+wVeTFJk186MJZfGfzRXgY9tI4Y="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.bpeetz ]; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; -} +}) diff --git a/pkgs/by-name/li/lighthouse-steamvr/package.nix b/pkgs/by-name/li/lighthouse-steamvr/package.nix index cb9ae9b98d84..fa11ee8d3136 100644 --- a/pkgs/by-name/li/lighthouse-steamvr/package.nix +++ b/pkgs/by-name/li/lighthouse-steamvr/package.nix @@ -6,14 +6,14 @@ dbus, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "Lighthouse"; version = "1.4.0"; src = fetchFromGitHub { owner = "ShayBox"; repo = "Lighthouse"; - rev = version; + rev = finalAttrs.version; hash = "sha256-Ai+d7BKA1o98iOhQ7VXltnWHW/knw122xLZHhFM6gZ0="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ bddvlpr ]; mainProgram = "lighthouse"; }; -} +}) diff --git a/pkgs/by-name/li/listenbrainz-mpd/package.nix b/pkgs/by-name/li/listenbrainz-mpd/package.nix index d35f933bac25..53a3e91947be 100644 --- a/pkgs/by-name/li/listenbrainz-mpd/package.nix +++ b/pkgs/by-name/li/listenbrainz-mpd/package.nix @@ -11,14 +11,14 @@ asciidoctor, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "listenbrainz-mpd"; version = "2.3.9"; src = fetchFromCodeberg { owner = "elomatreb"; repo = "listenbrainz-mpd"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-j9MlvE2upocwC5xxroms3am6tqJX30sSw7PFNw8Ofog="; }; @@ -63,10 +63,10 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://codeberg.org/elomatreb/listenbrainz-mpd"; - changelog = "https://codeberg.org/elomatreb/listenbrainz-mpd/src/tag/v${version}/CHANGELOG.md"; + changelog = "https://codeberg.org/elomatreb/listenbrainz-mpd/src/tag/v${finalAttrs.version}/CHANGELOG.md"; description = "ListenBrainz submission client for MPD"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ DeeUnderscore ]; mainProgram = "listenbrainz-mpd"; }; -} +}) diff --git a/pkgs/by-name/li/little_boxes/package.nix b/pkgs/by-name/li/little_boxes/package.nix index 9c39f1ad3abd..35d1aaa1c420 100644 --- a/pkgs/by-name/li/little_boxes/package.nix +++ b/pkgs/by-name/li/little_boxes/package.nix @@ -7,14 +7,14 @@ little_boxes, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "little_boxes"; version = "1.10.0"; src = fetchFromGitHub { owner = "giodamelio"; repo = "little_boxes"; - rev = version; + rev = finalAttrs.version; hash = "sha256-Quh09K5meiA39ih/orJWF2WfkuZdymxub1dZvns/q3E="; }; @@ -55,4 +55,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ giodamelio ]; mainProgram = "little_boxes"; }; -} +}) diff --git a/pkgs/by-name/ll/lls/package.nix b/pkgs/by-name/ll/lls/package.nix index b0630b0f83b5..4ea6e913a363 100644 --- a/pkgs/by-name/ll/lls/package.nix +++ b/pkgs/by-name/ll/lls/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lls"; version = "0.4.2"; src = fetchFromGitHub { owner = "jcaesar"; repo = "lls"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-eFGyrGtH57a5iRWHWqt1h58QMdmPf2rPqHnuVj5u6PQ="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/jcaesar/lls"; mainProgram = "lls"; }; -} +}) diff --git a/pkgs/by-name/lo/lobtui/package.nix b/pkgs/by-name/lo/lobtui/package.nix index 67c8d974d7ca..0f1c81d297ff 100644 --- a/pkgs/by-name/lo/lobtui/package.nix +++ b/pkgs/by-name/lo/lobtui/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lobtui"; version = "0.3.1"; src = fetchFromGitHub { owner = "pythops"; repo = "lobtui"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Ig/KdCuQZYSiCydouN29IsIRKh8qngtzcOknTozDRRM="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "lobtui"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/lo/lockbook-desktop/package.nix b/pkgs/by-name/lo/lockbook-desktop/package.nix index 19e2ec240c48..458c9c25f3f9 100644 --- a/pkgs/by-name/lo/lockbook-desktop/package.nix +++ b/pkgs/by-name/lo/lockbook-desktop/package.nix @@ -16,14 +16,14 @@ let desc = "Private, polished note-taking platform"; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lockbook-desktop"; version = "26.1.31"; src = fetchFromGitHub { owner = "lockbook"; repo = "lockbook"; - tag = version; + tag = finalAttrs.version; hash = "sha256-Bx84e5/foF4XxRZJve0YhiikZJa3mqxOHuk9bsPxjag="; }; @@ -83,7 +83,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://lockbook.net"; license = lib.licenses.unlicense; platforms = lib.platforms.linux; - changelog = "https://github.com/lockbook/lockbook/releases/tag/${version}"; + changelog = "https://github.com/lockbook/lockbook/releases/tag/${finalAttrs.version}"; maintainers = [ lib.maintainers.parth ]; }; -} +}) diff --git a/pkgs/by-name/lo/lockbook/package.nix b/pkgs/by-name/lo/lockbook/package.nix index 6feb02cac86f..60d5ea168ae3 100644 --- a/pkgs/by-name/lo/lockbook/package.nix +++ b/pkgs/by-name/lo/lockbook/package.nix @@ -10,14 +10,14 @@ let inherit (stdenv.hostPlatform) isLinux; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lockbook"; version = "26.1.31"; src = fetchFromGitHub { owner = "lockbook"; repo = "lockbook"; - tag = version; + tag = finalAttrs.version; hash = "sha256-Bx84e5/foF4XxRZJve0YhiikZJa3mqxOHuk9bsPxjag="; }; @@ -60,4 +60,4 @@ rustPlatform.buildRustPackage rec { changelog = "https://github.com/lockbook/lockbook/releases"; maintainers = [ lib.maintainers.parth ]; }; -} +}) diff --git a/pkgs/by-name/lo/lon/package.nix b/pkgs/by-name/lo/lon/package.nix index 2db206828587..7d80dd211932 100644 --- a/pkgs/by-name/lo/lon/package.nix +++ b/pkgs/by-name/lo/lon/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lon"; version = "0.8.0"; src = fetchFromGitHub { owner = "nikstur"; repo = "lon"; - tag = version; + tag = finalAttrs.version; hash = "sha256-bxu83mbdfAeDZYOnjZQYyjTs5WgZS8o6Q2irlzgbYs0="; }; @@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Lock & update Nix dependencies"; homepage = "https://github.com/nikstur/lon"; - changelog = "https://github.com/nikstur/lon/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/nikstur/lon/blob/${finalAttrs.version}/CHANGELOG.md"; maintainers = with lib.maintainers; [ ma27 nikstur @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; mainProgram = "lon"; }; -} +}) diff --git a/pkgs/by-name/lo/lowfi/package.nix b/pkgs/by-name/lo/lowfi/package.nix index 3c9141b2ff7b..5c3d2d6076f8 100644 --- a/pkgs/by-name/lo/lowfi/package.nix +++ b/pkgs/by-name/lo/lowfi/package.nix @@ -8,14 +8,14 @@ alsa-lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lowfi"; version = "2.0.2"; src = fetchFromGitHub { owner = "talwat"; repo = "lowfi"; - tag = version; + tag = finalAttrs.version; hash = "sha256-RSdfZ0GrNhPcqDWutJW0VlplbpBNBCpSvw91fpl0d4E="; }; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ zsenai ]; mainProgram = "lowfi"; }; -} +}) diff --git a/pkgs/by-name/ls/lsd/package.nix b/pkgs/by-name/ls/lsd/package.nix index 709f7e0ab0e5..1a7a72cdf9ec 100644 --- a/pkgs/by-name/ls/lsd/package.nix +++ b/pkgs/by-name/ls/lsd/package.nix @@ -9,14 +9,14 @@ git, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lsd"; version = "1.2.0"; src = fetchFromGitHub { owner = "lsd-rs"; repo = "lsd"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-BDwptBRGy2IGc3FrgFZ1rt/e1bpKs1Y0C3H4JfqRqHc="; }; @@ -51,4 +51,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "lsd"; }; -} +}) diff --git a/pkgs/by-name/ls/lsfg-vk-ui/package.nix b/pkgs/by-name/ls/lsfg-vk-ui/package.nix index e40795eaf525..a225fc51b5ab 100644 --- a/pkgs/by-name/ls/lsfg-vk-ui/package.nix +++ b/pkgs/by-name/ls/lsfg-vk-ui/package.nix @@ -10,14 +10,14 @@ libadwaita, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lsfg-vk-ui"; version = "1.0.0"; src = fetchFromGitHub { owner = "PancakeTAS"; repo = "lsfg-vk"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-nIyVOil/gHC+5a+sH3vMlcqVhixjJaGWqXbyoh2Nqyw="; }; @@ -45,10 +45,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Graphical configuration interface for lsfg-vk"; homepage = "https://github.com/PancakeTAS/lsfg-vk/"; - changelog = "https://github.com/PancakeTAS/lsfg-vk/releases/tag/${src.tag}"; + changelog = "https://github.com/PancakeTAS/lsfg-vk/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ pabloaul ]; mainProgram = "lsfg-vk-ui"; }; -} +}) diff --git a/pkgs/by-name/ls/lsp-ai/package.nix b/pkgs/by-name/ls/lsp-ai/package.nix index f6027464ee93..85ab9766bfb9 100644 --- a/pkgs/by-name/ls/lsp-ai/package.nix +++ b/pkgs/by-name/ls/lsp-ai/package.nix @@ -11,13 +11,13 @@ gitUpdater, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lsp-ai"; version = "0.7.1"; src = fetchFromGitHub { owner = "SilasMarvin"; repo = "lsp-ai"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-mBbaJn4u+Wlu/Y4G4a6YUBWnmN143INAGm0opiAjnIk="; }; @@ -75,8 +75,8 @@ rustPlatform.buildRustPackage rec { description = "Open-source language server that serves as a backend for AI-powered functionality"; homepage = "https://github.com/SilasMarvin/lsp-ai"; mainProgram = "lsp-ai"; - changelog = "https://github.com/SilasMarvin/lsp-ai/releases/v${version}"; + changelog = "https://github.com/SilasMarvin/lsp-ai/releases/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ projectinitiative ]; }; -} +}) diff --git a/pkgs/by-name/lu/lucida-downloader/package.nix b/pkgs/by-name/lu/lucida-downloader/package.nix index 004bd0d91690..a109c88b458e 100644 --- a/pkgs/by-name/lu/lucida-downloader/package.nix +++ b/pkgs/by-name/lu/lucida-downloader/package.nix @@ -5,14 +5,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lucida-downloader"; version = "0.7.0"; src = fetchFromGitHub { owner = "jelni"; repo = "lucida-downloader"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-f5cegAucJSiRekTAZBkrdn0HoEELvINN6Rd5Ehb7InA="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { surfaceflinger ]; }; -} +}) diff --git a/pkgs/by-name/lu/ludtwig/package.nix b/pkgs/by-name/lu/ludtwig/package.nix index c16097ef05b6..a227bf43aa58 100644 --- a/pkgs/by-name/lu/ludtwig/package.nix +++ b/pkgs/by-name/lu/ludtwig/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ludtwig"; version = "0.11.0"; src = fetchFromGitHub { owner = "MalteJanz"; repo = "ludtwig"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-V0T+yinjTVkAXA604bfEGDzpCd0saNt5S71XFaFqdxg="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "ludtwig"; }; -} +}) diff --git a/pkgs/by-name/lu/luminous-ttv/package.nix b/pkgs/by-name/lu/luminous-ttv/package.nix index c1d169e0668d..3fc2a6e8b461 100644 --- a/pkgs/by-name/lu/luminous-ttv/package.nix +++ b/pkgs/by-name/lu/luminous-ttv/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "luminous-ttv"; version = "0.5.12"; src = fetchFromGitHub { owner = "AlyoshaVasilieva"; repo = "luminous-ttv"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-uTfbFSK7vwt+zLWN5EdudPnmJvg5F4U8Zx6CLV8fePc="; }; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { description = "Rust server to retrieve and relay a playlist for Twitch livestreams/VODs"; homepage = "https://github.com/AlyoshaVasilieva/luminous-ttv"; downloadPage = "https://github.com/AlyoshaVasilieva/luminous-ttv/releases/latest"; - changelog = "https://github.com/AlyoshaVasilieva/luminous-ttv/releases/tag/v${version}"; + changelog = "https://github.com/AlyoshaVasilieva/luminous-ttv/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ gpl3Only mit @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "luminous-ttv"; maintainers = with lib.maintainers; [ alex ]; }; -} +}) diff --git a/pkgs/by-name/lu/lutgen-studio/package.nix b/pkgs/by-name/lu/lutgen-studio/package.nix index da2c379170d5..f8f2ae503ad9 100644 --- a/pkgs/by-name/lu/lutgen-studio/package.nix +++ b/pkgs/by-name/lu/lutgen-studio/package.nix @@ -17,14 +17,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lutgen-studio"; version = "0.3.0"; src = fetchFromGitHub { owner = "ozwaldorf"; repo = "lutgen-rs"; - tag = "lutgen-studio-v${version}"; + tag = "lutgen-studio-v${finalAttrs.version}"; hash = "sha256-ENhaJTbaAv52YFNjce9Ln/LQvP/Nw2Tk5eMmr8mKwQ0="; }; @@ -72,4 +72,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "lutgen-studio"; license = lib.licenses.mit; }; -} +}) diff --git a/pkgs/by-name/lu/lutgen/package.nix b/pkgs/by-name/lu/lutgen/package.nix index 16dd84d2e207..8cc454179034 100644 --- a/pkgs/by-name/lu/lutgen/package.nix +++ b/pkgs/by-name/lu/lutgen/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lutgen"; version = "1.0.1"; src = fetchFromGitHub { owner = "ozwaldorf"; repo = "lutgen-rs"; - tag = "lutgen-v${version}"; + tag = "lutgen-v${finalAttrs.version}"; hash = "sha256-ENhaJTbaAv52YFNjce9Ln/LQvP/Nw2Tk5eMmr8mKwQ0="; }; @@ -54,4 +54,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "lutgen"; license = lib.licenses.mit; }; -} +}) diff --git a/pkgs/by-name/ly/lychee/package.nix b/pkgs/by-name/ly/lychee/package.nix index c646a40a592f..b331682bf512 100644 --- a/pkgs/by-name/ly/lychee/package.nix +++ b/pkgs/by-name/ly/lychee/package.nix @@ -15,14 +15,14 @@ let canRun = stdenv.hostPlatform.emulatorAvailable buildPackages; lychee = "${stdenv.hostPlatform.emulator buildPackages} $out/bin/lychee${stdenv.hostPlatform.extensions.executable}"; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lychee"; version = "0.22.0-unstable-2025-12-05"; src = fetchFromGitHub { owner = "lycheeverse"; repo = "lychee"; - # tag = "lychee-v${version}"; # use again with next release + # tag = "lychee-v${finalAttrs.version}"; # use again with next release rev = "db0f8a842f594e0a879563caf7d183266c02ca95"; # one revision after 0.22.0 leaveDotGit = true; postFetch = '' @@ -88,7 +88,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Fast, async, stream-based link checker written in Rust"; homepage = "https://github.com/lycheeverse/lychee"; - downloadPage = "https://github.com/lycheeverse/lychee/releases/tag/lychee-v${version}"; + downloadPage = "https://github.com/lycheeverse/lychee/releases/tag/lychee-v${finalAttrs.version}"; license = with lib.licenses; [ asl20 mit @@ -99,4 +99,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "lychee"; }; -} +}) diff --git a/pkgs/by-name/ma/maa-cli/package.nix b/pkgs/by-name/ma/maa-cli/package.nix index 25cfeb2b2d51..a7840ef67d0a 100644 --- a/pkgs/by-name/ma/maa-cli/package.nix +++ b/pkgs/by-name/ma/maa-cli/package.nix @@ -12,14 +12,14 @@ git, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "maa-cli"; version = "0.5.9"; src = fetchFromGitHub { owner = "MaaAssistantArknights"; repo = "maa-cli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-TLm8B1cQ00l9aRADYU3Qv7nA04kDaxsXX86qvsTRWwk="; }; @@ -73,4 +73,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ Cryolitia ]; mainProgram = "maa"; }; -} +}) diff --git a/pkgs/by-name/ma/macchina/package.nix b/pkgs/by-name/ma/macchina/package.nix index c8c231f2afe1..22a5f591bc70 100644 --- a/pkgs/by-name/ma/macchina/package.nix +++ b/pkgs/by-name/ma/macchina/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "macchina"; version = "6.4.0"; src = fetchFromGitHub { owner = "Macchina-CLI"; repo = "macchina"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-GZO9xGc3KGdq2WdA10m/XV8cNAlQjUZFUVu1CzidJ5c="; }; @@ -29,11 +29,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Fast, minimal and customizable system information fetcher"; homepage = "https://github.com/Macchina-CLI/macchina"; - changelog = "https://github.com/Macchina-CLI/macchina/releases/tag/v${version}"; + changelog = "https://github.com/Macchina-CLI/macchina/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ _414owen ]; mainProgram = "macchina"; }; -} +}) diff --git a/pkgs/by-name/ma/magic-wormhole-rs/package.nix b/pkgs/by-name/ma/magic-wormhole-rs/package.nix index da6a14ad69b6..fe289453938e 100644 --- a/pkgs/by-name/ma/magic-wormhole-rs/package.nix +++ b/pkgs/by-name/ma/magic-wormhole-rs/package.nix @@ -6,14 +6,14 @@ libxcb, installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "magic-wormhole-rs"; version = "0.7.6"; src = fetchFromGitHub { owner = "magic-wormhole"; repo = "magic-wormhole.rs"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-01u1DJNd/06q9dH/Y4E5kj5gb2CA7EKdoPtMhzCLtso="; }; @@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Rust implementation of Magic Wormhole, with new features and enhancements"; homepage = "https://github.com/magic-wormhole/magic-wormhole.rs"; - changelog = "https://github.com/magic-wormhole/magic-wormhole.rs/raw/${version}/changelog.md"; + changelog = "https://github.com/magic-wormhole/magic-wormhole.rs/raw/${finalAttrs.version}/changelog.md"; license = lib.licenses.eupl12; maintainers = with lib.maintainers; [ zeri @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "wormhole-rs"; }; -} +}) diff --git a/pkgs/by-name/ma/maker-panel/package.nix b/pkgs/by-name/ma/maker-panel/package.nix index d14487d58832..8d6d830396e0 100644 --- a/pkgs/by-name/ma/maker-panel/package.nix +++ b/pkgs/by-name/ma/maker-panel/package.nix @@ -6,14 +6,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "maker-panel"; version = "0.12.4"; src = fetchFromGitHub { owner = "twitchyliquid64"; repo = "maker-panel"; - rev = version; + rev = finalAttrs.version; sha256 = "0dlsy0c46781sb652kp80pvga7pzx6xla64axir92fcgg8k803bi"; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ma/makima/package.nix b/pkgs/by-name/ma/makima/package.nix index c6740d3b950b..2434ab0a73d9 100644 --- a/pkgs/by-name/ma/makima/package.nix +++ b/pkgs/by-name/ma/makima/package.nix @@ -6,14 +6,14 @@ udev, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "makima"; version = "0.10.3"; src = fetchFromGitHub { owner = "cyber-sushi"; repo = "makima"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-/+m6nWvZg5q3rPAu80xXImISmLzTpXiugu1m3M8QupQ="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "makima"; }; -} +}) diff --git a/pkgs/by-name/ma/managarr/package.nix b/pkgs/by-name/ma/managarr/package.nix index 57ec28186952..fe3098c039ee 100644 --- a/pkgs/by-name/ma/managarr/package.nix +++ b/pkgs/by-name/ma/managarr/package.nix @@ -5,14 +5,14 @@ perl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "managarr"; version = "0.7.1"; src = fetchFromGitHub { owner = "Dark-Alex-17"; repo = "managarr"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-bKW67cpLbnBxF5gbpwfCNe2QkxKYvooWEM3yKrbj7Q8="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "managarr"; }; -} +}) diff --git a/pkgs/by-name/ma/manix/package.nix b/pkgs/by-name/ma/manix/package.nix index 7ab2000cd291..b9ecc5730be3 100644 --- a/pkgs/by-name/ma/manix/package.nix +++ b/pkgs/by-name/ma/manix/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "manix"; version = "0.8.0"; src = fetchFromGitHub { owner = "nix-community"; repo = "manix"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-b/3NvY+puffiQFCQuhRMe81x2wm3vR01MR3iwe/gJkw="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "manix"; }; -} +}) diff --git a/pkgs/by-name/ma/markdown2html-converter/package.nix b/pkgs/by-name/ma/markdown2html-converter/package.nix index 051e6ab1f450..58591715191a 100644 --- a/pkgs/by-name/ma/markdown2html-converter/package.nix +++ b/pkgs/by-name/ma/markdown2html-converter/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "markdown2html-converter"; version = "1.1.12"; src = fetchFromGitHub { owner = "magiclen"; repo = "markdown2html-converter"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-C35TCmcskhK3sHbkUp3kEaTA4P7Ls5Rn6ahUbzy7KXY="; }; @@ -22,11 +22,11 @@ rustPlatform.buildRustPackage rec { ''; meta = { - changelog = "https://github.com/magiclen/markdown2html-converter/releases/tag/v${version}"; + changelog = "https://github.com/magiclen/markdown2html-converter/releases/tag/v${finalAttrs.version}"; description = "Tool for converting a Markdown file to a single HTML file with built-in CSS and JS"; homepage = "https://github.com/magiclen/markdown2html-converter"; license = lib.licenses.mit; mainProgram = "markdown2html-converter"; maintainers = with lib.maintainers; [ tomasajt ]; }; -} +}) diff --git a/pkgs/by-name/ma/matrix-commander-rs/package.nix b/pkgs/by-name/ma/matrix-commander-rs/package.nix index 3a0eec123a1e..bb999e21e94c 100644 --- a/pkgs/by-name/ma/matrix-commander-rs/package.nix +++ b/pkgs/by-name/ma/matrix-commander-rs/package.nix @@ -7,14 +7,14 @@ perl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "matrix-commander-rs"; version = "1.0.0"; src = fetchFromGitHub { owner = "8go"; repo = "matrix-commander-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-CvsMRxB5s891cVu03RroTQYOGA6rmhpif8VT0njXTnc="; }; @@ -30,9 +30,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI-based Matrix client app for sending and receiving"; homepage = "https://github.com/8go/matrix-commander-rs"; - changelog = "https://github.com/8go/matrix-commander-rs/releases/tag/v${version}"; + changelog = "https://github.com/8go/matrix-commander-rs/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ fab ]; mainProgram = "matrix-commander-rs"; }; -} +}) diff --git a/pkgs/by-name/ma/matugen/package.nix b/pkgs/by-name/ma/matugen/package.nix index 4e94c276350d..cb03c977b799 100644 --- a/pkgs/by-name/ma/matugen/package.nix +++ b/pkgs/by-name/ma/matugen/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "matugen"; version = "3.1.0"; src = fetchFromGitHub { owner = "InioX"; repo = "matugen"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-TD9XyqFdLIOLRZM7ozQ8gz4PyEQbLGLxB4MbzjLccg4="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Material you color generation tool"; homepage = "https://github.com/InioX/matugen"; - changelog = "https://github.com/InioX/matugen/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/InioX/matugen/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ lampros ]; mainProgram = "matugen"; }; -} +}) diff --git a/pkgs/by-name/mc/mcfly-fzf/package.nix b/pkgs/by-name/mc/mcfly-fzf/package.nix index 565aacb572d9..d6194c5cd7c6 100644 --- a/pkgs/by-name/mc/mcfly-fzf/package.nix +++ b/pkgs/by-name/mc/mcfly-fzf/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mcfly-fzf"; version = "0.1.3"; src = fetchFromGitHub { owner = "bnprks"; repo = "mcfly-fzf"; - rev = version; + rev = finalAttrs.version; hash = "sha256-ZdsbkN+/NLA0vor6/eEdAI7V5m5GEi+phcJQ89Jp4fk="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.simonhammes ]; mainProgram = "mcfly-fzf"; }; -} +}) diff --git a/pkgs/by-name/mc/mcfly/package.nix b/pkgs/by-name/mc/mcfly/package.nix index e12b1674bf17..86be40333611 100644 --- a/pkgs/by-name/mc/mcfly/package.nix +++ b/pkgs/by-name/mc/mcfly/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mcfly"; version = "0.9.3"; src = fetchFromGitHub { owner = "cantino"; repo = "mcfly"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-eRuMsUN5zRWsM5BqYHI9iSfoHHMu5ugZDjeDc1GGQL8="; }; @@ -26,9 +26,9 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://github.com/cantino/mcfly"; description = "Upgraded ctrl-r where history results make sense for what you're working on right now"; - changelog = "https://github.com/cantino/mcfly/raw/v${version}/CHANGELOG.txt"; + changelog = "https://github.com/cantino/mcfly/raw/v${finalAttrs.version}/CHANGELOG.txt"; license = lib.licenses.mit; maintainers = [ lib.maintainers.melkor333 ]; mainProgram = "mcfly"; }; -} +}) diff --git a/pkgs/by-name/mc/mchprs/package.nix b/pkgs/by-name/mc/mchprs/package.nix index e29e67a2c08b..e12ee74ab4f5 100644 --- a/pkgs/by-name/mc/mchprs/package.nix +++ b/pkgs/by-name/mc/mchprs/package.nix @@ -8,14 +8,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mchprs"; version = "0.5.1"; src = fetchFromGitHub { owner = "MCHPR"; repo = "MCHPRS"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Jm9ZsqCKOIxZsXQbCluYu7MgOD7hXYljcv/URaNVUW0="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ gdd ]; }; -} +}) diff --git a/pkgs/by-name/mc/mcumgr-client/package.nix b/pkgs/by-name/mc/mcumgr-client/package.nix index ef88b18b2538..9d8ab123571a 100644 --- a/pkgs/by-name/mc/mcumgr-client/package.nix +++ b/pkgs/by-name/mc/mcumgr-client/package.nix @@ -8,14 +8,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mcumgr-client"; version = "0.0.7"; src = fetchFromGitHub { owner = "vouch-opensource"; repo = "mcumgr-client"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-P5ykIVdWAxuCblMe7kzjswEca/+MsqpizCGUHIpR4qc="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ otavio ]; mainProgram = "mcumgr-client"; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-admonish/package.nix b/pkgs/by-name/md/mdbook-admonish/package.nix index abe6a2877701..24b5cea2b9cc 100644 --- a/pkgs/by-name/md/mdbook-admonish/package.nix +++ b/pkgs/by-name/md/mdbook-admonish/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-admonish"; version = "1.20.0"; src = fetchFromGitHub { owner = "tommilligan"; repo = "mdbook-admonish"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-5SVYfXXY1EmEMuhPHao3w9OzSayQDOWWvhL+1JoudzA="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { ]; homepage = "https://github.com/tommilligan/mdbook-admonish"; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-d2/package.nix b/pkgs/by-name/md/mdbook-d2/package.nix index dfc187079ec1..12df76a3aef4 100644 --- a/pkgs/by-name/md/mdbook-d2/package.nix +++ b/pkgs/by-name/md/mdbook-d2/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-d2"; version = "0.3.8"; src = fetchFromGitHub { owner = "danieleades"; repo = "mdbook-d2"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-+pwPJjjXNre5PduNT8oowP1K4CIT8egA5RxBpp2FmVs="; }; @@ -22,8 +22,8 @@ rustPlatform.buildRustPackage rec { description = "D2 diagram generator plugin for MdBook"; mainProgram = "mdbook-d2"; homepage = "https://github.com/danieleades/mdbook-d2"; - changelog = "https://github.com/danieleades/mdbook-d2/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/danieleades/mdbook-d2/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-emojicodes/package.nix b/pkgs/by-name/md/mdbook-emojicodes/package.nix index d589f9f5722d..3be600a8245b 100644 --- a/pkgs/by-name/md/mdbook-emojicodes/package.nix +++ b/pkgs/by-name/md/mdbook-emojicodes/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-emojicodes"; version = "0.3.0"; src = fetchFromGitHub { owner = "blyxyas"; repo = "mdbook-emojicodes"; - rev = "${version}"; + rev = "${finalAttrs.version}"; hash = "sha256-dlvfY2AMBvTl0j9YaT+u4CeWQGGihFD8AZaAK4/hUWU="; }; @@ -21,10 +21,10 @@ rustPlatform.buildRustPackage rec { description = "MDBook preprocessor for converting emojicodes (e.g. `: cat :`) into emojis"; mainProgram = "mdbook-emojicodes"; homepage = "https://github.com/blyxyas/mdbook-emojicodes"; - changelog = "https://github.com/blyxyas/mdbook-emojicodes/releases/tag/${version}"; + changelog = "https://github.com/blyxyas/mdbook-emojicodes/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-epub/package.nix b/pkgs/by-name/md/mdbook-epub/package.nix index 45824e68e41c..2c04d23e0ef0 100644 --- a/pkgs/by-name/md/mdbook-epub/package.nix +++ b/pkgs/by-name/md/mdbook-epub/package.nix @@ -6,14 +6,14 @@ bzip2, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-epub"; version = "0.4.37"; src = fetchFromGitHub { owner = "michael-f-bryan"; repo = "mdbook-epub"; - tag = version; + tag = finalAttrs.version; hash = "sha256-ddWClkeGabvqteVUtuwy4pWZGnarrKrIbuPEe62m6es="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-footnote/package.nix b/pkgs/by-name/md/mdbook-footnote/package.nix index bd0a45bec4a3..48f2ecb581b2 100644 --- a/pkgs/by-name/md/mdbook-footnote/package.nix +++ b/pkgs/by-name/md/mdbook-footnote/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-footnote"; version = "0.2.0"; src = fetchFromGitHub { owner = "daviddrysdale"; repo = "mdbook-footnote"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-YFMo+gufUEvHRnA9I98fGRXHcQjSTHY7DSRo90wcSHk="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-graphviz/package.nix b/pkgs/by-name/md/mdbook-graphviz/package.nix index 66a1f84005cf..1ec792bf1020 100644 --- a/pkgs/by-name/md/mdbook-graphviz/package.nix +++ b/pkgs/by-name/md/mdbook-graphviz/package.nix @@ -5,7 +5,7 @@ graphviz, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-graphviz"; version = "0.2.1"; @@ -26,11 +26,11 @@ rustPlatform.buildRustPackage rec { description = "Preprocessor for mdbook, rendering Graphviz graphs to HTML at build time"; mainProgram = "mdbook-graphviz"; homepage = "https://github.com/dylanowen/mdbook-graphviz"; - changelog = "https://github.com/dylanowen/mdbook-graphviz/releases/tag/v${version}"; + changelog = "https://github.com/dylanowen/mdbook-graphviz/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ lovesegfault matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-i18n-helpers/package.nix b/pkgs/by-name/md/mdbook-i18n-helpers/package.nix index adbdc3709834..7865a124bf3e 100644 --- a/pkgs/by-name/md/mdbook-i18n-helpers/package.nix +++ b/pkgs/by-name/md/mdbook-i18n-helpers/package.nix @@ -4,7 +4,7 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-i18n-helpers"; version = "0.4.0"; @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec { owner = "google"; repo = "mdbook-i18n-helpers"; # TODO fix once upstream uses semver for tags again - tag = "mdbook-i18n-helpers-${version}"; + tag = "mdbook-i18n-helpers-${finalAttrs.version}"; hash = "sha256-q1Bpj0R4AkGbmAkCKtmF8X/LCxxeDJp+719xKZld6rs="; }; @@ -21,11 +21,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Helpers for a mdbook i18n workflow based on Gettext"; homepage = "https://github.com/google/mdbook-i18n-helpers"; - changelog = "https://github.com/google/mdbook-i18n-helpers/releases/tag/${version}"; + changelog = "https://github.com/google/mdbook-i18n-helpers/releases/tag/${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ teutat3s matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-kroki-preprocessor/package.nix b/pkgs/by-name/md/mdbook-kroki-preprocessor/package.nix index 38bcb287af16..f37c1d5ad2f0 100644 --- a/pkgs/by-name/md/mdbook-kroki-preprocessor/package.nix +++ b/pkgs/by-name/md/mdbook-kroki-preprocessor/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-kroki-preprocessor"; version = "0.3.0"; src = fetchFromGitHub { owner = "joelcourtney"; repo = "mdbook-kroki-preprocessor"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-NTsI/ANqm192sNE9yd2d7ldDLglWoq4L20t84PaAO3M="; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-linkcheck/package.nix b/pkgs/by-name/md/mdbook-linkcheck/package.nix index 1399b16545d5..22e4c90ab63e 100644 --- a/pkgs/by-name/md/mdbook-linkcheck/package.nix +++ b/pkgs/by-name/md/mdbook-linkcheck/package.nix @@ -9,14 +9,14 @@ mdbook-linkcheck, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-linkcheck"; version = "0.7.7"; src = fetchFromGitHub { owner = "Michael-F-Bryan"; repo = "mdbook-linkcheck"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-ZbraChBHuKAcUA62EVHZ1RygIotNEEGv24nhSPAEj00="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-mermaid/package.nix b/pkgs/by-name/md/mdbook-mermaid/package.nix index eb94a7ea4013..f2cbc854e9e8 100644 --- a/pkgs/by-name/md/mdbook-mermaid/package.nix +++ b/pkgs/by-name/md/mdbook-mermaid/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-mermaid"; version = "0.17.0"; src = fetchFromGitHub { owner = "badboy"; repo = "mdbook-mermaid"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-9aiu3mQaRgVVhtX/v2hMPzclnVQIhUz4gVy0Xc84zO8="; }; @@ -21,11 +21,11 @@ rustPlatform.buildRustPackage rec { description = "Preprocessor for mdbook to add mermaid.js support"; mainProgram = "mdbook-mermaid"; homepage = "https://github.com/badboy/mdbook-mermaid"; - changelog = "https://github.com/badboy/mdbook-mermaid/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/badboy/mdbook-mermaid/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ xrelkd matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-open-on-gh/package.nix b/pkgs/by-name/md/mdbook-open-on-gh/package.nix index 893cd4b1c93e..d922a63a13b8 100644 --- a/pkgs/by-name/md/mdbook-open-on-gh/package.nix +++ b/pkgs/by-name/md/mdbook-open-on-gh/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-open-on-gh"; version = "3.0.0"; src = fetchFromGitHub { owner = "badboy"; repo = "mdbook-open-on-gh"; - rev = version; + rev = finalAttrs.version; hash = "sha256-I1n/RJq6mcg+DTocKlYoZi5G7yijsruU8PwICZ2/JMQ="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = [ lib.licenses.mpl20 ]; maintainers = with lib.maintainers; [ matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-pagetoc/package.nix b/pkgs/by-name/md/mdbook-pagetoc/package.nix index a9520afe9206..2d0fce792d3b 100644 --- a/pkgs/by-name/md/mdbook-pagetoc/package.nix +++ b/pkgs/by-name/md/mdbook-pagetoc/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-pagetoc"; version = "0.3.0"; src = fetchFromGitHub { owner = "slowsage"; repo = "mdbook-pagetoc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-B94lIgOJC83cIkuggmfopTDEi9CUQ3nJJpzF9LdImUA="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-toc/package.nix b/pkgs/by-name/md/mdbook-toc/package.nix index 4940a8559472..cfeb46ffd9ec 100644 --- a/pkgs/by-name/md/mdbook-toc/package.nix +++ b/pkgs/by-name/md/mdbook-toc/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-toc"; version = "0.15.3"; src = fetchFromGitHub { owner = "badboy"; repo = "mdbook-toc"; - tag = version; + tag = finalAttrs.version; sha256 = "sha256-nQMVba6jwfatGpV1jhwzdNlMY7XUGpHU3TqZ1yMy6Q0="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/md/mdbook-variables/package.nix b/pkgs/by-name/md/mdbook-variables/package.nix index a1da42ed3de9..d73c0b284765 100644 --- a/pkgs/by-name/md/mdbook-variables/package.nix +++ b/pkgs/by-name/md/mdbook-variables/package.nix @@ -4,14 +4,14 @@ fetchFromGitLab, versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-variables"; version = "0.4.1"; src = fetchFromGitLab { owner = "tglman"; repo = "mdbook-variables"; - rev = version; + rev = finalAttrs.version; hash = "sha256-DMfVviMVizxtkunu3DygL1t0vTW6a+frfFfVl8h7Urw="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ kraftnix ]; }; -} +}) diff --git a/pkgs/by-name/md/mdsh/package.nix b/pkgs/by-name/md/mdsh/package.nix index c1e4e206d7ce..e5bb0805e79e 100644 --- a/pkgs/by-name/md/mdsh/package.nix +++ b/pkgs/by-name/md/mdsh/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mdsh"; version = "0.9.2"; src = fetchFromGitHub { owner = "zimbatm"; repo = "mdsh"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-DQdm6911SNzVxUXpZ4mMumjonThhhEJnM/3GjbCjyuY="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ zimbatm ]; mainProgram = "mdsh"; }; -} +}) diff --git a/pkgs/by-name/me/measureme/package.nix b/pkgs/by-name/me/measureme/package.nix index 919c1c6d6245..cfa1905f5209 100644 --- a/pkgs/by-name/me/measureme/package.nix +++ b/pkgs/by-name/me/measureme/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "measureme"; version = "12.0.3"; src = fetchFromGitHub { owner = "rust-lang"; repo = "measureme"; - rev = version; + rev = finalAttrs.version; hash = "sha256-pejgWzHtpEBylFzG1+/8zTV7qR6gf6UuTmuH9GNPoD0="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.asl20; maintainers = [ lib.maintainers.t4ccer ]; }; -} +}) diff --git a/pkgs/by-name/me/mekuteriya/package.nix b/pkgs/by-name/me/mekuteriya/package.nix index 60b0030c7a2b..7755b75b61bb 100644 --- a/pkgs/by-name/me/mekuteriya/package.nix +++ b/pkgs/by-name/me/mekuteriya/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mekuteriya"; version = "0.1.6"; src = fetchFromGitHub { owner = "frectonz"; repo = "mek-ut-er-ya"; - rev = version; + rev = finalAttrs.version; hash = "sha256-u3NK5KL3GjGekcFd4cB/z0omsL2FgiX8dMpcVl5h9s0="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.frectonz ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/me/melody/package.nix b/pkgs/by-name/me/melody/package.nix index 7797f8626b91..89d44ba1a2ed 100644 --- a/pkgs/by-name/me/melody/package.nix +++ b/pkgs/by-name/me/melody/package.nix @@ -4,13 +4,13 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "melody"; version = "0.20.0"; src = fetchCrate { pname = "melody_cli"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-u+d16jc7GqT2aK2HzP+OXFUBkVodwcW+20sKqmxzYhk="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "melody"; }; -} +}) diff --git a/pkgs/by-name/me/meme-bingo-web/package.nix b/pkgs/by-name/me/meme-bingo-web/package.nix index b1563ff8ab44..c1c5018cf89d 100644 --- a/pkgs/by-name/me/meme-bingo-web/package.nix +++ b/pkgs/by-name/me/meme-bingo-web/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "meme-bingo-web"; version = "1.2.0"; src = fetchFromCodeberg { owner = "annaaurora"; repo = "meme-bingo-web"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-0ahyyuihpwmAmaBwZv7lNmjuy8UsAm1a9XUhWcYq76w="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.unlicense; maintainers = with lib.maintainers; [ annaaurora ]; }; -} +}) diff --git a/pkgs/by-name/me/memtest_vulkan/package.nix b/pkgs/by-name/me/memtest_vulkan/package.nix index 9283dc24cc51..513a917bbf44 100644 --- a/pkgs/by-name/me/memtest_vulkan/package.nix +++ b/pkgs/by-name/me/memtest_vulkan/package.nix @@ -6,14 +6,14 @@ vulkan-loader, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "memtest_vulkan"; version = "0.5.0"; src = fetchFromGitHub { owner = "GpuZelenograd"; repo = "memtest_vulkan"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8tmQtycK7D5bol9v5VL8VkROZbSCndHo+uBvqqFTZjw="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { stdenv.system == "aarch64-linux" # error: linker `aarch64-linux-gnu-gcc` not found || stdenv.hostPlatform.isDarwin; # Can't find Vulkan; might work though? }; -} +}) diff --git a/pkgs/by-name/me/menyoki/package.nix b/pkgs/by-name/me/menyoki/package.nix index b5b5d8e8d0a0..0136a8f12182 100644 --- a/pkgs/by-name/me/menyoki/package.nix +++ b/pkgs/by-name/me/menyoki/package.nix @@ -12,14 +12,14 @@ withSki ? true, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "menyoki"; version = "1.7.0"; src = fetchFromGitHub { owner = "orhun"; repo = "menyoki"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-owP3G1Rygraifdc4iPURQ1Es0msNhYZIlfrtj0CSU6Y="; }; @@ -50,9 +50,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Screen{shot,cast} and perform ImageOps on the command line"; homepage = "https://menyoki.cli.rs/"; - changelog = "https://github.com/orhun/menyoki/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/orhun/menyoki/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.gpl3Only; maintainers = [ ]; mainProgram = "menyoki"; }; -} +}) diff --git a/pkgs/by-name/mh/mhost/package.nix b/pkgs/by-name/mh/mhost/package.nix index c5a9a1ca2b67..e409161d4fac 100644 --- a/pkgs/by-name/mh/mhost/package.nix +++ b/pkgs/by-name/mh/mhost/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mhost"; version = "0.3.1"; src = fetchFromGitHub { owner = "lukaspustina"; repo = "mhost"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-6jn9jOCh96d9y2l1OZ5hgxg7sYXPUFzJiiT95OR7lD0="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.mgttlinger ]; mainProgram = "mhost"; }; -} +}) diff --git a/pkgs/by-name/mi/microbin/package.nix b/pkgs/by-name/mi/microbin/package.nix index 0f345e620ad5..c7427e4113d3 100644 --- a/pkgs/by-name/mi/microbin/package.nix +++ b/pkgs/by-name/mi/microbin/package.nix @@ -8,14 +8,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "microbin"; version = "2.0.4"; src = fetchFromGitHub { owner = "szabodanika"; repo = "microbin"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-fsRpqSYDsuV0M6Xar2GVoyTgCPT39dcKJ6eW4YXCkQ0="; }; @@ -76,11 +76,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Tiny, self-contained, configurable paste bin and URL shortener written in Rust"; homepage = "https://github.com/szabodanika/microbin"; - changelog = "https://github.com/szabodanika/microbin/releases/tag/v${version}"; + changelog = "https://github.com/szabodanika/microbin/releases/tag/v${finalAttrs.version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "microbin"; }; -} +}) diff --git a/pkgs/by-name/mi/microfetch/package.nix b/pkgs/by-name/mi/microfetch/package.nix index 6d288477d0bc..fd32855d4f58 100644 --- a/pkgs/by-name/mi/microfetch/package.nix +++ b/pkgs/by-name/mi/microfetch/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "microfetch"; version = "0.4.9"; src = fetchFromGitHub { owner = "NotAShelf"; repo = "microfetch"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-F3yRJrOzBzSDLadVTZqOPMaqF+3NSzedi222EawqVWQ="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "microfetch"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/mi/microserver/package.nix b/pkgs/by-name/mi/microserver/package.nix index f29c1dde4028..815e43d5f9f2 100644 --- a/pkgs/by-name/mi/microserver/package.nix +++ b/pkgs/by-name/mi/microserver/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "microserver"; version = "0.2.1"; src = fetchFromGitHub { owner = "robertohuertasm"; repo = "microserver"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-VgzOdJ1JLe0acjRYvaysCPox5acFmc4VD2f6HZWxT8M="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; mainProgram = "microserver"; }; -} +}) diff --git a/pkgs/by-name/mi/millet/package.nix b/pkgs/by-name/mi/millet/package.nix index 499462279c4e..5efd21719e65 100644 --- a/pkgs/by-name/mi/millet/package.nix +++ b/pkgs/by-name/mi/millet/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "millet"; version = "0.14.9"; src = fetchFromGitHub { owner = "azdavis"; repo = "millet"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Ffna9qsCTRHnUstgCDZxHweHteYVA/xiAtOkzCw2ltI="; }; @@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Language server for Standard ML"; homepage = "https://github.com/azdavis/millet"; - changelog = "https://github.com/azdavis/millet/blob/v${version}/docs/CHANGELOG.md"; + changelog = "https://github.com/azdavis/millet/blob/v${finalAttrs.version}/docs/CHANGELOG.md"; license = [ lib.licenses.mit # or lib.licenses.asl20 @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "millet-ls"; }; -} +}) diff --git a/pkgs/by-name/mi/minesweep-rs/package.nix b/pkgs/by-name/mi/minesweep-rs/package.nix index 92e4f25ffe3c..1699c54046a2 100644 --- a/pkgs/by-name/mi/minesweep-rs/package.nix +++ b/pkgs/by-name/mi/minesweep-rs/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "minesweep-rs"; version = "6.0.54"; src = fetchFromGitHub { owner = "cpcloud"; repo = "minesweep-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-FzMCqsPBcbblItRzfnY43glY4We9jk0eBxjG0SZnau8="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ aleksana ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/mi/mini-calc/package.nix b/pkgs/by-name/mi/mini-calc/package.nix index 9225b50469d9..e749ea8940ae 100644 --- a/pkgs/by-name/mi/mini-calc/package.nix +++ b/pkgs/by-name/mi/mini-calc/package.nix @@ -7,14 +7,14 @@ testers, mini-calc, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mini-calc"; version = "4.0.2"; src = fetchFromGitHub { owner = "vanilla-extracts"; repo = "calc"; - tag = version; + tag = finalAttrs.version; hash = "sha256-eyWRDuECMV/jfxq+Ki2uouiYqp4PmQJa+D3QORewj+Y="; }; @@ -30,16 +30,16 @@ rustPlatform.buildRustPackage rec { package = mini-calc; # `mini-calc -v` does not output in the test env, fallback to pipe command = "echo -v | mini-calc"; - version = "v${version}"; + version = "v${finalAttrs.version}"; }; meta = { description = "Fully-featured minimalistic configurable calculator written in Rust"; - changelog = "https://github.com/vanilla-extracts/calc/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/vanilla-extracts/calc/blob/${finalAttrs.version}/CHANGELOG.md"; homepage = "https://calc.charlotte-thomas.me/"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ sigmanificient ]; mainProgram = "mini-calc"; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/mi/minidsp/package.nix b/pkgs/by-name/mi/minidsp/package.nix index a1938e91be0f..46f8e3186958 100644 --- a/pkgs/by-name/mi/minidsp/package.nix +++ b/pkgs/by-name/mi/minidsp/package.nix @@ -6,14 +6,14 @@ libusb1, pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "minidsp"; version = "0.1.12"; src = fetchFromGitHub { owner = "mrene"; repo = "minidsp-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8bKP9/byVRKj1P1MP3ZVg8yw0WaNB0BcqarCti7B8CA="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { lib.maintainers.mrene ]; }; -} +}) diff --git a/pkgs/by-name/mi/minijinja/package.nix b/pkgs/by-name/mi/minijinja/package.nix index 5a598c6cec74..c30e843b78a3 100644 --- a/pkgs/by-name/mi/minijinja/package.nix +++ b/pkgs/by-name/mi/minijinja/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "minijinja"; version = "2.15.1"; src = fetchFromGitHub { owner = "mitsuhiko"; repo = "minijinja"; - rev = version; + rev = finalAttrs.version; hash = "sha256-b9Qmst+TXGGTx1k/TnDs4m1nL8aTgNYRCreNLXHCd3I="; }; @@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/mitsuhiko/minijinja"; license = with lib.licenses; [ asl20 ]; maintainers = with lib.maintainers; [ psibi ]; - changelog = "https://github.com/mitsuhiko/minijinja/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/mitsuhiko/minijinja/blob/${finalAttrs.version}/CHANGELOG.md"; mainProgram = "minijinja-cli"; }; -} +}) diff --git a/pkgs/by-name/mi/mise/package.nix b/pkgs/by-name/mi/mise/package.nix index 899f1b7cc46d..88b77d5f9a46 100644 --- a/pkgs/by-name/mi/mise/package.nix +++ b/pkgs/by-name/mi/mise/package.nix @@ -20,14 +20,14 @@ jq, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mise"; version = "2026.2.1"; src = fetchFromGitHub { owner = "jdx"; repo = "mise"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-7TsSK3mk6tSxvWPNYq8Viyc8x4BYmR/QrqRT/sfetz4="; }; @@ -137,9 +137,9 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://mise.jdx.dev"; description = "Front-end to your dev env"; - changelog = "https://github.com/jdx/mise/releases/tag/v${version}"; + changelog = "https://github.com/jdx/mise/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ konradmalik ]; mainProgram = "mise"; }; -} +}) diff --git a/pkgs/by-name/mi/mitm-cache/package.nix b/pkgs/by-name/mi/mitm-cache/package.nix index 69c9a65211d4..5b26727097da 100644 --- a/pkgs/by-name/mi/mitm-cache/package.nix +++ b/pkgs/by-name/mi/mitm-cache/package.nix @@ -8,14 +8,14 @@ python3Packages, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mitm-cache"; version = "0.1.2"; src = fetchFromGitHub { owner = "chayleaf"; repo = "mitm-cache"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-eY8mgmQB8wXQ7YJbLvdjXEEgGD+/RDywjvehJYf7ckE="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ chayleaf ]; mainProgram = "mitm-cache"; }; -} +}) diff --git a/pkgs/by-name/mi/mitra/package.nix b/pkgs/by-name/mi/mitra/package.nix index bc056858f50d..c31ee2cefe5b 100644 --- a/pkgs/by-name/mi/mitra/package.nix +++ b/pkgs/by-name/mi/mitra/package.nix @@ -6,14 +6,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mitra"; version = "4.16.1"; src = fetchFromCodeberg { owner = "silverpill"; repo = "mitra"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-nQhzU3LMEyqa2CciNTX5/+ViMqjmwDt3QrMZnbt/tBU="; }; @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ haruki7049 ]; mainProgram = "mitra"; }; -} +}) diff --git a/pkgs/by-name/mi/mixxc/package.nix b/pkgs/by-name/mi/mixxc/package.nix index 4519f2978c43..7e302d0369f8 100644 --- a/pkgs/by-name/mi/mixxc/package.nix +++ b/pkgs/by-name/mi/mixxc/package.nix @@ -14,13 +14,13 @@ enableX11 ? true, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mixxc"; version = "0.2.5"; src = fetchCrate { pname = "mixxc"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-YVh6SOXCf4GHqDduXP7QupC48hcIMQtjIdGJYXNXQ1E="; }; @@ -64,4 +64,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "mixxc"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/mm/mmtc/package.nix b/pkgs/by-name/mm/mmtc/package.nix index c349ea017dfd..7d47fa5045ff 100644 --- a/pkgs/by-name/mm/mmtc/package.nix +++ b/pkgs/by-name/mm/mmtc/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mmtc"; version = "0.3.2"; src = fetchFromGitHub { owner = "figsoda"; repo = "mmtc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-gs6uytX4rm2JrJ4UbtHJDg+b+Z1ZjcsuUR0b13jQIy4="; }; @@ -30,9 +30,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Minimal mpd terminal client that aims to be simple yet highly configurable"; homepage = "https://github.com/figsoda/mmtc"; - changelog = "https://github.com/figsoda/mmtc/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/figsoda/mmtc/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = [ ]; mainProgram = "mmtc"; }; -} +}) diff --git a/pkgs/by-name/mm/mmtui/package.nix b/pkgs/by-name/mm/mmtui/package.nix index c2b7c12ac7ea..12eee2974e76 100644 --- a/pkgs/by-name/mm/mmtui/package.nix +++ b/pkgs/by-name/mm/mmtui/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mmtui"; version = "0.2.0"; src = fetchFromGitHub { owner = "SL-RU"; repo = "mmtui"; - tag = "mmt-v${version}"; + tag = "mmt-v${finalAttrs.version}"; hash = "sha256-ESnxy3TUWBb0akP471dK6wFQyJQSnjlIevA7ndLAjoE="; }; @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; meta = { - changelog = "https://github.com/SL-RU/mmtui/releases/tag/v${version}"; + changelog = "https://github.com/SL-RU/mmtui/releases/tag/v${finalAttrs.version}"; description = "TUI disk mount manager for TUI file managers"; homepage = "https://github.com/SL-RU/mmtui"; license = lib.licenses.mit; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "mmtui"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/mo/mollysocket/package.nix b/pkgs/by-name/mo/mollysocket/package.nix index 024570f2f91f..405de1ddaea5 100644 --- a/pkgs/by-name/mo/mollysocket/package.nix +++ b/pkgs/by-name/mo/mollysocket/package.nix @@ -8,14 +8,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mollysocket"; version = "1.6.0"; src = fetchFromGitHub { owner = "mollyim"; repo = "mollysocket"; - tag = version; + tag = finalAttrs.version; hash = "sha256-F80XRQn3h1Y6dE8PVLGMTY29yZomrwqFAsm7h8euHw8="; }; @@ -45,11 +45,11 @@ rustPlatform.buildRustPackage rec { }; meta = { - changelog = "https://github.com/mollyim/mollysocket/releases/tag/${version}"; + changelog = "https://github.com/mollyim/mollysocket/releases/tag/${finalAttrs.version}"; description = "Get Signal notifications via UnifiedPush"; homepage = "https://github.com/mollyim/mollysocket"; license = lib.licenses.agpl3Plus; mainProgram = "mollysocket"; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +}) diff --git a/pkgs/by-name/mo/monolith/package.nix b/pkgs/by-name/mo/monolith/package.nix index 23a98083071d..8b1887f7ff38 100644 --- a/pkgs/by-name/mo/monolith/package.nix +++ b/pkgs/by-name/mo/monolith/package.nix @@ -9,14 +9,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "monolith"; version = "2.10.1"; src = fetchFromGitHub { owner = "Y2Z"; repo = "monolith"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-7D/r9/uY1JcShKgfNUGVTn8P5kUAwUIa/xBbhpReeNw="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.cc0; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/mo/moproxy/package.nix b/pkgs/by-name/mo/moproxy/package.nix index 74563c536265..3ca59d44a6a1 100644 --- a/pkgs/by-name/mo/moproxy/package.nix +++ b/pkgs/by-name/mo/moproxy/package.nix @@ -5,14 +5,14 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "moproxy"; version = "0.5.1"; src = fetchFromGitHub { owner = "sorz"; repo = "moproxy"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Rqno+cg44IWBJbKWUP6BnxzwCjuNhFo9nBF6u2jlyA4="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ oluceps ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/mo/morsel/package.nix b/pkgs/by-name/mo/morsel/package.nix index b982a19007c5..0b5cfc2408ea 100644 --- a/pkgs/by-name/mo/morsel/package.nix +++ b/pkgs/by-name/mo/morsel/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "morsel"; version = "0.1.1"; src = fetchFromGitHub { owner = "SamLee514"; repo = "morsel"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-bb+88GIyd92kHJAs25mJ9vmq0Ha2q0fdHnpTXhX2BFE="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ siraben ]; }; -} +}) diff --git a/pkgs/by-name/mo/motoc/package.nix b/pkgs/by-name/mo/motoc/package.nix index 19e7dfb6a7af..c7c8c4319775 100644 --- a/pkgs/by-name/mo/motoc/package.nix +++ b/pkgs/by-name/mo/motoc/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "motoc"; version = "0.3.5"; src = fetchFromGitHub { owner = "galister"; repo = "motoc"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ozC7Az7G7qGsGURJ6UaM6VZH4PEUTknYDPShtXEKmrA="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ pandapip1 ]; mainProgram = "motoc"; }; -} +}) diff --git a/pkgs/by-name/mo/mountpoint-s3/package.nix b/pkgs/by-name/mo/mountpoint-s3/package.nix index 5d3c8d4dc2da..a029d2864701 100644 --- a/pkgs/by-name/mo/mountpoint-s3/package.nix +++ b/pkgs/by-name/mo/mountpoint-s3/package.nix @@ -7,14 +7,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mountpoint-s3"; version = "1.17.0"; src = fetchFromGitHub { owner = "awslabs"; repo = "mountpoint-s3"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-uV0umUoJkYgmjWjv8GMnk5TRRbCCJS1ut3VV1HvkaAw="; fetchSubmodules = true; }; @@ -69,4 +69,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ lblasc ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/mo/mouse-actions/package.nix b/pkgs/by-name/mo/mouse-actions/package.nix index 8bad10e3929a..c88ec7a77828 100644 --- a/pkgs/by-name/mo/mouse-actions/package.nix +++ b/pkgs/by-name/mo/mouse-actions/package.nix @@ -10,14 +10,14 @@ udevCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mouse-actions"; version = "0.4.5"; src = fetchFromGitHub { owner = "jersou"; repo = "mouse-actions"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-44F4CdsDHuN2FuijnpfmoFy4a/eAbYOoBYijl9mOctg="; }; @@ -51,4 +51,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "mouse-actions"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/mo/moxide/package.nix b/pkgs/by-name/mo/moxide/package.nix index 5e29b4fb303c..e3d087ec5d76 100644 --- a/pkgs/by-name/mo/moxide/package.nix +++ b/pkgs/by-name/mo/moxide/package.nix @@ -3,7 +3,7 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "moxide"; version = "0.3.0"; @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "dlurak"; repo = "moxide"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-BTg1z3pU9mGnexlXBdJ5ZqJeykpzGmhCbEKtvVxGEKo="; }; @@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ dlurak ]; }; -} +}) diff --git a/pkgs/by-name/mo/moxnotify/package.nix b/pkgs/by-name/mo/moxnotify/package.nix index 01456d62d31e..0b7a5927b871 100644 --- a/pkgs/by-name/mo/moxnotify/package.nix +++ b/pkgs/by-name/mo/moxnotify/package.nix @@ -19,7 +19,7 @@ freetype, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "moxnotify"; version = "0.1.0"; @@ -71,7 +71,7 @@ rustPlatform.buildRustPackage rec { # Install D-Bus service file mkdir -p $out/share/dbus-1/services - substitute ${src}/pl.mox.notify.service.in $out/share/dbus-1/services/pl.mox.notify.service \ + substitute ${finalAttrs.src}/pl.mox.notify.service.in $out/share/dbus-1/services/pl.mox.notify.service \ --replace-fail "@bindir@" "$out/bin" ''; @@ -101,4 +101,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; # Wayland-specific, Linux only mainProgram = "moxnotify"; }; -} +}) diff --git a/pkgs/by-name/mo/mozwire/package.nix b/pkgs/by-name/mo/mozwire/package.nix index 01d13b59e6cb..044a19e276ef 100644 --- a/pkgs/by-name/mo/mozwire/package.nix +++ b/pkgs/by-name/mo/mozwire/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "MozWire"; version = "0.8.1"; src = fetchFromGitHub { owner = "NilsIrl"; repo = "MozWire"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-2i8C1XgfI3MXnwXZzY6n8tIcw45G9h3vZqRlFaVoLH0="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "mozwire"; }; -} +}) diff --git a/pkgs/by-name/mp/mpd-discord-rpc/package.nix b/pkgs/by-name/mp/mpd-discord-rpc/package.nix index d8d39043bb7b..28cc4cbf32cd 100644 --- a/pkgs/by-name/mp/mpd-discord-rpc/package.nix +++ b/pkgs/by-name/mp/mpd-discord-rpc/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mpd-discord-rpc"; version = "1.11.0"; src = fetchFromGitHub { owner = "JakeStanger"; repo = "mpd-discord-rpc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-vP6d5HxlfLSIobWm7h34ttHjzpx+UZKE6Iyj9QfTRl0="; }; @@ -30,9 +30,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Rust application which displays your currently playing song / album / artist from MPD in Discord using Rich Presence"; homepage = "https://github.com/JakeStanger/mpd-discord-rpc/"; - changelog = "https://github.com/JakeStanger/mpd-discord-rpc/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/JakeStanger/mpd-discord-rpc/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "mpd-discord-rpc"; }; -} +}) diff --git a/pkgs/by-name/mp/mpris-notifier/package.nix b/pkgs/by-name/mp/mpris-notifier/package.nix index 99a51b6a1a84..71f8d872e2f5 100644 --- a/pkgs/by-name/mp/mpris-notifier/package.nix +++ b/pkgs/by-name/mp/mpris-notifier/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mpris-notifier"; version = "0.2.1"; src = fetchFromGitHub { owner = "l1na-forever"; repo = "mpris-notifier"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-JDABuxINYxpxxDPSIdN+GeHU8FqBS6m4dsPDTxRc1Zw="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ leixb ]; mainProgram = "mpris-notifier"; }; -} +}) diff --git a/pkgs/by-name/mp/mpv-handler/package.nix b/pkgs/by-name/mp/mpv-handler/package.nix index 14637dcab48d..3c9190cec791 100644 --- a/pkgs/by-name/mp/mpv-handler/package.nix +++ b/pkgs/by-name/mp/mpv-handler/package.nix @@ -7,14 +7,14 @@ yt-dlp, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mpv-handler"; version = "0.4.2"; src = fetchFromGitHub { owner = "akiirui"; repo = "mpv-handler"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-QoctjneJA7CdXqGm0ylAh9w6611vv2PD1fzS0exag5A="; }; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ lonerOrz ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/mp/mpv-subs-popout/package.nix b/pkgs/by-name/mp/mpv-subs-popout/package.nix index 6470b3ff746b..3de09f2b11a3 100644 --- a/pkgs/by-name/mp/mpv-subs-popout/package.nix +++ b/pkgs/by-name/mp/mpv-subs-popout/package.nix @@ -6,14 +6,14 @@ pkg-config, openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mpv-subs-popout"; version = "0.5.3"; src = fetchFromGitHub { owner = "sdaqo"; repo = "mpv-subs-popout"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ELxI1pn1o+SQNtCKbZ0NFffqhJwRJzoeLSQHli9ZYwM="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.sdaqo ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/mq/mqttui/package.nix b/pkgs/by-name/mq/mqttui/package.nix index d6d069fd4bda..3fa7990c8f1c 100644 --- a/pkgs/by-name/mq/mqttui/package.nix +++ b/pkgs/by-name/mq/mqttui/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mqttui"; version = "0.22.1"; src = fetchFromGitHub { owner = "EdJoPaTo"; repo = "mqttui"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-wKqIDKng4pfqDuYtqFRh3UIeZQ4QzzFlLkQn5MXcVlU="; }; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal client for MQTT"; homepage = "https://github.com/EdJoPaTo/mqttui"; - changelog = "https://github.com/EdJoPaTo/mqttui/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/EdJoPaTo/mqttui/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ fab @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "mqttui"; }; -} +}) diff --git a/pkgs/by-name/mu/mujmap/package.nix b/pkgs/by-name/mu/mujmap/package.nix index 937770754b8d..1a6e1ababfb4 100644 --- a/pkgs/by-name/mu/mujmap/package.nix +++ b/pkgs/by-name/mu/mujmap/package.nix @@ -5,14 +5,14 @@ notmuch, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mujmap"; version = "0.2.0"; src = fetchFromGitHub { owner = "elizagamedev"; repo = "mujmap"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-Qb9fEPQrdn+Ek9bdOMfaPIxlGGpQ9RfQZOeeqoOf17E="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ elizagamedev ]; mainProgram = "mujmap"; }; -} +}) diff --git a/pkgs/by-name/mu/mus/package.nix b/pkgs/by-name/mu/mus/package.nix index 67e869668300..aadd67d67a5c 100644 --- a/pkgs/by-name/mu/mus/package.nix +++ b/pkgs/by-name/mu/mus/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mus"; version = "0.2.0"; src = fetchFromSourcehut { owner = "~nbsp"; repo = "mus"; - rev = version; + rev = finalAttrs.version; hash = "sha256-yvMV+lhU9Wtwrhw0RKRUNFNznvZP0zcnT6jqPaqzhUs="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ nbsp ]; mainProgram = "mus"; }; -} +}) diff --git a/pkgs/by-name/my/mycelium/package.nix b/pkgs/by-name/my/mycelium/package.nix index a1e7ceccbf27..e9aac64f3c67 100644 --- a/pkgs/by-name/my/mycelium/package.nix +++ b/pkgs/by-name/my/mycelium/package.nix @@ -8,16 +8,16 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "mycelium"; version = "0.7.1"; - sourceRoot = "${src.name}/myceliumd"; + sourceRoot = "${finalAttrs.src.name}/myceliumd"; src = fetchFromGitHub { owner = "threefoldtech"; repo = "mycelium"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-9/9vPUGIEGzbD8uMu3J8uQvNItc7UB4+X21riYjtDD8="; }; @@ -43,7 +43,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "End-2-end encrypted IPv6 overlay network"; homepage = "https://github.com/threefoldtech/mycelium"; - changelog = "https://github.com/threefoldtech/mycelium/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/threefoldtech/mycelium/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ flokli @@ -52,4 +52,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "mycelium"; }; -} +}) diff --git a/pkgs/by-name/my/myxer/package.nix b/pkgs/by-name/my/myxer/package.nix index 50b9dea1683a..4f84f53906c2 100644 --- a/pkgs/by-name/my/myxer/package.nix +++ b/pkgs/by-name/my/myxer/package.nix @@ -10,14 +10,14 @@ gtk3, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "myxer"; version = "1.3.0"; src = fetchFromGitHub { owner = "Aurailus"; repo = "myxer"; - rev = version; + rev = finalAttrs.version; hash = "sha256-c5SHjnhWLp0jMdmDlupMTA0hWphub5DFY1vOI6NW8E0="; }; @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "myxer"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/na/namaka/package.nix b/pkgs/by-name/na/namaka/package.nix index e91c758700ad..4df48c7aa4bd 100644 --- a/pkgs/by-name/na/namaka/package.nix +++ b/pkgs/by-name/na/namaka/package.nix @@ -7,14 +7,14 @@ oniguruma, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "namaka"; version = "0.2.1"; src = fetchFromGitHub { owner = "nix-community"; repo = "namaka"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-1ka+5B90UAt7D5kkT9dOExGLJjtLM8dqLeBdFRoeuWg="; }; @@ -43,8 +43,8 @@ rustPlatform.buildRustPackage rec { description = "Snapshot testing tool for Nix based on haumea"; mainProgram = "namaka"; homepage = "https://github.com/nix-community/namaka"; - changelog = "https://github.com/nix-community/namaka/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/nix-community/namaka/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/na/narrowlink/package.nix b/pkgs/by-name/na/narrowlink/package.nix index 63995821b678..f8b16b12d4da 100644 --- a/pkgs/by-name/na/narrowlink/package.nix +++ b/pkgs/by-name/na/narrowlink/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "narrowlink"; version = "0.2.6"; src = fetchFromGitHub { owner = "narrowlink"; repo = "narrowlink"; - rev = version; + rev = finalAttrs.version; hash = "sha256-O66eihqSxwvrUfJj+VMrs7Vfndz2LPKQEnH7BDljvUg="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "narrowlink"; }; -} +}) diff --git a/pkgs/by-name/na/natls/package.nix b/pkgs/by-name/na/natls/package.nix index 3cde9b08e03e..6803f2af5f64 100644 --- a/pkgs/by-name/na/natls/package.nix +++ b/pkgs/by-name/na/natls/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "natls"; version = "2.1.14"; src = fetchFromGitHub { owner = "willdoescode"; repo = "nat"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-4x92r6V9AvEO88gFofPTUt+mS7ZhmptDn/8O4pizSRg="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ cafkafk ]; mainProgram = "natls"; }; -} +}) diff --git a/pkgs/by-name/na/navi/package.nix b/pkgs/by-name/na/navi/package.nix index 9022e01efb30..974372de345c 100644 --- a/pkgs/by-name/na/navi/package.nix +++ b/pkgs/by-name/na/navi/package.nix @@ -11,14 +11,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "navi"; version = "2.24.0"; src = fetchFromGitHub { owner = "denisidoro"; repo = "navi"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-zvqxVu147u/m/4B3fhbuQ46txGMrlgQv9d4GGiR8SoQ="; }; @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "navi"; maintainers = with lib.maintainers; [ cust0dian ]; }; -} +}) diff --git a/pkgs/by-name/nb/nbtscanner/package.nix b/pkgs/by-name/nb/nbtscanner/package.nix index c8315d24b689..077e32a68de2 100644 --- a/pkgs/by-name/nb/nbtscanner/package.nix +++ b/pkgs/by-name/nb/nbtscanner/package.nix @@ -5,14 +5,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nbtscanner"; version = "0.0.2"; src = fetchFromGitHub { owner = "jonkgrimes"; repo = "nbtscanner"; - tag = version; + tag = finalAttrs.version; hash = "sha256-lnTTutOc829COwfNhBkSK8UpiNnGsm7Da53b+eSBt1Q="; }; @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec { postPatch = '' # https://github.com/jonkgrimes/nbtscanner/issues/4 substituteInPlace src/main.rs \ - --replace-fail '.version("0.1")' '.version("${version}")' + --replace-fail '.version("0.1")' '.version("${finalAttrs.version}")' ''; nativeInstallCheckInputs = [ versionCheckHook ]; @@ -35,9 +35,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "NetBIOS scanner written in Rust"; homepage = "https://github.com/jonkgrimes/nbtscanner"; - changelog = "https://github.com/jonkgrimes/nbtscanner/releases/tag/${version}"; + changelog = "https://github.com/jonkgrimes/nbtscanner/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "nbtscanner"; }; -} +}) diff --git a/pkgs/by-name/nd/ndstrim/package.nix b/pkgs/by-name/nd/ndstrim/package.nix index f3c5b34039bc..5a081cc270fd 100644 --- a/pkgs/by-name/nd/ndstrim/package.nix +++ b/pkgs/by-name/nd/ndstrim/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ndstrim"; version = "0.2.1"; src = fetchFromGitHub { owner = "Nemris"; repo = "ndstrim"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-KgtejBbFg6+klc8OpCs1CIb+7uVPCtP0/EM671vxauk="; }; @@ -20,10 +20,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Trim the excess padding found in Nintendo DS(i) ROMs"; homepage = "https://github.com/Nemris/ndstrim"; - changelog = "https://github.com/Nemris/ndstrim/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/Nemris/ndstrim/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ thiagokokada ]; mainProgram = "ndstrim"; }; -} +}) diff --git a/pkgs/by-name/ne/neocmakelsp/package.nix b/pkgs/by-name/ne/neocmakelsp/package.nix index 30e90c2c7619..fca98fc09298 100644 --- a/pkgs/by-name/ne/neocmakelsp/package.nix +++ b/pkgs/by-name/ne/neocmakelsp/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "neocmakelsp"; version = "0.10.0"; src = fetchFromGitHub { owner = "Decodetalkers"; repo = "neocmakelsp"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-dviHzaBqsE3NKRf4AeQme/oOcu5GyKjGJBui4ZjjDv8="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "neocmakelsp"; }; -} +}) diff --git a/pkgs/by-name/ne/nerdfix/package.nix b/pkgs/by-name/ne/nerdfix/package.nix index 133c54a6e609..917e42368617 100644 --- a/pkgs/by-name/ne/nerdfix/package.nix +++ b/pkgs/by-name/ne/nerdfix/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nerdfix"; version = "0.4.2"; src = fetchFromGitHub { owner = "loichyan"; repo = "nerdfix"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Mp8QFzMQXJEFIzkrmiW/wxMy/+WC4VqbPtWzE92z9Gc="; }; @@ -21,11 +21,11 @@ rustPlatform.buildRustPackage rec { description = "Helps you to find/fix obsolete nerd font icons in your project"; mainProgram = "nerdfix"; homepage = "https://github.com/loichyan/nerdfix"; - changelog = "https://github.com/loichyan/nerdfix/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/loichyan/nerdfix/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ne/netavark/package.nix b/pkgs/by-name/ne/netavark/package.nix index ed954974e1af..cdccae339838 100644 --- a/pkgs/by-name/ne/netavark/package.nix +++ b/pkgs/by-name/ne/netavark/package.nix @@ -9,14 +9,14 @@ go-md2man, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "netavark"; version = "1.17.2"; src = fetchFromGitHub { owner = "containers"; repo = "netavark"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-FdJNcHYK6Jc1dNqcUr5Ne8dv1dzlHRhcjoldiihrov8="; }; @@ -37,11 +37,11 @@ rustPlatform.buildRustPackage rec { passthru.tests = { inherit (nixosTests) podman; }; meta = { - changelog = "https://github.com/containers/netavark/releases/tag/${src.rev}"; + changelog = "https://github.com/containers/netavark/releases/tag/${finalAttrs.src.rev}"; description = "Rust based network stack for containers"; homepage = "https://github.com/containers/netavark"; license = lib.licenses.asl20; teams = [ lib.teams.podman ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ne/netbox2netshot/package.nix b/pkgs/by-name/ne/netbox2netshot/package.nix index 354db6541c2e..5bc222f9b169 100644 --- a/pkgs/by-name/ne/netbox2netshot/package.nix +++ b/pkgs/by-name/ne/netbox2netshot/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "netbox2netshot"; version = "0.2.0"; src = fetchFromGitHub { owner = "scaleway"; repo = "netbox2netshot"; - rev = version; + rev = finalAttrs.version; hash = "sha256-4Leg7MaLSos2RjmxB6yVzxGju6OzNrChXdw5htppuZU="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "netbox2netshot"; }; -} +}) diff --git a/pkgs/by-name/ne/netop/package.nix b/pkgs/by-name/ne/netop/package.nix index 583a7d32e214..e303475d1804 100644 --- a/pkgs/by-name/ne/netop/package.nix +++ b/pkgs/by-name/ne/netop/package.nix @@ -5,14 +5,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "netop"; version = "0.1.4"; src = fetchFromGitHub { owner = "ZingerLittleBee"; repo = "netop"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Rnp2VNAi8BNbKqkGFoYUb4C5db5BS1P1cqpWlroTmdQ="; }; @@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-WGwtRMARwRvcUflN3JYL32aib+IG1Q0j0D9BEfaiME4="; meta = { - changelog = "https://github.com/ZingerLittleBee/netop/raw/v${version}/CHANGELOG.md"; + changelog = "https://github.com/ZingerLittleBee/netop/raw/v${finalAttrs.version}/CHANGELOG.md"; description = "Network monitor using bpf"; homepage = "https://github.com/ZingerLittleBee/netop"; license = lib.licenses.mit; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.marcusramberg ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ne/neverest/package.nix b/pkgs/by-name/ne/neverest/package.nix index 79794b7ea82c..9513d3c6fe53 100644 --- a/pkgs/by-name/ne/neverest/package.nix +++ b/pkgs/by-name/ne/neverest/package.nix @@ -12,7 +12,7 @@ buildFeatures ? [ ], }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { # Learn more about available cargo features at: # - # - @@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "pimalaya"; repo = "neverest"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-3PSJyhxrOCiuHUeVHO77+NecnI5fN5EZfPhYizuYvtE="; }; @@ -57,9 +57,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI to synchronize, backup and restore emails"; mainProgram = "neverest"; - homepage = "https://pimalaya.org/neverest/cli/v${version}/"; - changelog = "https://git.sr.ht/~soywod/neverest-cli/tree/v${version}/item/CHANGELOG.md"; + homepage = "https://pimalaya.org/neverest/cli/v${finalAttrs.version}/"; + changelog = "https://git.sr.ht/~soywod/neverest-cli/tree/v${finalAttrs.version}/item/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ soywod ]; }; -} +}) diff --git a/pkgs/by-name/ng/ngrrram/package.nix b/pkgs/by-name/ng/ngrrram/package.nix index bf00782c5111..248b61888d84 100644 --- a/pkgs/by-name/ng/ngrrram/package.nix +++ b/pkgs/by-name/ng/ngrrram/package.nix @@ -4,14 +4,14 @@ nix-update-script, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ngrrram"; version = "1.0.3"; src = fetchFromGitHub { owner = "wintermute-cell"; repo = "ngrrram"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-65cbNsGQZSpxKV0lq/Z7TK7CODPTqayOiPStukFbo44="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ Guanran928 ]; mainProgram = "ngrrram"; }; -} +}) diff --git a/pkgs/by-name/ni/nil/package.nix b/pkgs/by-name/ni/nil/package.nix index 6f9c316de6ae..1cb2324dae1f 100644 --- a/pkgs/by-name/ni/nil/package.nix +++ b/pkgs/by-name/ni/nil/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nil"; version = "2025-06-13"; src = fetchFromGitHub { owner = "oxalica"; repo = "nil"; - rev = version; + rev = finalAttrs.version; hash = "sha256-oxvVAFUO9husnRk6XZcLFLjLWL9z0pW25Fk6kVKwt1c="; }; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ nix ]; env = { - CFG_RELEASE = version; + CFG_RELEASE = finalAttrs.version; CFG_DEFAULT_FORMATTER = lib.getExe nixfmt; }; @@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Yet another language server for Nix"; homepage = "https://github.com/oxalica/nil"; - changelog = "https://github.com/oxalica/nil/releases/tag/${version}"; + changelog = "https://github.com/oxalica/nil/releases/tag/${finalAttrs.version}"; license = with lib.licenses; [ mit asl20 @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "nil"; }; -} +}) diff --git a/pkgs/by-name/ni/nirius/package.nix b/pkgs/by-name/ni/nirius/package.nix index cf5be31c1f10..30fc65aa9a72 100644 --- a/pkgs/by-name/ni/nirius/package.nix +++ b/pkgs/by-name/ni/nirius/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nirius"; version = "0.6.1"; src = fetchFromSourcehut { owner = "~tsdh"; repo = "nirius"; - rev = "nirius-${version}"; + rev = "nirius-${finalAttrs.version}"; hash = "sha256-KAh45AcNB9Y4ahxamtI6/z3l1xg6yf17h4rnZl3w89I="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ tylerjl ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ni/nitrotpm-tools/package.nix b/pkgs/by-name/ni/nitrotpm-tools/package.nix index 64f9ce8f15b9..cbf9a5882ab8 100644 --- a/pkgs/by-name/ni/nitrotpm-tools/package.nix +++ b/pkgs/by-name/ni/nitrotpm-tools/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nitrotpm-tools"; version = "1.1.0"; src = fetchFromGitHub { owner = "aws"; repo = "NitroTPM-Tools"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ZTASHHa+LQ/hNaM0qfsaGdNwkZQQZnR9+f05DHbviLw="; }; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ni/nix-btm/package.nix b/pkgs/by-name/ni/nix-btm/package.nix index 9151981e45c9..caf3d2cdda13 100644 --- a/pkgs/by-name/ni/nix-btm/package.nix +++ b/pkgs/by-name/ni/nix-btm/package.nix @@ -4,12 +4,12 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-btm"; version = "0.2.0"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; pname = "nix-btm"; hash = "sha256-f8XFWlx+gwhF/OD8+tPcLGV/v0QnsDWOcqpY3Js+FAo="; }; @@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ DieracDelta ]; }; -} +}) diff --git a/pkgs/by-name/ni/nix-doc/package.nix b/pkgs/by-name/ni/nix-doc/package.nix index 175da5776602..9728f2297da1 100644 --- a/pkgs/by-name/ni/nix-doc/package.nix +++ b/pkgs/by-name/ni/nix-doc/package.nix @@ -20,12 +20,12 @@ let "nix-doc-plugin" ]; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-doc"; version = "0.6.5"; src = fetchFromGitHub { - rev = "v${version}"; + rev = "v${finalAttrs.version}"; owner = "lf-"; repo = "nix-doc"; sha256 = "sha256-9cuNzq+CBA2jz0LkZb7lh/WISIlKklfovGBAbSo1Mgk="; @@ -67,4 +67,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; mainProgram = "nix-doc"; }; -} +}) diff --git a/pkgs/by-name/ni/nix-du/package.nix b/pkgs/by-name/ni/nix-du/package.nix index 785f3c816575..94efdb5506d6 100644 --- a/pkgs/by-name/ni/nix-du/package.nix +++ b/pkgs/by-name/ni/nix-du/package.nix @@ -9,14 +9,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-du"; version = "1.2.3"; src = fetchFromGitHub { owner = "symphorien"; repo = "nix-du"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-/Afp0InA/0xXdombAzylYJF9wcv5WwYizVsP+fHTDrM="; }; @@ -46,6 +46,6 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.symphorien ]; platforms = lib.platforms.unix; mainProgram = "nix-du"; - changelog = "https://github.com/symphorien/nix-du/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/symphorien/nix-du/blob/v${finalAttrs.version}/CHANGELOG.md"; }; -} +}) diff --git a/pkgs/by-name/ni/nix-forecast/package.nix b/pkgs/by-name/ni/nix-forecast/package.nix index 026e83e0b373..2cb70e406f54 100644 --- a/pkgs/by-name/ni/nix-forecast/package.nix +++ b/pkgs/by-name/ni/nix-forecast/package.nix @@ -9,14 +9,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-forecast"; version = "0.4.0"; src = fetchFromGitHub { owner = "getchoo"; repo = "nix-forecast"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-GTINiV+oHmu1/DmQsE7UjfAFFtH26LK35TveW437lPA="; }; @@ -53,9 +53,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Check the forecast for today's Nix builds"; homepage = "https://github.com/getchoo/nix-forecast"; - changelog = "https://github.com/getchoo/nix-forecast/releases/tag/v${version}"; + changelog = "https://github.com/getchoo/nix-forecast/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ getchoo ]; mainProgram = "nix-forecast"; }; -} +}) diff --git a/pkgs/by-name/ni/nix-health/package.nix b/pkgs/by-name/ni/nix-health/package.nix index 753208f3e8db..b2feaffcf24e 100644 --- a/pkgs/by-name/ni/nix-health/package.nix +++ b/pkgs/by-name/ni/nix-health/package.nix @@ -7,12 +7,12 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-health"; version = "0.4.0"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; pname = "nix_health"; hash = "sha256-/I6LdcH61wgJOEv51J1jkWlD8BlSAaRR1e7gc5H9bQI="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ shivaraj-bh ]; mainProgram = "nix-health"; }; -} +}) diff --git a/pkgs/by-name/ni/nix-index-unwrapped/package.nix b/pkgs/by-name/ni/nix-index-unwrapped/package.nix index 69e4a781a6d1..5ac4b98cea72 100644 --- a/pkgs/by-name/ni/nix-index-unwrapped/package.nix +++ b/pkgs/by-name/ni/nix-index-unwrapped/package.nix @@ -8,14 +8,14 @@ sqlite, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-index"; version = "0.1.9"; src = fetchFromGitHub { owner = "nix-community"; repo = "nix-index"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-kOVmgST/D3zNOcGVu1ReuPuVrUx41iRK4rs59lqYX74="; }; @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Files database for nixpkgs"; homepage = "https://github.com/nix-community/nix-index"; - changelog = "https://github.com/nix-community/nix-index/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/nix-community/nix-index/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ bsd3 ]; maintainers = with lib.maintainers; [ bennofs @@ -48,4 +48,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "nix-index"; }; -} +}) diff --git a/pkgs/by-name/ni/nix-janitor/package.nix b/pkgs/by-name/ni/nix-janitor/package.nix index 527e1ca6abb9..92c7f089da07 100644 --- a/pkgs/by-name/ni/nix-janitor/package.nix +++ b/pkgs/by-name/ni/nix-janitor/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-janitor"; version = "0.3.2"; src = fetchFromGitHub { owner = "nobbz"; repo = "nix-janitor"; - tag = version; + tag = finalAttrs.version; hash = "sha256-MRhTkxPl0tlObbXO7/0cD2pbd9/uQCeRKV3DStGvZMQ="; }; @@ -33,11 +33,11 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://github.com/nobbz/nix-janitor"; - changelog = "https://github.com/NobbZ/nix-janitor/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/NobbZ/nix-janitor/blob/${finalAttrs.version}/CHANGELOG.md"; description = "Tool to clean up old profile generations"; mainProgram = "janitor"; platforms = lib.platforms.linux; license = lib.licenses.mit; maintainers = [ lib.maintainers.nobbz ]; }; -} +}) diff --git a/pkgs/by-name/ni/nix-ld/package.nix b/pkgs/by-name/ni/nix-ld/package.nix index 8290aaa03212..a87d20e0b8e5 100644 --- a/pkgs/by-name/ni/nix-ld/package.nix +++ b/pkgs/by-name/ni/nix-ld/package.nix @@ -6,14 +6,14 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-ld"; version = "2.0.6"; src = fetchFromGitHub { owner = "nix-community"; repo = "nix-ld"; - rev = version; + rev = finalAttrs.version; hash = "sha256-I9cEWy07pUNsOfBPG7qMYHx/YmE1uxaadP3ObHu7ALQ="; }; @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ mic92 ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ni/nix-melt/package.nix b/pkgs/by-name/ni/nix-melt/package.nix index dc0b142b1f94..9fcedaf8151d 100644 --- a/pkgs/by-name/ni/nix-melt/package.nix +++ b/pkgs/by-name/ni/nix-melt/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-melt"; version = "0.1.3"; src = fetchFromGitHub { owner = "nix-community"; repo = "nix-melt"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-jx7g9GOFAjOlJyNsGOUTLh2qWII9u0prOoBEvNPmdj8="; }; @@ -35,8 +35,8 @@ rustPlatform.buildRustPackage rec { description = "Ranger-like flake.lock viewer"; mainProgram = "nix-melt"; homepage = "https://github.com/nix-community/nix-melt"; - changelog = "https://github.com/nix-community/nix-melt/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/nix-community/nix-melt/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = [ lib.maintainers.matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ni/nix-query-tree-viewer/package.nix b/pkgs/by-name/ni/nix-query-tree-viewer/package.nix index e5e3c08e134f..dfb27ae232a6 100644 --- a/pkgs/by-name/ni/nix-query-tree-viewer/package.nix +++ b/pkgs/by-name/ni/nix-query-tree-viewer/package.nix @@ -7,14 +7,14 @@ wrapGAppsHook3, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-query-tree-viewer"; version = "0.2.1"; src = fetchFromGitHub { owner = "cdepillabout"; repo = "nix-query-tree-viewer"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-Lc9hfjybnRrkd7PZMa2ojxOM04bP4GJyagkZUX2nVwY="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ cdepillabout ]; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/ni/nix-store-veritysetup-generator/package.nix b/pkgs/by-name/ni/nix-store-veritysetup-generator/package.nix index 3bf2419ed1f4..b74a805a4bb3 100644 --- a/pkgs/by-name/ni/nix-store-veritysetup-generator/package.nix +++ b/pkgs/by-name/ni/nix-store-veritysetup-generator/package.nix @@ -6,18 +6,18 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-store-veritysetup-generator"; version = "1.0.0"; src = fetchFromGitHub { owner = "nikstur"; repo = "nix-store-veritysetup-generator"; - rev = version; + rev = finalAttrs.version; hash = "sha256-RTGdcLn4zuZAcC1Td4gJcywIerCYyaD0JYz8g5ybmho="; }; - sourceRoot = "${src.name}/rust"; + sourceRoot = "${finalAttrs.src.name}/rust"; cargoHash = "sha256-9DwED8X/RHjBCInm+VbzoeVSb28U+XIE2IjNAGon6+E="; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ nikstur ]; mainProgram = "nix-store-veritysetup-generator"; }; -} +}) diff --git a/pkgs/by-name/ni/nix-weather/package.nix b/pkgs/by-name/ni/nix-weather/package.nix index 47a82dd1f1b2..3f6aa492a66b 100644 --- a/pkgs/by-name/ni/nix-weather/package.nix +++ b/pkgs/by-name/ni/nix-weather/package.nix @@ -10,7 +10,7 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-weather"; version = "0.0.4"; @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "cafkafk"; repo = "nix-weather"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-15FUA4fszbAVXop3IyOHfxroyTt9/SkWZsSTUh9RtwY="; }; @@ -68,7 +68,7 @@ rustPlatform.buildRustPackage rec { Heavily inspired by guix weather. ''; homepage = "https://git.fem.gg/cafkafk/nix-weather"; - changelog = "https://git.fem.gg/cafkafk/nix-weather/releases/tag/v${version}"; + changelog = "https://git.fem.gg/cafkafk/nix-weather/releases/tag/v${finalAttrs.version}"; license = lib.licenses.eupl12; mainProgram = "nix-weather"; maintainers = with lib.maintainers; [ @@ -77,4 +77,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/ni/nix-web/package.nix b/pkgs/by-name/ni/nix-web/package.nix index f916c1c57825..95bebd4c0e40 100644 --- a/pkgs/by-name/ni/nix-web/package.nix +++ b/pkgs/by-name/ni/nix-web/package.nix @@ -15,14 +15,14 @@ let "nix-web" ]; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-web"; version = "0.4.2"; src = fetchFromCodeberg { owner = "gorgon"; repo = "gorgon"; - rev = "nix-web-v${version}"; + rev = "nix-web-v${finalAttrs.version}"; hash = "sha256-lAk2VfhclHswsctA0RQgEj5oEX1fowh8TCaKykGEioY="; }; @@ -52,4 +52,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ embr ]; mainProgram = "nix-web"; }; -} +}) diff --git a/pkgs/by-name/ni/nix-your-shell/package.nix b/pkgs/by-name/ni/nix-your-shell/package.nix index 188bff71bcad..447d1cb756e5 100644 --- a/pkgs/by-name/ni/nix-your-shell/package.nix +++ b/pkgs/by-name/ni/nix-your-shell/package.nix @@ -6,14 +6,14 @@ runCommand, nix-your-shell, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nix-your-shell"; version = "1.4.8"; src = fetchFromGitHub { owner = "MercuryTechnologies"; repo = "nix-your-shell"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-2KiqDqKKT28yjCEtU0vFd+dFktGd6Xp+yxSSI/R7fjc="; }; @@ -32,8 +32,8 @@ rustPlatform.buildRustPackage rec { mainProgram = "nix-your-shell"; description = "`nix` and `nix-shell` wrapper for shells other than `bash`"; homepage = "https://github.com/MercuryTechnologies/nix-your-shell"; - changelog = "https://github.com/MercuryTechnologies/nix-your-shell/releases/tag/v${version}"; + changelog = "https://github.com/MercuryTechnologies/nix-your-shell/releases/tag/v${finalAttrs.version}"; license = [ lib.licenses.mit ]; maintainers = with lib.maintainers; [ _9999years ]; }; -} +}) diff --git a/pkgs/by-name/ni/nixci/package.nix b/pkgs/by-name/ni/nixci/package.nix index 7dc93c622c88..1ade9d00a359 100644 --- a/pkgs/by-name/ni/nixci/package.nix +++ b/pkgs/by-name/ni/nixci/package.nix @@ -9,14 +9,14 @@ nix, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nixci"; version = "1.0.0"; src = fetchFromGitHub { owner = "srid"; repo = "nixci"; - tag = version; + tag = finalAttrs.version; hash = "sha256-0VvZFclqwAcKN95eusQ3lgV0pp1NRUDcVXpVUC0P4QI="; }; @@ -58,4 +58,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "nixci"; }; -} +}) diff --git a/pkgs/by-name/ni/nixel/package.nix b/pkgs/by-name/ni/nixel/package.nix index df6697be71d1..c544f0aab132 100644 --- a/pkgs/by-name/ni/nixel/package.nix +++ b/pkgs/by-name/ni/nixel/package.nix @@ -6,14 +6,14 @@ nixel, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nixel"; version = "4.1.0"; src = fetchFromGitHub { owner = "kamadorueda"; repo = "nixel"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-dQ3wzBTjteqk9rju+FMAO+ydimnGu24Y2DEDLX/P+1A="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ kamadorueda ]; }; -} +}) diff --git a/pkgs/by-name/ni/nixpacks/package.nix b/pkgs/by-name/ni/nixpacks/package.nix index 1b8be9defdb0..e92d294ed3f2 100644 --- a/pkgs/by-name/ni/nixpacks/package.nix +++ b/pkgs/by-name/ni/nixpacks/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nixpacks"; version = "1.41.0"; src = fetchFromGitHub { owner = "railwayapp"; repo = "nixpacks"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-y2zrXS56fSsPaVmJcUxTMYhOroYjcNKepuI9tmdORsY="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.zoedsoupe ]; mainProgram = "nixpacks"; }; -} +}) diff --git a/pkgs/by-name/ni/nixpkgs-fmt/package.nix b/pkgs/by-name/ni/nixpkgs-fmt/package.nix index 52088ecb813b..cbb6231876ea 100644 --- a/pkgs/by-name/ni/nixpkgs-fmt/package.nix +++ b/pkgs/by-name/ni/nixpkgs-fmt/package.nix @@ -3,14 +3,14 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nixpkgs-fmt"; version = "1.3.0"; src = fetchFromGitHub { owner = "nix-community"; repo = "nixpkgs-fmt"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-6Ut4/ix915EoaPCewoG3KhKBA+OaggpDqnx2nvKxEpQ="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ zimbatm ]; mainProgram = "nixpkgs-fmt"; }; -} +}) diff --git a/pkgs/by-name/ni/nixpkgs-lint-community/package.nix b/pkgs/by-name/ni/nixpkgs-lint-community/package.nix index bd2cdc197921..6bf587d853ac 100644 --- a/pkgs/by-name/ni/nixpkgs-lint-community/package.nix +++ b/pkgs/by-name/ni/nixpkgs-lint-community/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nixpkgs-lint"; version = "0.3.0"; src = fetchFromGitHub { owner = "nix-community"; repo = "nixpkgs-lint"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-o1VWM46lEJ9m49s/ekZWf8DkCeeWm4J3PQtt8tVXHbg="; }; @@ -21,10 +21,10 @@ rustPlatform.buildRustPackage rec { description = "Fast semantic linter for Nix using tree-sitter"; mainProgram = "nixpkgs-lint"; homepage = "https://github.com/nix-community/nixpkgs-lint"; - changelog = "https://github.com/nix-community/nixpkgs-lint/releases/tag/${src.rev}"; + changelog = "https://github.com/nix-community/nixpkgs-lint/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ artturin ]; }; -} +}) diff --git a/pkgs/by-name/ni/nixseparatedebuginfod2/package.nix b/pkgs/by-name/ni/nixseparatedebuginfod2/package.nix index d01deb4f7902..1b1eae121523 100644 --- a/pkgs/by-name/ni/nixseparatedebuginfod2/package.nix +++ b/pkgs/by-name/ni/nixseparatedebuginfod2/package.nix @@ -11,14 +11,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nixseparatedebuginfod2"; version = "1.0.1"; src = fetchFromGitHub { owner = "symphorien"; repo = "nixseparatedebuginfod2"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-INY9mLJ+7i3BoShqFZMELm9aXiDbZkuLyokgm42kEbo="; }; @@ -52,4 +52,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "nixseparatedebuginfod2"; }; -} +}) diff --git a/pkgs/by-name/ni/nixtract/package.nix b/pkgs/by-name/ni/nixtract/package.nix index 306a4a824780..ab0ccc7b7399 100644 --- a/pkgs/by-name/ni/nixtract/package.nix +++ b/pkgs/by-name/ni/nixtract/package.nix @@ -11,14 +11,14 @@ nixtract, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nixtract"; version = "0.3.0"; src = fetchFromGitHub { owner = "tweag"; repo = "nixtract"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-36ciPNSlB1LU+UXP8MLakrBRRqbyiVFN8Jp/JbCe1OY="; }; @@ -56,4 +56,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "nixtract"; maintainers = with lib.maintainers; [ aleksana ]; }; -} +}) diff --git a/pkgs/by-name/nm/nm-file-secret-agent/package.nix b/pkgs/by-name/nm/nm-file-secret-agent/package.nix index 172f4b42840f..95ee17151560 100644 --- a/pkgs/by-name/nm/nm-file-secret-agent/package.nix +++ b/pkgs/by-name/nm/nm-file-secret-agent/package.nix @@ -7,14 +7,14 @@ pkg-config, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nm-file-secret-agent"; version = "1.2.0"; src = fetchFromCodeberg { owner = "lilly"; repo = "nm-file-secret-agent"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-exU+9fN2Wt2+0lQoZS4TFPhCcoDPWEIZldRO9LKux3U="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ lilioid ]; platforms = lib.lists.intersectLists dbus.meta.platforms networkmanager.meta.platforms; }; -} +}) diff --git a/pkgs/by-name/no/noaa-apt/package.nix b/pkgs/by-name/no/noaa-apt/package.nix index dc80d12556b3..43a451a2c90b 100644 --- a/pkgs/by-name/no/noaa-apt/package.nix +++ b/pkgs/by-name/no/noaa-apt/package.nix @@ -12,14 +12,14 @@ pango, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "noaa-apt"; version = "1.4.0"; src = fetchFromGitHub { owner = "martinber"; repo = "noaa-apt"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-wmjglF2+BFmlTfvqt90nbCxuldN8AEFXj7y9tgTvA2Y="; }; @@ -64,7 +64,7 @@ rustPlatform.buildRustPackage rec { tmarkus ]; platforms = lib.platforms.all; - changelog = "https://github.com/martinber/noaa-apt/releases/tag/v${version}"; + changelog = "https://github.com/martinber/noaa-apt/releases/tag/v${finalAttrs.version}"; mainProgram = "noaa-apt"; }; -} +}) diff --git a/pkgs/by-name/no/nomino/package.nix b/pkgs/by-name/no/nomino/package.nix index d4f38d0b18d6..e48a00837396 100644 --- a/pkgs/by-name/no/nomino/package.nix +++ b/pkgs/by-name/no/nomino/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nomino"; version = "1.6.4"; src = fetchFromGitHub { owner = "yaa110"; repo = "nomino"; - rev = version; + rev = finalAttrs.version; hash = "sha256-By7zVHtbrQU0+cSbxNNxCcmTCoFABsjOLk8TCX8iFWA="; }; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Batch rename utility for developers"; homepage = "https://github.com/yaa110/nomino"; - changelog = "https://github.com/yaa110/nomino/releases/tag/${src.rev}"; + changelog = "https://github.com/yaa110/nomino/releases/tag/${finalAttrs.src.rev}"; license = with lib.licenses; [ mit # or asl20 @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "nomino"; }; -} +}) diff --git a/pkgs/by-name/no/noseyparker/package.nix b/pkgs/by-name/no/noseyparker/package.nix index 02e7b34175de..38de3cf08588 100644 --- a/pkgs/by-name/no/noseyparker/package.nix +++ b/pkgs/by-name/no/noseyparker/package.nix @@ -12,14 +12,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "noseyparker"; version = "0.24.0"; src = fetchFromGitHub { owner = "praetorian-inc"; repo = "noseyparker"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-6GxkIxLEgbIgg4nSHvmRedm8PAPBwVxLQUnQzh3NonA="; }; @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec { # Fix error: failed to run custom build command for `vectorscan-rs-sys v0.0.5` # Failed to get C++ compiler version: Os { code: 2, kind: NotFound, message: "No such file or directory" } postPatch = '' - substituteInPlace $(find ../noseyparker-${version}-vendor -name "vectorscan-rs-sys*")/build.rs \ + substituteInPlace $(find ../noseyparker-${finalAttrs.version}-vendor -name "vectorscan-rs-sys*")/build.rs \ --replace-fail 'Command::new("c++")' 'Command::new("${stdenv.cc.targetPrefix}c++")' ''; @@ -86,8 +86,8 @@ rustPlatform.buildRustPackage rec { description = "Find secrets and sensitive information in textual data"; mainProgram = "noseyparker"; homepage = "https://github.com/praetorian-inc/noseyparker"; - changelog = "https://github.com/praetorian-inc/noseyparker/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/praetorian-inc/noseyparker/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ _0x4A6F ]; }; -} +}) diff --git a/pkgs/by-name/no/nostr-rs-relay/package.nix b/pkgs/by-name/no/nostr-rs-relay/package.nix index 84a14dcc6c2e..7aea9427584e 100644 --- a/pkgs/by-name/no/nostr-rs-relay/package.nix +++ b/pkgs/by-name/no/nostr-rs-relay/package.nix @@ -9,13 +9,13 @@ protobuf, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nostr-rs-relay"; version = "0.9.0"; src = fetchFromGitHub { owner = "scsibug"; repo = "nostr-rs-relay"; - rev = version; + rev = finalAttrs.version; hash = "sha256-MS5jgUh9aLAFr4Nnf3Wid+ki0PTfsyob3r16/EXYZ7E="; }; @@ -36,8 +36,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "Nostr relay written in Rust"; homepage = "https://sr.ht/~gheartsfield/nostr-rs-relay/"; - changelog = "https://github.com/scsibug/nostr-rs-relay/releases/tag/${version}"; + changelog = "https://github.com/scsibug/nostr-rs-relay/releases/tag/${finalAttrs.version}"; maintainers = with lib.maintainers; [ jurraca ]; license = lib.licenses.mit; }; -} +}) diff --git a/pkgs/by-name/no/nostui/package.nix b/pkgs/by-name/no/nostui/package.nix index eea754c3cea2..ee987669e91e 100644 --- a/pkgs/by-name/no/nostui/package.nix +++ b/pkgs/by-name/no/nostui/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nostui"; version = "0.1.1"; src = fetchFromGitHub { owner = "akiomik"; repo = "nostui"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-7i76JPg6MAk4/sO8/JI4ody4iYFJPeLkD2SWncFhT4o="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; mainProgram = "nostui"; }; -} +}) diff --git a/pkgs/by-name/no/notmuch-mailmover/package.nix b/pkgs/by-name/no/notmuch-mailmover/package.nix index 946a95b53498..95037f43ce99 100644 --- a/pkgs/by-name/no/notmuch-mailmover/package.nix +++ b/pkgs/by-name/no/notmuch-mailmover/package.nix @@ -8,14 +8,14 @@ installShellFiles, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "notmuch-mailmover"; version = "0.7.1"; src = fetchFromGitHub { owner = "michaeladler"; repo = "notmuch-mailmover"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-fJljqNSPLM1JiyeGMNvub/4wk5L9+lVTqtgCdoe7S88="; }; @@ -56,4 +56,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/no/novops/package.nix b/pkgs/by-name/no/novops/package.nix index 48cd7ba94c4b..582b31f11fbc 100644 --- a/pkgs/by-name/no/novops/package.nix +++ b/pkgs/by-name/no/novops/package.nix @@ -9,14 +9,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "novops"; version = "0.20.1"; src = fetchFromGitHub { owner = "PierreBeucher"; repo = "novops"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-F3MtDTaeLoI54/xbbIU61hb+qLDn2u4lRv+3kU5c/D0="; }; @@ -54,4 +54,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ pbeucher ]; mainProgram = "novops"; }; -} +}) diff --git a/pkgs/by-name/np/npins/package.nix b/pkgs/by-name/np/npins/package.nix index c9ebd5a887e7..0d04604c35cf 100644 --- a/pkgs/by-name/np/npins/package.nix +++ b/pkgs/by-name/np/npins/package.nix @@ -15,14 +15,14 @@ let git ]; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "npins"; version = "0.4.0"; src = fetchFromGitHub { owner = "andir"; repo = "npins"; - tag = version; + tag = finalAttrs.version; sha256 = "sha256-ksOXi7u4bpHyWNHwkUR62fdwKowPW5GqBS7MA7Apwh4="; }; @@ -50,4 +50,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.eupl12; maintainers = with lib.maintainers; [ piegames ]; }; -} +}) diff --git a/pkgs/by-name/np/nps/package.nix b/pkgs/by-name/np/nps/package.nix index df9afac22584..206e91c7f844 100644 --- a/pkgs/by-name/np/nps/package.nix +++ b/pkgs/by-name/np/nps/package.nix @@ -6,14 +6,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nps"; version = "0.2.12"; src = fetchFromGitHub { owner = "OleMussmann"; repo = "nps"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-kOVpn13lJYeO/99e39c0wbe7qcKHyMj5v4prBtZ3N7s="; }; @@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec { direct SEARCH_TERMbar (PACKAGE_NAME starts with SEARCH_TERM) exact SEARCH_TERM (PACKAGE_NAME is exactly SEARCH_TERM) ''; - changelog = "https://github.com/OleMussmann/nps/releases/tag/v${version}"; + changelog = "https://github.com/OleMussmann/nps/releases/tag/v${finalAttrs.version}"; homepage = "https://github.com/OleMussmann/nps"; license = lib.licenses.mit; mainProgram = "nps"; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/nr/nrr/package.nix b/pkgs/by-name/nr/nrr/package.nix index 89a2992286c5..3c1d63ab93e1 100644 --- a/pkgs/by-name/nr/nrr/package.nix +++ b/pkgs/by-name/nr/nrr/package.nix @@ -5,14 +5,14 @@ enableLTO ? true, nrxAlias ? true, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nrr"; version = "0.10.4"; src = fetchFromGitHub { owner = "ryanccn"; repo = "nrr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-/PB5m0gVjhQxYB7IeR59gs4n1vuleFc0ZLBY0a+JYWI="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Only; mainProgram = "nrr"; }; -} +}) diff --git a/pkgs/by-name/ns/nsh/package.nix b/pkgs/by-name/ns/nsh/package.nix index a88c93d5ddc6..23e5be39e998 100644 --- a/pkgs/by-name/ns/nsh/package.nix +++ b/pkgs/by-name/ns/nsh/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nsh"; version = "0.4.2"; src = fetchFromGitHub { owner = "nuta"; repo = "nsh"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "1479wv8h5l2b0cwp27vpybq50nyvszhjxmn76n2bz3fchr0lrcbp"; }; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { description = "Command-line shell like fish, but POSIX compatible"; mainProgram = "nsh"; homepage = "https://github.com/nuta/nsh"; - changelog = "https://github.com/nuta/nsh/raw/v${version}/docs/changelog.md"; + changelog = "https://github.com/nuta/nsh/raw/v${finalAttrs.version}/docs/changelog.md"; license = [ lib.licenses.cc0 # or lib.licenses.mit @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { passthru = { shellPath = "/bin/nsh"; }; -} +}) diff --git a/pkgs/by-name/nt/ntpd-rs/package.nix b/pkgs/by-name/nt/ntpd-rs/package.nix index f45e74a3ec40..ae668cc6e273 100644 --- a/pkgs/by-name/nt/ntpd-rs/package.nix +++ b/pkgs/by-name/nt/ntpd-rs/package.nix @@ -11,14 +11,14 @@ testers, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ntpd-rs"; version = "1.6.2"; src = fetchFromGitHub { owner = "pendulum-project"; repo = "ntpd-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-X8nmfG7ZhtB4P6N0ku0Gc9xHOGJFeGTnB1WizZ2X1fk="; }; @@ -53,7 +53,7 @@ rustPlatform.buildRustPackage rec { nixos = lib.optionalAttrs stdenv.hostPlatform.isLinux nixosTests.ntpd-rs; version = testers.testVersion { package = ntpd-rs; - inherit version; + inherit (finalAttrs) version; }; }; @@ -63,7 +63,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Full-featured implementation of the Network Time Protocol"; homepage = "https://tweedegolf.nl/en/pendulum"; - changelog = "https://github.com/pendulum-project/ntpd-rs/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/pendulum-project/ntpd-rs/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit # or asl20 @@ -76,4 +76,4 @@ rustPlatform.buildRustPackage rec { # note: Undefined symbols for architecture x86_64: "_ntp_adjtime" broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; }; -} +}) diff --git a/pkgs/by-name/nu/numbat/package.nix b/pkgs/by-name/nu/numbat/package.nix index 74cca53a7c9e..4805481ad3db 100644 --- a/pkgs/by-name/nu/numbat/package.nix +++ b/pkgs/by-name/nu/numbat/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "numbat"; version = "1.20.0"; src = fetchFromGitHub { owner = "sharkdp"; repo = "numbat"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Wh7HmE9UPu7+/aguaqON2/pmEHulYw69O0YjoKeDuRg="; }; @@ -59,7 +59,7 @@ rustPlatform.buildRustPackage rec { with first class support for physical dimensions and units ''; homepage = "https://numbat.dev"; - changelog = "https://github.com/sharkdp/numbat/releases/tag/v${version}"; + changelog = "https://github.com/sharkdp/numbat/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ asl20 mit @@ -70,4 +70,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "numbat"; }; -} +}) diff --git a/pkgs/by-name/nu/nurl/package.nix b/pkgs/by-name/nu/nurl/package.nix index dfbd103ab7b4..4c1c0df500dd 100644 --- a/pkgs/by-name/nu/nurl/package.nix +++ b/pkgs/by-name/nu/nurl/package.nix @@ -9,14 +9,14 @@ nix, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nurl"; version = "0.4.0"; src = fetchFromGitHub { owner = "nix-community"; repo = "nurl"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-BxtvT2k4mErYPU9lNpZlat9ULI2wKXQToic7+PgkCSk="; }; @@ -53,7 +53,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command-line tool to generate Nix fetcher calls from repository URLs"; homepage = "https://github.com/nix-community/nurl"; - changelog = "https://github.com/nix-community/nurl/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/nix-community/nurl/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ figsoda @@ -61,4 +61,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "nurl"; }; -} +}) diff --git a/pkgs/by-name/nv/nvidia_oc/package.nix b/pkgs/by-name/nv/nvidia_oc/package.nix index 68274b4ac9ab..79de076afcc5 100644 --- a/pkgs/by-name/nv/nvidia_oc/package.nix +++ b/pkgs/by-name/nv/nvidia_oc/package.nix @@ -6,14 +6,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nvidia_oc"; version = "0.1.24"; src = fetchFromGitHub { owner = "Dreaming-Codes"; repo = "nvidia_oc"; - tag = version; + tag = finalAttrs.version; hash = "sha256-PIe4oJndISf6wDxHGQvTeN37cFa+3m6RwmxXRlseePc="; }; @@ -32,9 +32,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Simple command line tool to overclock Nvidia GPUs using the NVML library on Linux"; homepage = "https://github.com/Dreaming-Codes/nvidia_oc"; - changelog = "https://github.com/Dreaming-Codes/nvidia_oc/releases/tag/${version}"; + changelog = "https://github.com/Dreaming-Codes/nvidia_oc/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ genga898 ]; mainProgram = "nvidia_oc"; }; -} +}) diff --git a/pkgs/by-name/nv/nvmetcfg/package.nix b/pkgs/by-name/nv/nvmetcfg/package.nix index e47ce7b07be9..4d6cb2a4b636 100644 --- a/pkgs/by-name/nv/nvmetcfg/package.nix +++ b/pkgs/by-name/nv/nvmetcfg/package.nix @@ -5,14 +5,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "nvmetcfg"; version = "0.1.0"; src = fetchFromGitHub { owner = "vifino"; repo = "nvmetcfg"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-LoQTcHM6czzQ5ZwXcklFXf/7WlRsoJTF61UhQ56aleQ="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "nvmetcfg"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ob/obsidian-export/package.nix b/pkgs/by-name/ob/obsidian-export/package.nix index b9753617003c..b82c7df11b7c 100644 --- a/pkgs/by-name/ob/obsidian-export/package.nix +++ b/pkgs/by-name/ob/obsidian-export/package.nix @@ -4,25 +4,25 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "obsidian-export"; version = "25.3.0"; src = fetchFromGitHub { owner = "zoni"; repo = "obsidian-export"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-FcySNccDVeftX5BKVwYXdufsCmG8YuFBQrbSqibbVV8="; }; cargoHash = "sha256-2rP1ks+47fI5Os7ltktPVUzvYss+KkjftrE4G0cl8XI="; meta = { - changelog = "https://github.com/zoni/obsidian-export/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/zoni/obsidian-export/blob/${finalAttrs.src.rev}/CHANGELOG.md"; description = "Rust library and CLI to export an Obsidian vault to regular Markdown"; homepage = "https://github.com/zoni/obsidian-export"; license = lib.licenses.bsd2Patent; mainProgram = "obsidian-export"; maintainers = with lib.maintainers; [ tomasajt ]; }; -} +}) diff --git a/pkgs/by-name/oc/octofetch/package.nix b/pkgs/by-name/oc/octofetch/package.nix index 75f6d3a65ba9..c1b8bfd09d75 100644 --- a/pkgs/by-name/oc/octofetch/package.nix +++ b/pkgs/by-name/oc/octofetch/package.nix @@ -7,14 +7,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "octofetch"; version = "0.3.3"; src = fetchFromGitHub { owner = "azur1s"; repo = "octofetch"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-/AXE1e02NfxQzJZd0QX6gJDjmFFmuUTOndulZElgIMI="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "octofetch"; }; -} +}) diff --git a/pkgs/by-name/ok/okapi/package.nix b/pkgs/by-name/ok/okapi/package.nix index 0df0888d949b..92d2bb859a4f 100644 --- a/pkgs/by-name/ok/okapi/package.nix +++ b/pkgs/by-name/ok/okapi/package.nix @@ -4,12 +4,12 @@ fetchurl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "okapi"; version = "1.6.0"; src = fetchurl { - url = "https://github.com/trinsic-id/okapi/releases/download/v${version}/okapi-vendor-${version}.tar.gz"; + url = "https://github.com/trinsic-id/okapi/releases/download/v${finalAttrs.version}/okapi-vendor-${finalAttrs.version}.tar.gz"; sha256 = "sha256-wszpCzh1VhqBlox7ywWi6WKUmxQUTsf5N5IiJumlEbM="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ tmarkovski ]; }; -} +}) diff --git a/pkgs/by-name/ok/okolors/package.nix b/pkgs/by-name/ok/okolors/package.nix index 681aeec2ea16..3441467b57ee 100644 --- a/pkgs/by-name/ok/okolors/package.nix +++ b/pkgs/by-name/ok/okolors/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "okolors"; version = "0.9.0"; src = fetchFromGitHub { owner = "Ivordir"; repo = "Okolors"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-RSkZUkwCn9uvvT2dIqM2Q4+mRqjUegVuXCms5DBugbk="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ laurent-f1z1 ]; mainProgram = "okolors"; }; -} +}) diff --git a/pkgs/by-name/om/omekasy/package.nix b/pkgs/by-name/om/omekasy/package.nix index 3b5a8b1b1827..dd75f9b37f2b 100644 --- a/pkgs/by-name/om/omekasy/package.nix +++ b/pkgs/by-name/om/omekasy/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "omekasy"; version = "1.3.3"; src = fetchFromGitHub { owner = "ikanago"; repo = "omekasy"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-wPAobYZAytzTIWGBeBVoRLjm/0Io/P7GXL1naB6ssNM="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/ikanago/omekasy"; mainProgram = "omekasy"; }; -} +}) diff --git a/pkgs/by-name/on/onefetch/package.nix b/pkgs/by-name/on/onefetch/package.nix index e4fc8fc57f1a..3e103fa3c861 100644 --- a/pkgs/by-name/on/onefetch/package.nix +++ b/pkgs/by-name/on/onefetch/package.nix @@ -14,14 +14,14 @@ let inherit (darwin) libresolv; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "onefetch"; version = "2.26.1"; src = fetchFromGitHub { owner = "o2sh"; repo = "onefetch"; - rev = version; + rev = finalAttrs.version; hash = "sha256-JT7iQRKOK/2Zh/IDMv1FM1szITeBaaMy+WuXHjpPkfY="; }; @@ -67,11 +67,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Git repository summary on your terminal"; homepage = "https://github.com/o2sh/onefetch"; - changelog = "https://github.com/o2sh/onefetch/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/o2sh/onefetch/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ kloenk ]; mainProgram = "onefetch"; }; -} +}) diff --git a/pkgs/by-name/on/onetun/package.nix b/pkgs/by-name/on/onetun/package.nix index 179e31e8e0ac..dd5c78f20a4b 100644 --- a/pkgs/by-name/on/onetun/package.nix +++ b/pkgs/by-name/on/onetun/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "onetun"; version = "0.3.10"; src = fetchFromGitHub { owner = "aramperes"; repo = "onetun"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-bggBBl2YQUncfOYIDsPgrHPwznCJQOlIOY3bbiZz7Rw="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "onetun"; }; -} +}) diff --git a/pkgs/by-name/oo/oo7/package.nix b/pkgs/by-name/oo/oo7/package.nix index 26e004d7f56f..9f91a0f82c15 100644 --- a/pkgs/by-name/oo/oo7/package.nix +++ b/pkgs/by-name/oo/oo7/package.nix @@ -8,14 +8,14 @@ testers, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "oo7"; version = "0.5.0"; src = fetchFromGitHub { owner = "bilelmoussaoui"; repo = "oo7"; - rev = version; + rev = finalAttrs.version; hash = "sha256-FIHXjbxAqEH3ekTNL0/TBFZoeDYZ84W2+UeJDxcauk8="; }; @@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "James Bond went on a new mission as a Secret Service provider"; homepage = "https://github.com/bilelmoussaoui/oo7"; - changelog = "https://github.com/bilelmoussaoui/oo7/releases/tag/${src.rev}"; + changelog = "https://github.com/bilelmoussaoui/oo7/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ getchoo @@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "oo7-cli"; }; -} +}) diff --git a/pkgs/by-name/op/open-scq30/package.nix b/pkgs/by-name/op/open-scq30/package.nix index 2e0611382db2..662da831b374 100644 --- a/pkgs/by-name/op/open-scq30/package.nix +++ b/pkgs/by-name/op/open-scq30/package.nix @@ -15,14 +15,14 @@ cargo-make, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "open-scq30"; version = "1.12.0"; src = fetchFromGitHub { owner = "Oppzippy"; repo = "OpenSCQ30"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-DL2hYm1j27K0nnBvE3iGnguqm0m1k56bkuG+6+u4u4c="; }; @@ -61,9 +61,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Cross platform application for controlling settings of Soundcore headphones"; homepage = "https://github.com/Oppzippy/OpenSCQ30"; - changelog = "https://github.com/Oppzippy/OpenSCQ30/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/Oppzippy/OpenSCQ30/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ mkg20001 ]; mainProgram = "open-scq30"; }; -} +}) diff --git a/pkgs/by-name/op/openapi-tui/package.nix b/pkgs/by-name/op/openapi-tui/package.nix index f29dfa665c93..87226c89d2ed 100644 --- a/pkgs/by-name/op/openapi-tui/package.nix +++ b/pkgs/by-name/op/openapi-tui/package.nix @@ -7,14 +7,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "openapi-tui"; version = "0.10.2"; src = fetchFromGitHub { owner = "zaghaghi"; repo = "openapi-tui"; - rev = version; + rev = finalAttrs.version; hash = "sha256-rC0lfWZpiiAAShyVDqr1gKTeWmWC+gVp4UmL96Y81mE="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ matthiasbeyer ]; mainProgram = "openapi-tui"; }; -} +}) diff --git a/pkgs/by-name/op/openpgp-ca/package.nix b/pkgs/by-name/op/openpgp-ca/package.nix index 7ad920ac2479..522c980a65c4 100644 --- a/pkgs/by-name/op/openpgp-ca/package.nix +++ b/pkgs/by-name/op/openpgp-ca/package.nix @@ -11,14 +11,14 @@ sqlite, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "openpgp-ca"; version = "0.14.0"; src = fetchFromGitLab { owner = "openpgp-ca"; repo = "openpgp-ca"; - rev = "openpgp-ca/v${version}"; + rev = "openpgp-ca/v${finalAttrs.version}"; hash = "sha256-71SApct2yQV3ueWDlZv7ScK1s0nWWS57cPCvoMutlLA="; }; @@ -54,4 +54,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ cherrykitten ]; mainProgram = "oca"; }; -} +}) diff --git a/pkgs/by-name/op/openpgp-card-tools/package.nix b/pkgs/by-name/op/openpgp-card-tools/package.nix index 6f1b10535ba9..411789da106f 100644 --- a/pkgs/by-name/op/openpgp-card-tools/package.nix +++ b/pkgs/by-name/op/openpgp-card-tools/package.nix @@ -11,14 +11,14 @@ openpgp-card-tools, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "openpgp-card-tools"; version = "0.11.10"; src = fetchFromCodeberg { owner = "openpgp-card"; repo = "openpgp-card-tools"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-1sm/zaKhUPMGdYg8sX/IXAI4vIRRZezSD89rljG4S/Y="; }; @@ -58,4 +58,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ nickcao ]; mainProgram = "oct"; }; -} +}) diff --git a/pkgs/by-name/or/oranda/package.nix b/pkgs/by-name/or/oranda/package.nix index 6919413fbfe6..5440912195ee 100644 --- a/pkgs/by-name/or/oranda/package.nix +++ b/pkgs/by-name/or/oranda/package.nix @@ -8,14 +8,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "oranda"; version = "0.6.5"; src = fetchFromGitHub { owner = "axodotdev"; repo = "oranda"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-FVd8NQVtzlZsDY40ZMJDdaX+6Q5jUxZHUq2v+kDFVOk="; }; @@ -48,7 +48,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Generate beautiful landing pages for your developer tools"; homepage = "https://github.com/axodotdev/oranda"; - changelog = "https://github.com/axodotdev/oranda/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/axodotdev/oranda/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -56,4 +56,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "oranda"; }; -} +}) diff --git a/pkgs/by-name/or/ord/package.nix b/pkgs/by-name/or/ord/package.nix index a04bdfa186ef..a08f52c41a73 100644 --- a/pkgs/by-name/or/ord/package.nix +++ b/pkgs/by-name/or/ord/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ord"; version = "0.24.2"; src = fetchFromGitHub { owner = "ordinals"; repo = "ord"; - rev = version; + rev = finalAttrs.version; hash = "sha256-wGwetpZwYuQ6NhZ5to6PTQdhlEz+66iM26x0ZqNfwH0="; }; @@ -36,9 +36,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Index, block explorer, and command-line wallet for Ordinals"; homepage = "https://github.com/ordinals/ord"; - changelog = "https://github.com/ordinals/ord/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/ordinals/ord/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.cc0; maintainers = with lib.maintainers; [ xrelkd ]; mainProgram = "ord"; }; -} +}) diff --git a/pkgs/by-name/os/oscavmgr/package.nix b/pkgs/by-name/os/oscavmgr/package.nix index 4b5282f8eb1b..924035628fcc 100644 --- a/pkgs/by-name/os/oscavmgr/package.nix +++ b/pkgs/by-name/os/oscavmgr/package.nix @@ -10,14 +10,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "oscavmgr"; version = "25.2"; src = fetchFromGitHub { owner = "galister"; repo = "oscavmgr"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-592qj0dHn0fbIFt4Y+1TESIOUpwXcJ2tnlKNcYuxriQ="; }; @@ -49,7 +49,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Face tracking & utilities for Resonite and VRChat"; homepage = "https://github.com/galister/oscavmgr"; - changelog = "https://github.com/galister/oscavmgr/releases/tag/v${version}"; + changelog = "https://github.com/galister/oscavmgr/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ pandapip1 @@ -57,4 +57,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "oscavmgr"; }; -} +}) diff --git a/pkgs/by-name/ot/otadump/package.nix b/pkgs/by-name/ot/otadump/package.nix index 6bd799b1750f..cb517af57745 100644 --- a/pkgs/by-name/ot/otadump/package.nix +++ b/pkgs/by-name/ot/otadump/package.nix @@ -7,14 +7,14 @@ xz, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "otadump"; version = "0.1.2"; src = fetchFromGitHub { owner = "crazystylus"; repo = "otadump"; - rev = version; + rev = finalAttrs.version; hash = "sha256-4zPVcTU+0otV4EPQi80uSRkpRo9XzI0V3Kr17ugXX2U="; }; @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.axka ]; mainProgram = "otadump"; }; -} +}) diff --git a/pkgs/by-name/ot/otree/package.nix b/pkgs/by-name/ot/otree/package.nix index 4741ac51f266..9508932a8ba7 100644 --- a/pkgs/by-name/ot/otree/package.nix +++ b/pkgs/by-name/ot/otree/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "otree"; version = "0.6.4"; src = fetchFromGitHub { owner = "fioncat"; repo = "otree"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-7Yv8krhtA+YAbJmF/bxgWb6NZBzg/fubxkzDEeOw4xU="; }; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command line tool to view objects (JSON/YAML/TOML/XML) in TUI tree widget"; homepage = "https://github.com/fioncat/otree"; - changelog = "https://github.com/fioncat/otree/releases/tag/v${version}"; + changelog = "https://github.com/fioncat/otree/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "otree"; maintainers = with lib.maintainers; [ @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { kiara ]; }; -} +}) diff --git a/pkgs/by-name/ou/ouch/package.nix b/pkgs/by-name/ou/ouch/package.nix index d897807c8fee..13f58078827c 100644 --- a/pkgs/by-name/ou/ouch/package.nix +++ b/pkgs/by-name/ou/ouch/package.nix @@ -16,14 +16,14 @@ enableUnfree ? false, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ouch"; version = "0.6.1"; src = fetchFromGitHub { owner = "ouch-org"; repo = "ouch"; - rev = version; + rev = finalAttrs.version; hash = "sha256-vNeOJOyQsjDUzScA1a/W+SI1Z67HTLiHjwWZZpr1Paw="; }; @@ -68,7 +68,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command-line utility for easily compressing and decompressing files and directories"; homepage = "https://github.com/ouch-org/ouch"; - changelog = "https://github.com/ouch-org/ouch/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/ouch-org/ouch/blob/${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit ] ++ lib.optionals enableUnfree [ unfreeRedistributable ]; maintainers = with lib.maintainers; [ psibi @@ -76,4 +76,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "ouch"; }; -} +}) diff --git a/pkgs/by-name/ow/owmods-cli/package.nix b/pkgs/by-name/ow/owmods-cli/package.nix index 59145e641333..f29dd367bcf3 100644 --- a/pkgs/by-name/ow/owmods-cli/package.nix +++ b/pkgs/by-name/ow/owmods-cli/package.nix @@ -14,14 +14,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "owmods-cli"; version = "0.15.4"; src = fetchFromGitHub { owner = "ow-mods"; repo = "ow-mod-man"; - rev = "cli_v${version}"; + rev = "cli_v${finalAttrs.version}"; hash = "sha256-Tu7+H8RCUxKqCtdkPDzEUnK2VUq+80R+kumHRJqf7RY="; }; @@ -54,7 +54,7 @@ rustPlatform.buildRustPackage rec { dist/cli/completions/owmods.{bash,fish,zsh} '' + lib.optionalString wrapWithMono '' - wrapProgram $out/bin/${meta.mainProgram} --prefix PATH : '${mono}/bin' + wrapProgram $out/bin/${finalAttrs.meta.mainProgram} --prefix PATH : '${mono}/bin' ''; passthru.updateScript = nix-update-script { }; @@ -62,8 +62,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI version of the mod manager for Outer Wilds Mod Loader"; homepage = "https://github.com/ow-mods/ow-mod-man/tree/main/owmods_cli"; - downloadPage = "https://github.com/ow-mods/ow-mod-man/releases/tag/cli_v${version}"; - changelog = "https://github.com/ow-mods/ow-mod-man/releases/tag/cli_v${version}"; + downloadPage = "https://github.com/ow-mods/ow-mod-man/releases/tag/cli_v${finalAttrs.version}"; + changelog = "https://github.com/ow-mods/ow-mod-man/releases/tag/cli_v${finalAttrs.version}"; mainProgram = "owmods"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ @@ -72,4 +72,4 @@ rustPlatform.buildRustPackage rec { locochoco ]; }; -} +}) diff --git a/pkgs/by-name/ow/owmods-gui/package.nix b/pkgs/by-name/ow/owmods-gui/package.nix index b56788379cc5..e195e9702fa9 100644 --- a/pkgs/by-name/ow/owmods-gui/package.nix +++ b/pkgs/by-name/ow/owmods-gui/package.nix @@ -16,14 +16,14 @@ mono, wrapWithMono ? true, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "owmods-gui"; version = "0.15.4"; src = fetchFromGitHub { owner = "ow-mods"; repo = "ow-mod-man"; - tag = "gui_v${version}"; + tag = "gui_v${finalAttrs.version}"; hash = "sha256-1m648o9hm7j/etNNhGy2Yq9paz6ZHWDxVBLGdzGMbZQ="; }; @@ -56,14 +56,14 @@ rustPlatform.buildRustPackage rec { postPatch = let frontend = buildNpmPackage { - inherit version; + inherit (finalAttrs) version; env.VITE_VERSION_SUFFIX = "-nix"; pname = "owmods-gui-ui"; - src = "${src}/owmods_gui/frontend"; + src = "${finalAttrs.src}/owmods_gui/frontend"; - packageJSON = "${src}/owmods_gui/frontend/package.json"; + packageJSON = "${finalAttrs.src}/owmods_gui/frontend/package.json"; npmDepsHash = "sha256-PDpL8Cdl6U17wPBGmyg5kYP5zh1NXRPVnaW4WrFD3oM="; postBuild = '' @@ -109,8 +109,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "GUI version of the mod manager for Outer Wilds Mod Loader"; homepage = "https://github.com/ow-mods/ow-mod-man/tree/main/owmods_gui"; - downloadPage = "https://github.com/ow-mods/ow-mod-man/releases/tag/gui_v${version}"; - changelog = "https://github.com/ow-mods/ow-mod-man/releases/tag/gui_v${version}"; + downloadPage = "https://github.com/ow-mods/ow-mod-man/releases/tag/gui_v${finalAttrs.version}"; + changelog = "https://github.com/ow-mods/ow-mod-man/releases/tag/gui_v${finalAttrs.version}"; mainProgram = "outer-wilds-mod-manager"; platforms = lib.platforms.linux; license = lib.licenses.gpl3Plus; @@ -120,4 +120,4 @@ rustPlatform.buildRustPackage rec { spoonbaker ]; }; -} +}) diff --git a/pkgs/by-name/ox/ox/package.nix b/pkgs/by-name/ox/ox/package.nix index b1603cac0eb2..d514553a5f67 100644 --- a/pkgs/by-name/ox/ox/package.nix +++ b/pkgs/by-name/ox/ox/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ox"; version = "0.7.7"; src = fetchFromGitHub { owner = "curlpipe"; repo = "ox"; - tag = version; + tag = finalAttrs.version; hash = "sha256-h4oC+TRLPKgXid4YIn2TdTxgEBvbBDy66jfbyA5ia4o="; }; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { versionCheckHook ]; doInstallCheck = true; - versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}"; + versionCheckProgram = "${placeholder "out"}/bin/${finalAttrs.meta.mainProgram}"; passthru = { updateScript = nix-update-script { }; @@ -32,11 +32,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Independent Rust text editor that runs in your terminal"; homepage = "https://github.com/curlpipe/ox"; - changelog = "https://github.com/curlpipe/ox/releases/tag/${version}"; + changelog = "https://github.com/curlpipe/ox/releases/tag/${finalAttrs.version}"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ moni ]; mainProgram = "ox"; }; -} +}) diff --git a/pkgs/by-name/ox/oxide-rs/package.nix b/pkgs/by-name/ox/oxide-rs/package.nix index 4be1231203af..8f5ce64554e6 100644 --- a/pkgs/by-name/ox/oxide-rs/package.nix +++ b/pkgs/by-name/ox/oxide-rs/package.nix @@ -9,14 +9,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "oxide-rs"; version = "0.14.0+20251008.0.0"; src = fetchFromGitHub { owner = "oxidecomputer"; repo = "oxide.rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-/xFtANxapsPU99Lj8TN+ZFcLy0AOyq+lcqhqIt3ZWgs="; }; @@ -69,4 +69,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "oxide"; }; -} +}) diff --git a/pkgs/by-name/ox/oxipng/package.nix b/pkgs/by-name/ox/oxipng/package.nix index 81f4a09c0ddb..47cce6215b2a 100644 --- a/pkgs/by-name/ox/oxipng/package.nix +++ b/pkgs/by-name/ox/oxipng/package.nix @@ -4,7 +4,7 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { version = "10.1.0"; pname = "oxipng"; @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "shssoichiro"; repo = "oxipng"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-fPzdko8qcg9zcr79SrEakLqTFj9hDCakl6hTVpW9al8="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dywedir ]; mainProgram = "oxipng"; }; -} +}) diff --git a/pkgs/by-name/pa/package-version-server/package.nix b/pkgs/by-name/pa/package-version-server/package.nix index e03e31ae41f6..7b97fbdccd6b 100644 --- a/pkgs/by-name/pa/package-version-server/package.nix +++ b/pkgs/by-name/pa/package-version-server/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "package-version-server"; version = "0.0.7"; src = fetchFromGitHub { owner = "zed-industries"; repo = "package-version-server"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-/YyJ8+tKrNKVrN+F/oHgtExBBRatIIOvWr9mAyTHA3E="; }; @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec { updateScript = nix-update-script { }; }; - doCheck = lib.versionAtLeast version "0.0.8"; + doCheck = lib.versionAtLeast finalAttrs.version "0.0.8"; meta = { description = "Language server that handles hover information in package.json files"; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ felixdorn ]; mainProgram = "package-version-server"; }; -} +}) diff --git a/pkgs/by-name/pa/packetry/package.nix b/pkgs/by-name/pa/packetry/package.nix index ee6085b37d11..256dd0437f6e 100644 --- a/pkgs/by-name/pa/packetry/package.nix +++ b/pkgs/by-name/pa/packetry/package.nix @@ -9,14 +9,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "packetry"; version = "0.4.0"; src = fetchFromGitHub { owner = "greatscottgadgets"; repo = "packetry"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-eDVom0kAL1QwO8BtrJS76VTvxtKs7CP6Ob5BWlE6wOM="; }; @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "packetry"; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; -} +}) diff --git a/pkgs/by-name/pa/page/package.nix b/pkgs/by-name/pa/page/package.nix index bfe1163eed5b..43e64cb5b5c3 100644 --- a/pkgs/by-name/pa/page/package.nix +++ b/pkgs/by-name/pa/page/package.nix @@ -6,14 +6,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "page"; version = "4.6.3"; src = fetchFromGitHub { owner = "I60R"; repo = "page"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-uNdtgx9/9+KOfQvHiKNrT8NFWtR2tfJuI2bMwywBC/4="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "page"; maintainers = [ lib.maintainers.s1341 ]; }; -} +}) diff --git a/pkgs/by-name/pa/pam_rssh/package.nix b/pkgs/by-name/pa/pam_rssh/package.nix index 984fa6242870..580640a2aa35 100644 --- a/pkgs/by-name/pa/pam_rssh/package.nix +++ b/pkgs/by-name/pa/pam_rssh/package.nix @@ -10,14 +10,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pam_rssh"; version = "1.2.0"; src = fetchFromGitHub { owner = "z4yx"; repo = "pam_rssh"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-VxbaxqyIAwmjjbgfTajqwPQC3bp7g/JNVNx9yy/3tus="; fetchSubmodules = true; }; @@ -77,4 +77,4 @@ rustPlatform.buildRustPackage rec { xyenon ]; }; -} +}) diff --git a/pkgs/by-name/pa/pandoc-katex/package.nix b/pkgs/by-name/pa/pandoc-katex/package.nix index ee45d38f211c..e281f79b8359 100644 --- a/pkgs/by-name/pa/pandoc-katex/package.nix +++ b/pkgs/by-name/pa/pandoc-katex/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pandoc-katex"; version = "0.1.11"; src = fetchFromGitHub { owner = "xu-cheng"; repo = "pandoc-katex"; - rev = version; + rev = finalAttrs.version; hash = "sha256-2a3WJTNIMqWnTlHB+2U/6ifuoecbOlTP6e7YjD/UvPM="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "pandoc-katex"; }; -} +}) diff --git a/pkgs/by-name/pa/paper-age/package.nix b/pkgs/by-name/pa/paper-age/package.nix index af8cd1ed3058..aeb53316b63d 100644 --- a/pkgs/by-name/pa/paper-age/package.nix +++ b/pkgs/by-name/pa/paper-age/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "paper-age"; version = "1.3.4"; src = fetchFromGitHub { owner = "matiaskorhonen"; repo = "paper-age"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-xoxrNNlpDFXuQwltZ52SkGe0z6+B4h1Jy4XRtvQDiAg="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Easy and secure paper backups of secrets"; homepage = "https://github.com/matiaskorhonen/paper-age"; - changelog = "https://github.com/matiaskorhonen/paper-age/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/matiaskorhonen/paper-age/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "paper-age"; }; -} +}) diff --git a/pkgs/by-name/pa/parallel-disk-usage/package.nix b/pkgs/by-name/pa/parallel-disk-usage/package.nix index 11da789fcbf4..73bbe778afe3 100644 --- a/pkgs/by-name/pa/parallel-disk-usage/package.nix +++ b/pkgs/by-name/pa/parallel-disk-usage/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "parallel-disk-usage"; version = "0.21.1"; src = fetchFromGitHub { owner = "KSXGitHub"; repo = "parallel-disk-usage"; - rev = version; + rev = finalAttrs.version; hash = "sha256-EYveK1p/OWvtY5Q0dDlZwFkVt7u/A0qY0BG/oLgwmfE="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.peret ]; mainProgram = "pdu"; }; -} +}) diff --git a/pkgs/by-name/pa/parinfer-rust-emacs/package.nix b/pkgs/by-name/pa/parinfer-rust-emacs/package.nix index abbcc2c681e1..a0175a40a33f 100644 --- a/pkgs/by-name/pa/parinfer-rust-emacs/package.nix +++ b/pkgs/by-name/pa/parinfer-rust-emacs/package.nix @@ -3,14 +3,14 @@ lib, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "parinfer-rust-emacs"; version = "0.4.7"; src = fetchFromGitHub { owner = "justinbarclay"; repo = "parinfer-rust-emacs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-JYKFfbfpkvBRxYUDw2d6DD1mO27OKzdquSOhBk0lXr0="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.isc; maintainers = with lib.maintainers; [ brsvh ]; }; -} +}) diff --git a/pkgs/by-name/pa/parseable/package.nix b/pkgs/by-name/pa/parseable/package.nix index a8588653b29a..b9ad8934f384 100644 --- a/pkgs/by-name/pa/parseable/package.nix +++ b/pkgs/by-name/pa/parseable/package.nix @@ -10,19 +10,19 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "parseable"; version = "2.5.10"; src = fetchFromGitHub { owner = "parseablehq"; repo = "parseable"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Asb6064TqvL9kNkWBMj4Z+1j1yIM+iBWsN+R5EuMOVA="; }; LOCAL_ASSETS_PATH = fetchzip { - url = "https://parseable-prism-build.s3.us-east-2.amazonaws.com/v${version}/build.zip"; + url = "https://parseable-prism-build.s3.us-east-2.amazonaws.com/v${finalAttrs.version}/build.zip"; hash = "sha256-gWzfucetsJJSSjI9nGm7I8xLo0t1VKb4AertiEGuLWA="; }; @@ -47,9 +47,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Disk less, cloud native database for logs, observability, security, and compliance"; homepage = "https://www.parseable.com"; - changelog = "https://github.com/parseablehq/parseable/releases/tag/v${version}"; + changelog = "https://github.com/parseablehq/parseable/releases/tag/v${finalAttrs.version}"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ ilyakooo0 ]; mainProgram = "parseable"; }; -} +}) diff --git a/pkgs/by-name/pa/paru/package.nix b/pkgs/by-name/pa/paru/package.nix index 1f86b25602a8..4ab3a97d0925 100644 --- a/pkgs/by-name/pa/paru/package.nix +++ b/pkgs/by-name/pa/paru/package.nix @@ -10,14 +10,14 @@ pacman, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "paru"; version = "2.1.0"; src = fetchFromGitHub { owner = "Morganamilo"; repo = "paru"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-i99f2ngYhfVCKpImJ8L7u2T2FgOt7Chp8DHDbrNh1kw="; }; @@ -51,10 +51,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Feature packed AUR helper"; homepage = "https://github.com/Morganamilo/paru"; - changelog = "https://github.com/Morganamilo/paru/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/Morganamilo/paru/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ wegank ]; mainProgram = "paru"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/pa/passepartui/package.nix b/pkgs/by-name/pa/passepartui/package.nix index 495a6bc37383..98c3137888d0 100644 --- a/pkgs/by-name/pa/passepartui/package.nix +++ b/pkgs/by-name/pa/passepartui/package.nix @@ -7,14 +7,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "passepartui"; version = "0.1.7"; src = fetchFromGitHub { owner = "kardwen"; repo = "passepartui"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-LV/2+oSGVBRrWaHP/u1PcCb1T6Nduna/lusakCZW+PM="; }; @@ -31,9 +31,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "TUI for pass, the standard unix password manager"; homepage = "https://github.com/kardwen/passepartui"; - changelog = "https://github.com/kardwen/passepartui/releases/tag/v${version}"; + changelog = "https://github.com/kardwen/passepartui/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ getchoo ]; mainProgram = "passepartui"; }; -} +}) diff --git a/pkgs/by-name/pa/passerine/package.nix b/pkgs/by-name/pa/passerine/package.nix index 87c97c2333ee..5eb97a5f16dc 100644 --- a/pkgs/by-name/pa/passerine/package.nix +++ b/pkgs/by-name/pa/passerine/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "passerine"; version = "0.9.3"; src = fetchFromGitHub { owner = "vrtbl"; repo = "passerine"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-TrbcULIJ9+DgQ4QsLYD5okxHoIusGJDw1PqJQwq1zu0="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ siraben ]; }; -} +}) diff --git a/pkgs/by-name/pa/pastel/package.nix b/pkgs/by-name/pa/pastel/package.nix index 2da668d73ac7..906556b284cd 100644 --- a/pkgs/by-name/pa/pastel/package.nix +++ b/pkgs/by-name/pa/pastel/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pastel"; version = "0.11.0"; src = fetchFromGitHub { owner = "sharkdp"; repo = "pastel"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-ISzZZNh9X91vBbVOpYXnYpO3ztGgIhMJTZmoY2T0FRw="; }; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command-line tool to generate, analyze, convert and manipulate colors"; homepage = "https://github.com/sharkdp/pastel"; - changelog = "https://github.com/sharkdp/pastel/releases/tag/v${version}"; + changelog = "https://github.com/sharkdp/pastel/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ asl20 # or mit @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "pastel"; }; -} +}) diff --git a/pkgs/by-name/pa/patsh/package.nix b/pkgs/by-name/pa/patsh/package.nix index 63a7bfec0a5f..8676504b8a55 100644 --- a/pkgs/by-name/pa/patsh/package.nix +++ b/pkgs/by-name/pa/patsh/package.nix @@ -17,14 +17,14 @@ let ''; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "patsh"; version = "0.2.1"; src = fetchFromGitHub { owner = "nix-community"; repo = "patsh"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-d2Br4RAlKO7Bpse8sFbIDCIYd2fYvby0ar9oIbQS2jc="; }; @@ -46,8 +46,8 @@ rustPlatform.buildRustPackage rec { description = "Command-line tool for patching shell scripts inspired by resholve"; mainProgram = "patsh"; homepage = "https://github.com/nix-community/patsh"; - changelog = "https://github.com/nix-community/patsh/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/nix-community/patsh/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/pa/pazi/package.nix b/pkgs/by-name/pa/pazi/package.nix index f362a35593ef..3d72b4ec8df1 100644 --- a/pkgs/by-name/pa/pazi/package.nix +++ b/pkgs/by-name/pa/pazi/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pazi"; version = "0.5.0"; src = fetchFromGitHub { owner = "euank"; repo = "pazi"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-PDgk6VQ/J9vkFJ0N+BH9LqHOXRYM+a+WhRz8QeLZGiM="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "pazi"; }; -} +}) diff --git a/pkgs/by-name/pb/pbpctrl/package.nix b/pkgs/by-name/pb/pbpctrl/package.nix index 2fd330b52df4..52c9c5757fab 100644 --- a/pkgs/by-name/pb/pbpctrl/package.nix +++ b/pkgs/by-name/pb/pbpctrl/package.nix @@ -7,14 +7,14 @@ protobuf, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pbpctrl"; version = "0.1.8"; src = fetchFromGitHub { owner = "qzed"; repo = "pbpctrl"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-XSRJytPrRKKWhFTBQd3Kd1R3amdecGNTmJS4PmFL6kg="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "pbpctrl"; }; -} +}) diff --git a/pkgs/by-name/pd/pdfrip/package.nix b/pkgs/by-name/pd/pdfrip/package.nix index 9eff2f0fe7e6..7f0f7e3b5fef 100644 --- a/pkgs/by-name/pd/pdfrip/package.nix +++ b/pkgs/by-name/pd/pdfrip/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pdfrip"; version = "2.0.1"; src = fetchFromGitHub { owner = "mufeedvh"; repo = "pdfrip"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-9KDWd71MJ2W9Xp3uqp0iZMmkBwIay+L4gnPUt7hylS0="; }; @@ -26,9 +26,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "PDF password cracking utility"; homepage = "https://github.com/mufeedvh/pdfrip"; - changelog = "https://github.com/mufeedvh/pdfrip/releases/tag/v${version}"; + changelog = "https://github.com/mufeedvh/pdfrip/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "pdfrip"; }; -} +}) diff --git a/pkgs/by-name/pe/peep/package.nix b/pkgs/by-name/pe/peep/package.nix index 70fd7dc4f9fe..c7b8533e325f 100644 --- a/pkgs/by-name/pe/peep/package.nix +++ b/pkgs/by-name/pe/peep/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "peep"; version = "0.1.6"; src = fetchFromGitHub { owner = "ryochack"; repo = "peep"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-6Y7ZI0kIPE7uMMOkXgm75JMEec090xZPBJFJr9DaswA="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI text viewer tool that works like less command on small pane within the terminal window"; homepage = "https://github.com/ryochack/peep"; - changelog = "https://github.com/ryochack/peep/releases/tag/${src.rev}"; + changelog = "https://github.com/ryochack/peep/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "peep"; }; -} +}) diff --git a/pkgs/by-name/pe/pest-ide-tools/package.nix b/pkgs/by-name/pe/pest-ide-tools/package.nix index 72d463644e5c..2352fb12ddeb 100644 --- a/pkgs/by-name/pe/pest-ide-tools/package.nix +++ b/pkgs/by-name/pe/pest-ide-tools/package.nix @@ -5,7 +5,7 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pest-ide-tools"; version = "0.3.11"; @@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "pest-parser"; repo = "pest-ide-tools"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-12/FndzUbUlgcYcwMT1OfamSKgy2q+CvtGyx5YY4IFQ="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ nickhu ]; mainProgram = "pest-language-server"; }; -} +}) diff --git a/pkgs/by-name/pf/pfetch-rs/package.nix b/pkgs/by-name/pf/pfetch-rs/package.nix index 6a31ee5769c4..91881e17ad69 100644 --- a/pkgs/by-name/pf/pfetch-rs/package.nix +++ b/pkgs/by-name/pf/pfetch-rs/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pfetch-rs"; version = "2.11.1"; src = fetchFromGitHub { owner = "Gobidev"; repo = "pfetch-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Kgoo8piv4pNqzw9zQSEj7POSK6l+0KMvaNbvMp+bpF8="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Rewrite of the pfetch system information tool in Rust"; homepage = "https://github.com/Gobidev/pfetch-rs"; - changelog = "https://github.com/Gobidev/pfetch-rs/releases/tag/v${version}"; + changelog = "https://github.com/Gobidev/pfetch-rs/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ gobidev ]; mainProgram = "pfetch"; }; -} +}) diff --git a/pkgs/by-name/pg/pgcat/package.nix b/pkgs/by-name/pg/pgcat/package.nix index 66a169808ea3..30b714273c98 100644 --- a/pkgs/by-name/pg/pgcat/package.nix +++ b/pkgs/by-name/pg/pgcat/package.nix @@ -7,14 +7,14 @@ pgcat, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pgcat"; version = "1.2.0"; src = fetchFromGitHub { owner = "postgresml"; repo = "pgcat"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-DHXUhAAOmPSt4aVp93I1y69of+MEboXJBZH50mzQTm8="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ cathalmullan ]; mainProgram = "pgcat"; }; -} +}) diff --git a/pkgs/by-name/ph/phetch/package.nix b/pkgs/by-name/ph/phetch/package.nix index 27e52e281146..510150c81a34 100644 --- a/pkgs/by-name/ph/phetch/package.nix +++ b/pkgs/by-name/ph/phetch/package.nix @@ -9,7 +9,7 @@ which, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "phetch"; version = "1.2.0"; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "xvxx"; repo = "phetch"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-J+ka7/B37WzVPPE2Krkd/TIiVwuKfI2QYWmT0JHgBGQ="; }; @@ -56,9 +56,9 @@ rustPlatform.buildRustPackage rec { - Secure Gopher support (TLS) - Tor support ''; - changelog = "https://github.com/xvxx/phetch/releases/tag/v${version}"; + changelog = "https://github.com/xvxx/phetch/releases/tag/v${finalAttrs.version}"; homepage = "https://github.com/xvxx/phetch"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ felixalbrigtsen ]; }; -} +}) diff --git a/pkgs/by-name/ph/phraze/package.nix b/pkgs/by-name/ph/phraze/package.nix index 47125020d996..e03aa8fcf765 100644 --- a/pkgs/by-name/ph/phraze/package.nix +++ b/pkgs/by-name/ph/phraze/package.nix @@ -8,14 +8,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "phraze"; version = "0.3.24"; src = fetchFromGitHub { owner = "sts10"; repo = "phraze"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-UURzpG5YZ7R/6vVOB/gtbFNNsVnOAsRwioKRLFxOH4c="; }; @@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Generate random passphrases"; homepage = "https://github.com/sts10/phraze"; - changelog = "https://github.com/sts10/phraze/releases/tag/v${version}"; + changelog = "https://github.com/sts10/phraze/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ x123 @@ -52,4 +52,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "phraze"; }; -} +}) diff --git a/pkgs/by-name/pi/piano-rs/package.nix b/pkgs/by-name/pi/piano-rs/package.nix index 867515cb0c78..3bf136359adc 100644 --- a/pkgs/by-name/pi/piano-rs/package.nix +++ b/pkgs/by-name/pi/piano-rs/package.nix @@ -7,14 +7,14 @@ alsa-lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "piano-rs"; version = "0.2.0"; src = fetchFromGitHub { owner = "ritiek"; repo = "piano-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-qZeH9xXQPIOJ87mvLahnJB3DuEgLX0EAXPvECgxNlq0="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ ritiek ]; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/pi/pict-rs/package.nix b/pkgs/by-name/pi/pict-rs/package.nix index 9547c099949c..a781bae7ec5f 100644 --- a/pkgs/by-name/pi/pict-rs/package.nix +++ b/pkgs/by-name/pi/pict-rs/package.nix @@ -11,7 +11,7 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pict-rs"; version = "0.5.19"; @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { domain = "git.asonix.dog"; owner = "asonix"; repo = "pict-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-ifuN3Kb7Hhq8H/eoZcumO5yyrxOCA+nWQQvAdFk7w2Q="; }; @@ -52,4 +52,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ agpl3Plus ]; maintainers = with lib.maintainers; [ happysalada ]; }; -} +}) diff --git a/pkgs/by-name/pi/pid1/package.nix b/pkgs/by-name/pi/pid1/package.nix index 44bb4526c2d8..129884cd60ce 100644 --- a/pkgs/by-name/pi/pid1/package.nix +++ b/pkgs/by-name/pi/pid1/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pid1"; version = "0.1.3"; src = fetchFromGitHub { owner = "fpco"; repo = "pid1-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-2dnQj3AQxedyq1YvHKt+lVXNEtuB5sMRSCqX9YeifzI="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ psibi ]; mainProgram = "pid1"; }; -} +}) diff --git a/pkgs/by-name/pi/pik/package.nix b/pkgs/by-name/pi/pik/package.nix index 4f8bf78409e6..f205b64999b2 100644 --- a/pkgs/by-name/pi/pik/package.nix +++ b/pkgs/by-name/pi/pik/package.nix @@ -6,14 +6,14 @@ pik, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pik"; version = "0.28.1"; src = fetchFromGitHub { owner = "jacek-kurlit"; repo = "pik"; - rev = version; + rev = finalAttrs.version; hash = "sha256-pDfqqQcYrK78OylwOiKc/Orul03MjdZxEHhpr8obm84="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ bew ]; mainProgram = "pik"; }; -} +}) diff --git a/pkgs/by-name/pi/pinyin-tool/package.nix b/pkgs/by-name/pi/pinyin-tool/package.nix index 41085555075a..d9810e239163 100644 --- a/pkgs/by-name/pi/pinyin-tool/package.nix +++ b/pkgs/by-name/pi/pinyin-tool/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pinyin-tool"; version = "0.1.3"; src = fetchFromGitHub { owner = "briankung"; repo = "pinyin-tool"; - rev = version; + rev = finalAttrs.version; sha256 = "1gwqwxlvdrm4sdyqkvpvvfi6jh6qqn6qybn0z66wm06k62f8zj5b"; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/briankung/pinyin-tool"; license = lib.licenses.mit; }; -} +}) diff --git a/pkgs/by-name/pi/pipes-rs/package.nix b/pkgs/by-name/pi/pipes-rs/package.nix index 27481840de5f..c18e618d1ff9 100644 --- a/pkgs/by-name/pi/pipes-rs/package.nix +++ b/pkgs/by-name/pi/pipes-rs/package.nix @@ -4,14 +4,14 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pipes-rs"; version = "1.6.4"; src = fetchFromGitHub { owner = "lhvy"; repo = "pipes-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-7FdC/VY1ZO4E/qDdeKzsIai8h5ZgMrSr1C+Ny4fYh38="; }; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { doInstallCheck = true; installCheckPhase = '' - if [[ "$("$out/bin/pipes-rs" --version)" == "pipes-rs ${version}" ]]; then + if [[ "$("$out/bin/pipes-rs" --version)" == "pipes-rs ${finalAttrs.version}" ]]; then echo 'pipes-rs smoke check passed' else echo 'pipes-rs smoke check failed' @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.blueOak100; maintainers = [ lib.maintainers.vanilla ]; }; -} +}) diff --git a/pkgs/by-name/pi/piping-server-rust/package.nix b/pkgs/by-name/pi/piping-server-rust/package.nix index 032be5b9ccfe..cc649cc72179 100644 --- a/pkgs/by-name/pi/piping-server-rust/package.nix +++ b/pkgs/by-name/pi/piping-server-rust/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "piping-server-rust"; version = "0.18.0"; src = fetchFromGitHub { owner = "nwtgck"; repo = "piping-server-rust"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-8kYaANVWmBOncTdhtjjbaYnEFQeuWjemdz/kTjwj2fw="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Infinitely transfer between every device over pure HTTP with pipes or browsers"; homepage = "https://github.com/nwtgck/piping-server-rust"; - changelog = "https://github.com/nwtgck/piping-server-rust/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/nwtgck/piping-server-rust/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "piping-server"; }; -} +}) diff --git a/pkgs/by-name/pi/pipr/package.nix b/pkgs/by-name/pi/pipr/package.nix index 20b38d4ea515..db54c8eace98 100644 --- a/pkgs/by-name/pi/pipr/package.nix +++ b/pkgs/by-name/pi/pipr/package.nix @@ -6,14 +6,14 @@ makeWrapper, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pipr"; version = "0.0.16"; src = fetchFromGitHub { owner = "ElKowar"; repo = "pipr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-6jtUNhib6iveuZ7qUKK7AllyMKFpZ8OUUaIieFqseY8="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ elkowar ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/pi/pizarra/package.nix b/pkgs/by-name/pi/pizarra/package.nix index 42f7d6414388..0002162c5fc6 100644 --- a/pkgs/by-name/pi/pizarra/package.nix +++ b/pkgs/by-name/pi/pizarra/package.nix @@ -11,14 +11,14 @@ wrapGAppsHook3, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pizarra"; version = "1.7.5"; src = fetchFromGitLab { owner = "categulario"; repo = "pizarra-gtk"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; fetchSubmodules = true; hash = "sha256-vnjhveX3EVIfJLiHWhlvhoPcRx1a8Nnjj7hIaPgU3Zw="; }; @@ -64,4 +64,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Plus; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/pk/pkarr/package.nix b/pkgs/by-name/pk/pkarr/package.nix index 741aa951fb68..f1a4cf3686a5 100644 --- a/pkgs/by-name/pk/pkarr/package.nix +++ b/pkgs/by-name/pk/pkarr/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pkarr"; version = "5.0.2"; src = fetchFromGitHub { owner = "pubky"; repo = "pkarr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Sh7ly4jmW7XTizsxGV/iDsWjbhxEEall+dUNkEtYahc="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dpc ]; mainProgram = "pkarr-server"; }; -} +}) diff --git a/pkgs/by-name/pl/planus/package.nix b/pkgs/by-name/pl/planus/package.nix index cc58cc53c4c2..a55fb0caffaf 100644 --- a/pkgs/by-name/pl/planus/package.nix +++ b/pkgs/by-name/pl/planus/package.nix @@ -6,13 +6,13 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "planus"; version = "1.3.0"; src = fetchCrate { pname = "planus-cli"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-2ReR9cCB3kv1a9Ep60pshTI5B5jdimM0PBjvIOUdV5o="; }; @@ -33,11 +33,11 @@ rustPlatform.buildRustPackage rec { description = "Alternative compiler for flatbuffers"; mainProgram = "planus"; homepage = "https://github.com/planus-org/planus"; - changelog = "https://github.com/planus-org/planus/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/planus-org/planus/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/pl/please/package.nix b/pkgs/by-name/pl/please/package.nix index 9244d66533bc..3174c1193e1c 100644 --- a/pkgs/by-name/pl/please/package.nix +++ b/pkgs/by-name/pl/please/package.nix @@ -7,14 +7,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "please"; version = "0.5.5"; src = fetchFromGitLab { owner = "edneville"; repo = "please"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-bQ91uCDA2HKuiBmHZ9QP4V6tM6c7hRvECqXzfC6EEnI="; }; @@ -46,9 +46,9 @@ rustPlatform.buildRustPackage rec { avoided, logic problems may exist but this codebase is relatively small. ''; homepage = "https://www.usenix.org.uk/content/please.html"; - changelog = "https://github.com/edneville/please/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/edneville/please/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.gpl3Only; maintainers = [ ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/pl/pls/package.nix b/pkgs/by-name/pl/pls/package.nix index fbe9fd69c3a6..bdbd08aab5c6 100644 --- a/pkgs/by-name/pl/pls/package.nix +++ b/pkgs/by-name/pl/pls/package.nix @@ -4,25 +4,25 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pls"; version = "0.0.1-beta.9"; src = fetchFromGitHub { owner = "pls-rs"; repo = "pls"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ofwdhGpqYlADDY2BLe0SkoHWqSeRNtQaXK61zWVFXzw="; }; cargoHash = "sha256-P+4jRuakDUPaICJPsNJ6nXfhm09K/GC/VA9bsTXIMvc="; meta = { - changelog = "https://github.com/pls-rs/pls/releases/tag/${src.tag}"; + changelog = "https://github.com/pls-rs/pls/releases/tag/${finalAttrs.src.tag}"; description = "Prettier and powerful ls"; homepage = "http://pls.cli.rs"; license = lib.licenses.gpl3Plus; mainProgram = "pls"; maintainers = with lib.maintainers; [ tomasajt ]; }; -} +}) diff --git a/pkgs/by-name/pn/pngquant/package.nix b/pkgs/by-name/pn/pngquant/package.nix index 14279172431c..370fdeedd43f 100644 --- a/pkgs/by-name/pn/pngquant/package.nix +++ b/pkgs/by-name/pn/pngquant/package.nix @@ -8,7 +8,7 @@ lcms2, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pngquant"; version = "3.0.3"; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "kornelski"; repo = "pngquant"; - tag = version; + tag = finalAttrs.version; hash = "sha256-u2zEp9Llo+c/+1QGW4V4r40KQn/ATHCTEsrpy7bRf/I="; fetchSubmodules = true; }; @@ -47,7 +47,7 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://pngquant.org/"; description = "Tool to convert 24/32-bit RGBA PNGs to 8-bit palette with alpha channel preserved"; - changelog = "https://github.com/kornelski/pngquant/raw/${version}/CHANGELOG"; + changelog = "https://github.com/kornelski/pngquant/raw/${finalAttrs.version}/CHANGELOG"; platforms = lib.platforms.unix; license = with lib.licenses; [ gpl3Plus @@ -57,4 +57,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "pngquant"; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/pn/pnpm-shell-completion/package.nix b/pkgs/by-name/pn/pnpm-shell-completion/package.nix index 28e1f3dd8d10..2c5b53ff8223 100644 --- a/pkgs/by-name/pn/pnpm-shell-completion/package.nix +++ b/pkgs/by-name/pn/pnpm-shell-completion/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pnpm-shell-completion"; version = "0.5.5"; src = fetchFromGitHub { owner = "g-plane"; repo = "pnpm-shell-completion"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-lwtRSl0/oqgvFUtCkgExAVTiUt+7PwAD/8ufl+1MIMY="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ donovanglover ]; mainProgram = "pnpm-shell-completion"; }; -} +}) diff --git a/pkgs/by-name/po/podlet/package.nix b/pkgs/by-name/po/podlet/package.nix index c692c4e186f0..2c8a0846f813 100644 --- a/pkgs/by-name/po/podlet/package.nix +++ b/pkgs/by-name/po/podlet/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "podlet"; version = "0.3.1"; src = fetchFromGitHub { owner = "containers"; repo = "podlet"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-9hZ0JggtLgLpWQXTCNI4+loyGIzh2l9pbrCjI41hNuA="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Generate Podman Quadlet files from a Podman command, compose file, or existing object"; homepage = "https://github.com/containers/podlet"; - changelog = "https://github.com/containers/podlet/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/containers/podlet/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = [ ]; mainProgram = "podlet"; }; -} +}) diff --git a/pkgs/by-name/po/pokeget-rs/package.nix b/pkgs/by-name/po/pokeget-rs/package.nix index 259e59536d5a..465b2ed80d8f 100644 --- a/pkgs/by-name/po/pokeget-rs/package.nix +++ b/pkgs/by-name/po/pokeget-rs/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pokeget-rs"; version = "1.6.7"; src = fetchFromGitHub { owner = "talwat"; repo = "pokeget-rs"; - tag = version; + tag = finalAttrs.version; hash = "sha256-kvfGtdWVeEvaKxIDs5aCZk/HBXxB67PukXHz2VvLhdw="; fetchSubmodules = true; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "pokeget"; maintainers = with lib.maintainers; [ aleksana ]; }; -} +}) diff --git a/pkgs/by-name/po/polarity/package.nix b/pkgs/by-name/po/polarity/package.nix index 4d7057b4696c..f014e5ab2152 100644 --- a/pkgs/by-name/po/polarity/package.nix +++ b/pkgs/by-name/po/polarity/package.nix @@ -5,7 +5,7 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "polarity"; version = "latest-unstable-2026-01-29"; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Language with Dependent Data and Codata Types"; homepage = "https://polarity-lang.github.io/"; - changelog = "https://github.com/polarity-lang/polarity/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/polarity-lang/polarity/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ mit asl20 @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "pol"; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/po/polkadot/package.nix b/pkgs/by-name/po/polkadot/package.nix index f15bab073761..182ccc2d41b9 100644 --- a/pkgs/by-name/po/polkadot/package.nix +++ b/pkgs/by-name/po/polkadot/package.nix @@ -15,14 +15,14 @@ let rocksdb = rocksdb_8_3; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "polkadot"; version = "2509-1"; src = fetchFromGitHub { owner = "paritytech"; repo = "polkadot-sdk"; - rev = "polkadot-stable${version}"; + rev = "polkadot-stable${finalAttrs.version}"; hash = "sha256-XisQA5WNmFaFfY7T4EMcwlOD8FUfAjmLDV7NSWsh3vA="; # the build process of polkadot requires a .git folder in order to determine @@ -89,4 +89,4 @@ rustPlatform.buildRustPackage rec { lib.platforms.aarch64 ++ lib.platforms.s390x ++ lib.platforms.riscv64 ++ lib.platforms.x86 ); }; -} +}) diff --git a/pkgs/by-name/po/polylux2pdfpc/package.nix b/pkgs/by-name/po/polylux2pdfpc/package.nix index 460c86cff37e..2689f22fcc46 100644 --- a/pkgs/by-name/po/polylux2pdfpc/package.nix +++ b/pkgs/by-name/po/polylux2pdfpc/package.nix @@ -8,18 +8,18 @@ let dirname = "pdfpc-extractor"; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "polylux2pdfpc"; version = "0.4.0"; src = fetchFromGitHub { owner = "polylux-typ"; repo = "polylux"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sparseCheckout = [ dirname ]; hash = "sha256-41FgRejonvVTmE89WGm0Cqumm8lb6kkfxtkWV74UKJA="; }; - sourceRoot = "${src.name}/${dirname}"; + sourceRoot = "${finalAttrs.src.name}/${dirname}"; cargoHash = "sha256-9nA18f+Dwps45M/OIY0jtx7QgyJDTVUsPndFdNBKHCQ="; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "polylux2pdfpc"; maintainers = [ lib.maintainers.diogotcorreia ]; }; -} +}) diff --git a/pkgs/by-name/po/pomsky/package.nix b/pkgs/by-name/po/pomsky/package.nix index c017fc9a9146..08b7ec07aef5 100644 --- a/pkgs/by-name/po/pomsky/package.nix +++ b/pkgs/by-name/po/pomsky/package.nix @@ -6,14 +6,14 @@ oniguruma, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pomsky"; version = "0.12.0"; src = fetchFromGitHub { owner = "pomsky-lang"; repo = "pomsky"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-0rLY0WZj8p9D834SqHogV77GLHLesyPPxMGszDmkB9U="; }; @@ -39,11 +39,11 @@ rustPlatform.buildRustPackage rec { description = "Portable, modern regular expression language"; mainProgram = "pomsky"; homepage = "https://pomsky-lang.org"; - changelog = "https://github.com/pomsky-lang/pomsky/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/pomsky-lang/pomsky/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit # or asl20 ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/po/porsmo/package.nix b/pkgs/by-name/po/porsmo/package.nix index 8291db9395d7..95fbc72a4618 100644 --- a/pkgs/by-name/po/porsmo/package.nix +++ b/pkgs/by-name/po/porsmo/package.nix @@ -8,14 +8,14 @@ porsmo, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "porsmo"; version = "0.3.0"; src = fetchFromGitHub { owner = "ColorCookie-dev"; repo = "porsmo"; - rev = version; + rev = finalAttrs.version; hash = "sha256-bYPUSrGJKoNLFkIiGuXraYoaYn/HKSP8IiH3gtyWfmw="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ MoritzBoehme ]; mainProgram = "porsmo"; }; -} +}) diff --git a/pkgs/by-name/po/pouf/package.nix b/pkgs/by-name/po/pouf/package.nix index 1d4c3669d0b9..fe4e0747162e 100644 --- a/pkgs/by-name/po/pouf/package.nix +++ b/pkgs/by-name/po/pouf/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pouf"; version = "0.6.3"; src = fetchFromGitHub { owner = "mothsart"; repo = "pouf"; - rev = version; + rev = finalAttrs.version; hash = "sha256-tW86b9a7u1jyfmHjwjs+5DaUujRZH+VhGQsj0CBj0yk="; }; @@ -22,9 +22,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI program for produce fake datas"; homepage = "https://github.com/mothsart/pouf"; - changelog = "https://github.com/mothsart/pouf/releases/tag/${version}"; + changelog = "https://github.com/mothsart/pouf/releases/tag/${finalAttrs.version}"; maintainers = with lib.maintainers; [ mothsart ]; license = with lib.licenses; [ mit ]; mainProgram = "pouf"; }; -} +}) diff --git a/pkgs/by-name/po/powerstation/package.nix b/pkgs/by-name/po/powerstation/package.nix index e2e5d2000aa2..8927970d319f 100644 --- a/pkgs/by-name/po/powerstation/package.nix +++ b/pkgs/by-name/po/powerstation/package.nix @@ -8,14 +8,14 @@ cmake, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "powerstation"; version = "0.7.0"; src = fetchFromGitHub { owner = "ShadowBlip"; repo = "PowerStation"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-wm/O36AdBxfLVCM3NtzSVVHBM+GfH4ARZ/2ekJX5qsE="; }; @@ -40,8 +40,8 @@ rustPlatform.buildRustPackage rec { description = "Open source TDP control and performance daemon with DBus interface"; homepage = "https://github.com/ShadowBlip/PowerStation"; license = lib.licenses.gpl3Plus; - changelog = "https://github.com/ShadowBlip/PowerStation/releases/tag/v${version}"; + changelog = "https://github.com/ShadowBlip/PowerStation/releases/tag/v${finalAttrs.version}"; maintainers = with lib.maintainers; [ shadowapex ]; mainProgram = "powerstation"; }; -} +}) diff --git a/pkgs/by-name/pq/pqrs/package.nix b/pkgs/by-name/pq/pqrs/package.nix index 9e547361a7bc..c115bac72a31 100644 --- a/pkgs/by-name/pq/pqrs/package.nix +++ b/pkgs/by-name/pq/pqrs/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pqrs"; version = "0.3.2"; src = fetchFromGitHub { owner = "manojkarthick"; repo = "pqrs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-0oSSoGZga0OGAKUNsLmKkUl8N1l0pVi4KIqrKJbeVVU="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ lib.maintainers.manojkarthick ]; }; -} +}) diff --git a/pkgs/by-name/pr/pr-tracker/package.nix b/pkgs/by-name/pr/pr-tracker/package.nix index b39cb54fca29..04c08dd04047 100644 --- a/pkgs/by-name/pr/pr-tracker/package.nix +++ b/pkgs/by-name/pr/pr-tracker/package.nix @@ -6,12 +6,12 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pr-tracker"; version = "1.10.0"; src = fetchzip { - url = "https://git.qyliss.net/pr-tracker/snapshot/pr-tracker-${version}.tar.xz"; + url = "https://git.qyliss.net/pr-tracker/snapshot/pr-tracker-${finalAttrs.version}.tar.xz"; hash = "sha256-lAraMuhAvTV/PX0R/SSga3bebuK0lizcyEK7Qo3iUmc="; }; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl ]; meta = { - changelog = "https://git.qyliss.net/pr-tracker/plain/NEWS?h=${version}"; + changelog = "https://git.qyliss.net/pr-tracker/plain/NEWS?h=${finalAttrs.version}"; description = "Nixpkgs pull request channel tracker"; longDescription = '' A web server that displays the path a Nixpkgs pull request will take @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "pr-tracker"; }; -} +}) diff --git a/pkgs/by-name/pr/prettypst/package.nix b/pkgs/by-name/pr/prettypst/package.nix index c8290537a7a7..0407bd95eb0b 100644 --- a/pkgs/by-name/pr/prettypst/package.nix +++ b/pkgs/by-name/pr/prettypst/package.nix @@ -4,7 +4,7 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "prettypst"; version = "2.0.0"; @@ -18,11 +18,11 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-zfx6SDtvn5waKWZB1gVxcvCzP+Rp7+J+txaRHoRfaBM="; meta = { - changelog = "https://github.com/antonWetzel/prettypst/blob/${src.rev}/changelog.md"; + changelog = "https://github.com/antonWetzel/prettypst/blob/${finalAttrs.src.rev}/changelog.md"; description = "Formatter for Typst"; homepage = "https://github.com/antonWetzel/prettypst"; license = lib.licenses.mit; mainProgram = "prettypst"; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/pr/procs/package.nix b/pkgs/by-name/pr/procs/package.nix index 8a1d42700356..57338f6832f2 100644 --- a/pkgs/by-name/pr/procs/package.nix +++ b/pkgs/by-name/pr/procs/package.nix @@ -8,14 +8,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "procs"; version = "0.14.10"; src = fetchFromGitHub { owner = "dalance"; repo = "procs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-+qY0BG3XNCm5vm5W6VX4a0JWCb4JSat/oK9GLXRis/M="; }; @@ -40,11 +40,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Modern replacement for ps written in Rust"; homepage = "https://github.com/dalance/procs"; - changelog = "https://github.com/dalance/procs/raw/v${version}/CHANGELOG.md"; + changelog = "https://github.com/dalance/procs/raw/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sciencentistguy ]; mainProgram = "procs"; }; -} +}) diff --git a/pkgs/by-name/pr/projectable/package.nix b/pkgs/by-name/pr/projectable/package.nix index bde3024789c7..c56ddb2a060a 100644 --- a/pkgs/by-name/pr/projectable/package.nix +++ b/pkgs/by-name/pr/projectable/package.nix @@ -8,14 +8,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "projectable"; version = "1.3.2"; src = fetchFromGitHub { owner = "dzfrias"; repo = "projectable"; - rev = version; + rev = finalAttrs.version; hash = "sha256-GM/dPmLnv1/Qj6QhBxPu5kO/SDnbY7Ntupf1FGkmrUY="; }; @@ -39,9 +39,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "TUI file manager built for projects"; homepage = "https://github.com/dzfrias/projectable"; - changelog = "https://github.com/dzfrias/projectable/releases/tag/${src.rev}"; + changelog = "https://github.com/dzfrias/projectable/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "prj"; }; -} +}) diff --git a/pkgs/by-name/pr/proto/package.nix b/pkgs/by-name/pr/proto/package.nix index fbd15820bd90..21a20d0c805a 100644 --- a/pkgs/by-name/pr/proto/package.nix +++ b/pkgs/by-name/pr/proto/package.nix @@ -9,14 +9,14 @@ perl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "proto"; version = "0.55.0"; src = fetchFromGitHub { owner = "moonrepo"; repo = "proto"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-/8oSTdjFCTitU0u08hEN+sktsCcETgulTVVuIt4+ozs="; }; @@ -51,10 +51,10 @@ rustPlatform.buildRustPackage rec { proto is a pluggable next-generation version manager for multiple programming languages. A unified toolchain. ''; homepage = "https://moonrepo.dev/proto"; - changelog = "https://github.com/moonrepo/proto/releases/tag/v${version}"; + changelog = "https://github.com/moonrepo/proto/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ nokazn ]; mainProgram = "proto"; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; -} +}) diff --git a/pkgs/by-name/pr/protoc-gen-rust-grpc/package.nix b/pkgs/by-name/pr/protoc-gen-rust-grpc/package.nix index d023ddb6adc7..e7b32f5a14f3 100644 --- a/pkgs/by-name/pr/protoc-gen-rust-grpc/package.nix +++ b/pkgs/by-name/pr/protoc-gen-rust-grpc/package.nix @@ -4,13 +4,13 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "protoc-gen-rust-grpc"; version = "0.8.3"; src = fetchCrate { pname = "grpc-compiler"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-gt+Qa68N5EkqhCAvU2ISvVPT9vYPXMySad4DCyTVHkQ="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ lucperkins ]; mainProgram = "protoc-gen-rust-grpc"; }; -} +}) diff --git a/pkgs/by-name/pr/protols/package.nix b/pkgs/by-name/pr/protols/package.nix index 0e980085adbc..bd9be0c8d3bc 100644 --- a/pkgs/by-name/pr/protols/package.nix +++ b/pkgs/by-name/pr/protols/package.nix @@ -5,14 +5,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "protols"; version = "0.13.2"; src = fetchFromGitHub { owner = "coder3101"; repo = "protols"; - tag = version; + tag = finalAttrs.version; hash = "sha256-kPYCvkPVxWDNgYpieDMIwvM7Q/HWKu0hNbKW1K5jo+Y="; }; @@ -23,9 +23,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Protocol Buffers language server written in Rust"; homepage = "https://github.com/coder3101/protols"; - changelog = "https://github.com/coder3101/protols/releases/tag/${version}"; + changelog = "https://github.com/coder3101/protols/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ nartsiss ]; mainProgram = "protols"; }; -} +}) diff --git a/pkgs/by-name/pr/proximity-sort/package.nix b/pkgs/by-name/pr/proximity-sort/package.nix index 69d488d8c862..7bde90941dd1 100644 --- a/pkgs/by-name/pr/proximity-sort/package.nix +++ b/pkgs/by-name/pr/proximity-sort/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "proximity-sort"; version = "1.3.0"; src = fetchFromGitHub { owner = "jonhoo"; repo = "proximity-sort"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-MRLQvspv6kjirljhAkk1KT+hPA4hdjA1b7RL9eEyglQ="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "proximity-sort"; }; -} +}) diff --git a/pkgs/by-name/pr/prqlc/package.nix b/pkgs/by-name/pr/prqlc/package.nix index 0b50018c612e..2a9ec2d9fbca 100644 --- a/pkgs/by-name/pr/prqlc/package.nix +++ b/pkgs/by-name/pr/prqlc/package.nix @@ -9,14 +9,14 @@ python3, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "prqlc"; version = "0.13.10"; src = fetchFromGitHub { owner = "prql"; repo = "prql"; - rev = version; + rev = finalAttrs.version; hash = "sha256-SYIrME3iE1SpqjLvP/TxXXeiURfdrRSedN3FlcTwrt8="; }; @@ -45,8 +45,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI for the PRQL compiler - a simple, powerful, pipelined SQL replacement"; homepage = "https://github.com/prql/prql"; - changelog = "https://github.com/prql/prql/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/prql/prql/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dit7ya ]; }; -} +}) diff --git a/pkgs/by-name/pr/prr/package.nix b/pkgs/by-name/pr/prr/package.nix index d4c4f94281fb..6fa8a417a58f 100644 --- a/pkgs/by-name/pr/prr/package.nix +++ b/pkgs/by-name/pr/prr/package.nix @@ -6,14 +6,14 @@ pkg-config, cacert, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "prr"; version = "0.21.0"; src = fetchFromGitHub { owner = "danobi"; repo = "prr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-G8/T3Jyr0ZtY302AvYxhaC+8Ld03cVL5Cuflz62e0mw="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "prr"; maintainers = with lib.maintainers; [ evalexpr ]; }; -} +}) diff --git a/pkgs/by-name/ps/psw/package.nix b/pkgs/by-name/ps/psw/package.nix index 1a4867d8283c..b50d9f880c87 100644 --- a/pkgs/by-name/ps/psw/package.nix +++ b/pkgs/by-name/ps/psw/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "psw"; version = "0.2.1"; src = fetchFromGitHub { owner = "Wulfsta"; repo = "psw"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-Rf6vpVgenTzb42/aGqItuxUodl61eNyUPlry7rgLPbI="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = with lib.maintainers; [ wulfsta ]; }; -} +}) diff --git a/pkgs/by-name/pt/ptags/package.nix b/pkgs/by-name/pt/ptags/package.nix index 99b603b3f44d..c8860a3a88a4 100644 --- a/pkgs/by-name/pt/ptags/package.nix +++ b/pkgs/by-name/pt/ptags/package.nix @@ -6,14 +6,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ptags"; version = "0.3.5"; src = fetchFromGitHub { owner = "dalance"; repo = "ptags"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-bxp38zWufqS6PZqhw8X5HR5zMRcwH58MuZaJmDRuiys="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ pamplemousse ]; license = lib.licenses.mit; }; -} +}) diff --git a/pkgs/by-name/pu/pueue/package.nix b/pkgs/by-name/pu/pueue/package.nix index 59fe471546af..eafd198c4608 100644 --- a/pkgs/by-name/pu/pueue/package.nix +++ b/pkgs/by-name/pu/pueue/package.nix @@ -7,14 +7,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pueue"; version = "4.0.2"; src = fetchFromGitHub { owner = "Nukesor"; repo = "pueue"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-hdYbLgBpPzizaYbj+W+YyXj9ks04SFObJ23gkSMTRPs="; }; @@ -58,8 +58,8 @@ rustPlatform.buildRustPackage rec { any terminal on the same machine. The queue will be continuously processed, even if you no longer have any active ssh sessions. ''; - changelog = "https://github.com/Nukesor/pueue/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/Nukesor/pueue/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sarcasticadmin ]; }; -} +}) diff --git a/pkgs/by-name/pw/pw-viz/package.nix b/pkgs/by-name/pw/pw-viz/package.nix index 069b2578a2e2..c2ea026a3714 100644 --- a/pkgs/by-name/pw/pw-viz/package.nix +++ b/pkgs/by-name/pw/pw-viz/package.nix @@ -16,14 +16,14 @@ libx11, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pw-viz"; version = "0.3.0"; src = fetchFromGitHub { owner = "ax9d"; repo = "pw-viz"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-fB7PnWWahCMKhGREg6neLmOZjh2OWLu61Vpmfsl03wA="; }; @@ -68,4 +68,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/pw/pw-volume/package.nix b/pkgs/by-name/pw/pw-volume/package.nix index b9b252d7f602..ac3d3dd94939 100644 --- a/pkgs/by-name/pw/pw-volume/package.nix +++ b/pkgs/by-name/pw/pw-volume/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pw-volume"; version = "0.5.0"; src = fetchFromGitHub { owner = "smasher164"; repo = "pw-volume"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-r/6AAZKZgPYUGic/Dag7OT5RtH+RKgEkJVWxsO5VGZ0="; }; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Basic interface to PipeWire volume controls"; homepage = "https://github.com/smasher164/pw-volume"; - changelog = "https://github.com/smasher164/pw-volume/releases/tag/v${version}"; + changelog = "https://github.com/smasher164/pw-volume/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ astro @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "pw-volume"; }; -} +}) diff --git a/pkgs/by-name/pw/pwalarmctl/package.nix b/pkgs/by-name/pw/pwalarmctl/package.nix index 134dc995d9fa..6e6a09f14a75 100644 --- a/pkgs/by-name/pw/pwalarmctl/package.nix +++ b/pkgs/by-name/pw/pwalarmctl/package.nix @@ -6,7 +6,7 @@ alsa-lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pwalarmctl"; version = "0.1.0"; @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "amyipdev"; repo = "pwalarmd"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-xoC1PtDQjkvoWb9x8A43ITo6xyYOv9hxH2pxiZBBvKI="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { badPlatforms = lib.platforms.darwin; maintainers = with lib.maintainers; [ amyipdev ]; }; -} +}) diff --git a/pkgs/by-name/pw/pwalarmd/package.nix b/pkgs/by-name/pw/pwalarmd/package.nix index ffc371b34762..37eda91a9eb2 100644 --- a/pkgs/by-name/pw/pwalarmd/package.nix +++ b/pkgs/by-name/pw/pwalarmd/package.nix @@ -6,7 +6,7 @@ alsa-lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pwalarmd"; version = "0.1.0"; @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "amyipdev"; repo = "pwalarmd"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-xoC1PtDQjkvoWb9x8A43ITo6xyYOv9hxH2pxiZBBvKI="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { badPlatforms = lib.platforms.darwin; maintainers = with lib.maintainers; [ amyipdev ]; }; -} +}) diff --git a/pkgs/by-name/pw/pwmenu/package.nix b/pkgs/by-name/pw/pwmenu/package.nix index 3634c1bc92c8..c0e2753d63e1 100644 --- a/pkgs/by-name/pw/pwmenu/package.nix +++ b/pkgs/by-name/pw/pwmenu/package.nix @@ -6,14 +6,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pwmenu"; version = "0.3.0"; src = fetchFromGitHub { owner = "e-tho"; repo = "pwmenu"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Q02kOMC6oQ3fNyDWW9ztLgMs3wR4cA53/wmkbecTr/o="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ vuimuich ]; }; -} +}) diff --git a/pkgs/by-name/pw/pwninit/package.nix b/pkgs/by-name/pw/pwninit/package.nix index 0cf24cdfeff2..8bc552e4da9e 100644 --- a/pkgs/by-name/pw/pwninit/package.nix +++ b/pkgs/by-name/pw/pwninit/package.nix @@ -9,14 +9,14 @@ xz, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pwninit"; version = "3.3.2"; src = fetchFromGitHub { owner = "io12"; repo = "pwninit"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-WKOndOkaKr+dUnx61LW6ZZxUFUESerjE5W6hgLA3n1o="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.scoder12 ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/py/py-spy/package.nix b/pkgs/by-name/py/py-spy/package.nix index 09522da3934a..ab45c35e1301 100644 --- a/pkgs/by-name/py/py-spy/package.nix +++ b/pkgs/by-name/py/py-spy/package.nix @@ -7,14 +7,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "py-spy"; version = "0.4.0"; src = fetchFromGitHub { owner = "benfred"; repo = "py-spy"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-T96F8xgB9HRwuvDLXi6+lfi8za/iNn1NAbG4AIpE0V0="; }; @@ -41,11 +41,11 @@ rustPlatform.buildRustPackage rec { description = "Sampling profiler for Python programs"; mainProgram = "py-spy"; homepage = "https://github.com/benfred/py-spy"; - changelog = "https://github.com/benfred/py-spy/releases/tag/v${version}"; + changelog = "https://github.com/benfred/py-spy/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ lnl7 ]; platforms = lib.platforms.linux; # https://github.com/benfred/py-spy/pull/330 broken = stdenv.hostPlatform.isAarch64; }; -} +}) diff --git a/pkgs/by-name/py/pylyzer/package.nix b/pkgs/by-name/py/pylyzer/package.nix index fa326d936b99..ac4f752edc44 100644 --- a/pkgs/by-name/py/pylyzer/package.nix +++ b/pkgs/by-name/py/pylyzer/package.nix @@ -12,14 +12,14 @@ writableTmpDirAsHomeHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "pylyzer"; version = "0.0.82"; src = fetchFromGitHub { owner = "mtshiba"; repo = "pylyzer"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-cSMHd3j3xslSR/v4KZ5LUwxPPR/b+okwrT54gUyLXXw="; }; @@ -58,9 +58,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Fast static code analyzer & language server for Python"; homepage = "https://github.com/mtshiba/pylyzer"; - changelog = "https://github.com/mtshiba/pylyzer/releases/tag/v${version}"; + changelog = "https://github.com/mtshiba/pylyzer/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium ]; mainProgram = "pylyzer"; }; -} +}) diff --git a/pkgs/by-name/py/python-launcher/package.nix b/pkgs/by-name/py/python-launcher/package.nix index a9a09fda0169..8b82ae0108ad 100644 --- a/pkgs/by-name/py/python-launcher/package.nix +++ b/pkgs/by-name/py/python-launcher/package.nix @@ -5,14 +5,14 @@ python3, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "python-launcher"; version = "1.0.1"; src = fetchFromGitHub { owner = "brettcannon"; repo = "python-launcher"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-wRKTBvLLo0Vvvh1GtF9hOnUHNpOeX950y1U+8JYBGoE="; }; @@ -25,9 +25,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Implementation of the `py` command for Unix-based platforms"; homepage = "https://github.com/brettcannon/python-launcher"; - changelog = "https://github.com/brettcannon/python-launcher/releases/tag/v${version}"; + changelog = "https://github.com/brettcannon/python-launcher/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "py"; }; -} +}) diff --git a/pkgs/by-name/qi/qir-runner/package.nix b/pkgs/by-name/qi/qir-runner/package.nix index 30da18a7a4cb..aa7e194fd143 100644 --- a/pkgs/by-name/qi/qir-runner/package.nix +++ b/pkgs/by-name/qi/qir-runner/package.nix @@ -9,14 +9,14 @@ libxml2, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "qir-runner"; version = "0.8.3"; src = fetchFromGitHub { owner = "qir-alliance"; repo = "qir-runner"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-k93I/DE8Jx0DbloBVNhKKay/L26H5TPX5yvkHKe/yBg="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { # which is not available when cross compiling broken = stdenv.buildPlatform != stdenv.hostPlatform; }; -} +}) diff --git a/pkgs/by-name/qm/qmk_hid/package.nix b/pkgs/by-name/qm/qmk_hid/package.nix index 5f494815560e..09d94c215fa5 100644 --- a/pkgs/by-name/qm/qmk_hid/package.nix +++ b/pkgs/by-name/qm/qmk_hid/package.nix @@ -6,14 +6,14 @@ systemd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "qmk_hid"; version = "0.1.12"; src = fetchFromGitHub { owner = "FrameworkComputer"; repo = "qmk_hid"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-wJi7FQrvMbdTwvbbjBnzmxupMbEuM8TeZ0JIK5ulQKI="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "qmk_hid"; }; -} +}) diff --git a/pkgs/by-name/qr/qrrs/package.nix b/pkgs/by-name/qr/qrrs/package.nix index 057c507fd99b..ec77b7092cff 100644 --- a/pkgs/by-name/qr/qrrs/package.nix +++ b/pkgs/by-name/qr/qrrs/package.nix @@ -4,14 +4,14 @@ rustPlatform, installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "qrrs"; version = "0.1.11"; src = fetchFromGitHub { owner = "lenivaya"; repo = "qrrs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-lXfqKMJx9vtljQlYvbUAONFqMO3HKa4hx/29/YERw2U="; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/Lenivaya/qrrs"; mainProgram = "qrrs"; }; -} +}) diff --git a/pkgs/by-name/qw/qwertone/package.nix b/pkgs/by-name/qw/qwertone/package.nix index 55e5dc685c6a..4d29d9f48283 100644 --- a/pkgs/by-name/qw/qwertone/package.nix +++ b/pkgs/by-name/qw/qwertone/package.nix @@ -9,7 +9,7 @@ gtk3, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "qwertone"; version = "0.5.0"; @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec { domain = "gitlab.com"; owner = "azymohliad"; repo = "qwertone"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-GD7iFDAaS6D7DGPvK+Cof4rVbUwPX9aCI1jfc0XTxn8="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ linsui ]; }; -} +}) diff --git a/pkgs/by-name/r0/r0vm/package.nix b/pkgs/by-name/r0/r0vm/package.nix index 7740dbec0e0a..6027d2ce8357 100644 --- a/pkgs/by-name/r0/r0vm/package.nix +++ b/pkgs/by-name/r0/r0vm/package.nix @@ -7,13 +7,13 @@ openssl, lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "r0vm"; version = "1.0.5"; src = fetchFromGitHub { owner = "risc0"; repo = "risc0"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-jtROtI5/4W2pNvn1ZYR/wQAZmECTr7YxuZGu2Ns9paw="; }; @@ -49,9 +49,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "RISC Zero zero-knowledge VM"; homepage = "https://github.com/risc0/risc0"; - changelog = "https://github.com/risc0/risc0/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/risc0/risc0/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ marijanp ]; mainProgram = "r0vm"; }; -} +}) diff --git a/pkgs/by-name/ra/rabbitmqadmin-ng/package.nix b/pkgs/by-name/ra/rabbitmqadmin-ng/package.nix index 46a9343c2e2b..e6b916501c09 100644 --- a/pkgs/by-name/ra/rabbitmqadmin-ng/package.nix +++ b/pkgs/by-name/ra/rabbitmqadmin-ng/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rabbitmqadmin-ng"; version = "2.22.0"; src = fetchFromGitHub { owner = "rabbitmq"; repo = "rabbitmqadmin-ng"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Y5esZgvaIaAkEDaeBzda3I1LfYS4ho3Nb6ypqank6+U="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "rabbitmqadmin"; }; -} +}) diff --git a/pkgs/by-name/ra/radio-cli/package.nix b/pkgs/by-name/ra/radio-cli/package.nix index 3df9431917a2..1b685ea17935 100644 --- a/pkgs/by-name/ra/radio-cli/package.nix +++ b/pkgs/by-name/ra/radio-cli/package.nix @@ -7,14 +7,14 @@ openssl, mpv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "radio-cli"; version = "2.3.2"; src = fetchFromGitHub { owner = "margual56"; repo = "radio-cli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-De/3tkvHf8dp04A0hug+aCbiXUc+XUYeHWYOiJ/bac0="; }; @@ -35,10 +35,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Simple radio CLI written in rust"; homepage = "https://github.com/margual56/radio-cli"; - changelog = "https://github.com/margual56/radio-cli/releases/tag/v${version}"; + changelog = "https://github.com/margual56/radio-cli/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; mainProgram = "radio-cli"; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/ra/rage/package.nix b/pkgs/by-name/ra/rage/package.nix index 4623bb3b88db..da17b435013c 100644 --- a/pkgs/by-name/ra/rage/package.nix +++ b/pkgs/by-name/ra/rage/package.nix @@ -6,14 +6,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rage"; version = "0.11.1"; src = fetchFromGitHub { owner = "str4d"; repo = "rage"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-aZs1iqfpsiMuhxXNqRatpKD99eDBCsWHk4OPpnnaB70="; }; @@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Simple, secure and modern encryption tool with small explicit keys, no config options, and UNIX-style composability"; homepage = "https://github.com/str4d/rage"; - changelog = "https://github.com/str4d/rage/blob/v${version}/rage/CHANGELOG.md"; + changelog = "https://github.com/str4d/rage/blob/v${finalAttrs.version}/rage/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ ryantm ]; mainProgram = "rage"; }; -} +}) diff --git a/pkgs/by-name/ra/rails-new/package.nix b/pkgs/by-name/ra/rails-new/package.nix index c7edad231ed2..da83bc5ac648 100644 --- a/pkgs/by-name/ra/rails-new/package.nix +++ b/pkgs/by-name/ra/rails-new/package.nix @@ -5,14 +5,14 @@ nix-update-script, versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rails-new"; version = "0.5.0"; src = fetchFromGitHub { owner = "rails"; repo = "rails-new"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-7hEdLu9Koi2K2EFIl530yA+BGZmATFCcBMe3htYb0rs="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "rails-new"; maintainers = with lib.maintainers; [ coat ]; }; -} +}) diff --git a/pkgs/by-name/ra/railway/package.nix b/pkgs/by-name/ra/railway/package.nix index 011e529595cf..b51c836dc023 100644 --- a/pkgs/by-name/ra/railway/package.nix +++ b/pkgs/by-name/ra/railway/package.nix @@ -5,14 +5,14 @@ pkg-config, openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "railway"; version = "4.27.5"; src = fetchFromGitHub { owner = "railwayapp"; repo = "cli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-S6Fp6dXCLdHTmaiRrtsTh+N44GzM4vt27MGCb9lkk5k="; }; @@ -28,11 +28,11 @@ rustPlatform.buildRustPackage rec { mainProgram = "railway"; description = "Railway.app CLI"; homepage = "https://github.com/railwayapp/cli"; - changelog = "https://github.com/railwayapp/cli/releases/tag/v${version}"; + changelog = "https://github.com/railwayapp/cli/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ Crafter techknowlogick ]; }; -} +}) diff --git a/pkgs/by-name/ra/rana/package.nix b/pkgs/by-name/ra/rana/package.nix index 73f54d844717..7dd22dc5f1ae 100644 --- a/pkgs/by-name/ra/rana/package.nix +++ b/pkgs/by-name/ra/rana/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rana"; version = "0.5.5"; src = fetchFromGitHub { owner = "grunch"; repo = "rana"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-gzyjOCGh45zEJvc0xFkp8gAH9Kxwfc2oPeMzbrTjnk8="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ jigglycrumb ]; mainProgram = "rana"; }; -} +}) diff --git a/pkgs/by-name/ra/rates/package.nix b/pkgs/by-name/ra/rates/package.nix index 06d881833e7d..c06769aeb4cd 100644 --- a/pkgs/by-name/ra/rates/package.nix +++ b/pkgs/by-name/ra/rates/package.nix @@ -5,14 +5,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rates"; version = "0.7.0"; src = fetchFromGitHub { owner = "lunush"; repo = "rates"; - tag = version; + tag = finalAttrs.version; hash = "sha256-zw2YLTrvqbGKR8Dg5W+kJTDKIfro+MNyjHXfZMXZhaw="; }; @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI tool that brings currency exchange rates right into your terminal"; homepage = "https://github.com/lunush/rates"; - changelog = "https://github.com/lunush/rates/releases/tag/${version}"; + changelog = "https://github.com/lunush/rates/releases/tag/${finalAttrs.version}"; license = with lib.licenses; [ asl20 mit @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ fab ]; mainProgram = "rates"; }; -} +}) diff --git a/pkgs/by-name/ra/rathole/package.nix b/pkgs/by-name/ra/rathole/package.nix index 85785368ffb1..23355bd7660d 100644 --- a/pkgs/by-name/ra/rathole/package.nix +++ b/pkgs/by-name/ra/rathole/package.nix @@ -9,7 +9,7 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rathole"; version = "0.5.0-unstable-2025-07-29"; @@ -51,7 +51,7 @@ rustPlatform.buildRustPackage rec { env = { VERGEN_BUILD_TIMESTAMP = "0"; - VERGEN_BUILD_SEMVER = version; + VERGEN_BUILD_SEMVER = finalAttrs.version; VERGEN_GIT_COMMIT_TIMESTAMP = "0"; VERGEN_GIT_BRANCH = "main"; VERGEN_RUSTC_SEMVER = rustc.version; @@ -75,4 +75,4 @@ rustPlatform.buildRustPackage rec { xokdvium ]; }; -} +}) diff --git a/pkgs/by-name/rb/rbw/package.nix b/pkgs/by-name/rb/rbw/package.nix index 12a1ad92e18b..3939bfc34165 100644 --- a/pkgs/by-name/rb/rbw/package.nix +++ b/pkgs/by-name/rb/rbw/package.nix @@ -19,12 +19,12 @@ withPass ? false, pass, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rbw"; version = "1.15.0"; src = fetchzip { - url = "https://git.tozt.net/rbw/snapshot/rbw-${version}.tar.gz"; + url = "https://git.tozt.net/rbw/snapshot/rbw-${finalAttrs.version}.tar.gz"; hash = "sha256-N/s1flB+s2HwEeLsf7YlJG+5TJgP8Wu7PHNPWmVfpIo="; }; @@ -73,7 +73,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Unofficial command line client for Bitwarden"; homepage = "https://crates.io/crates/rbw"; - changelog = "https://git.tozt.net/rbw/plain/CHANGELOG.md?id=${version}"; + changelog = "https://git.tozt.net/rbw/plain/CHANGELOG.md?id=${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ albakham @@ -81,4 +81,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "rbw"; }; -} +}) diff --git a/pkgs/by-name/rc/rcodesign/package.nix b/pkgs/by-name/rc/rcodesign/package.nix index 90e4b5d6d5af..981f1daeae10 100644 --- a/pkgs/by-name/rc/rcodesign/package.nix +++ b/pkgs/by-name/rc/rcodesign/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rcodesign"; version = "0.29.0"; src = fetchFromGitHub { owner = "indygreg"; repo = "apple-platform-rs"; - tag = "apple-codesign/${version}"; + tag = "apple-codesign/${finalAttrs.version}"; hash = "sha256-NyO0HkldXh94Y16E+SX1VE/OOx0zgO6VYoRLJrEQUm0="; }; @@ -70,8 +70,8 @@ rustPlatform.buildRustPackage rec { For more information, refer to the [documentation](https://gregoryszorc.com/docs/apple-codesign/stable/apple_codesign_rcodesign.html). ''; homepage = "https://github.com/indygreg/apple-platform-rs"; - changelog = "https://github.com/indygreg/apple-platform-rs/releases/tag/apple-codesign%2F${version}"; + changelog = "https://github.com/indygreg/apple-platform-rs/releases/tag/apple-codesign%2F${finalAttrs.version}"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ euank ]; }; -} +}) diff --git a/pkgs/by-name/rc/rcp/package.nix b/pkgs/by-name/rc/rcp/package.nix index fcaefb4265cc..9441b2db1db7 100644 --- a/pkgs/by-name/rc/rcp/package.nix +++ b/pkgs/by-name/rc/rcp/package.nix @@ -5,14 +5,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rcp"; version = "0.21.1"; src = fetchFromGitHub { owner = "wykurz"; repo = "rcp"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ayT8lp8XqkvtUaff2Iy+5IVyJ/ukKl0qruEWjBlgAvo="; }; @@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec { ]; meta = { - changelog = "https://github.com/wykurz/rcp/releases/tag/v${version}"; + changelog = "https://github.com/wykurz/rcp/releases/tag/v${finalAttrs.version}"; description = "Tools to efficiently copy, remove and link large filesets"; homepage = "https://github.com/wykurz/rcp"; license = with lib.licenses; [ mit ]; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { # (Your current target_os is macos) broken = stdenv.hostPlatform.isDarwin; }; -} +}) diff --git a/pkgs/by-name/rd/rdedup/package.nix b/pkgs/by-name/rd/rdedup/package.nix index 7a1f948da0f5..72723d836016 100644 --- a/pkgs/by-name/rd/rdedup/package.nix +++ b/pkgs/by-name/rd/rdedup/package.nix @@ -8,14 +8,14 @@ xz, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rdedup"; version = "3.2.1"; src = fetchFromGitHub { owner = "dpc"; repo = "rdedup"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-GEYP18CaCQShvCg8T7YTvlybH1LNO34KBxgmsTv2Lzs="; }; @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ dywedir ]; }; -} +}) diff --git a/pkgs/by-name/re/realm/package.nix b/pkgs/by-name/re/realm/package.nix index 897747e2598c..68ae0088e60a 100644 --- a/pkgs/by-name/re/realm/package.nix +++ b/pkgs/by-name/re/realm/package.nix @@ -6,14 +6,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "realm"; version = "2.8.0"; src = fetchFromGitHub { owner = "zhboner"; repo = "realm"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-7hOy+bqWoVyI2xGJ0eY7GvyIYykr6VP8d3ZYtY/jGPI="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ ocfox ]; }; -} +}) diff --git a/pkgs/by-name/re/reason-shell/package.nix b/pkgs/by-name/re/reason-shell/package.nix index e8e000b45f50..21ecf78eef95 100644 --- a/pkgs/by-name/re/reason-shell/package.nix +++ b/pkgs/by-name/re/reason-shell/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "reason"; version = "0.3.10"; src = fetchFromGitHub { owner = "jaywonchung"; repo = "reason"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-oytRquZJgb1sfpZil1bSGwIIvm+5N4mkVmIMzWyzDco="; }; @@ -31,8 +31,8 @@ rustPlatform.buildRustPackage rec { description = "Shell for research papers"; mainProgram = "reason"; homepage = "https://github.com/jaywonchung/reason"; - changelog = "https://github.com/jaywonchung/reason/releases/tag/${src.rev}"; + changelog = "https://github.com/jaywonchung/reason/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/re/reddsaver/package.nix b/pkgs/by-name/re/reddsaver/package.nix index 7eb67bccda5c..c3536d8a9c7a 100644 --- a/pkgs/by-name/re/reddsaver/package.nix +++ b/pkgs/by-name/re/reddsaver/package.nix @@ -6,14 +6,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "reddsaver"; version = "0.4.0"; src = fetchFromGitHub { owner = "manojkarthick"; repo = "reddsaver"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "07xsrc0w0z7w2w0q44aqnn1ybf9vqry01v3xr96l1xzzc5mkqdzf"; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "reddsaver"; }; -} +}) diff --git a/pkgs/by-name/re/refinery-cli/package.nix b/pkgs/by-name/re/refinery-cli/package.nix index 42f92e0b5c24..06e4b5bdc3ed 100644 --- a/pkgs/by-name/re/refinery-cli/package.nix +++ b/pkgs/by-name/re/refinery-cli/package.nix @@ -6,13 +6,13 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "refinery-cli"; version = "0.8.14"; src = fetchCrate { pname = "refinery_cli"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-gHW+5WWzk1H2O5B2sWdl6QcOeUbNvbdZZBD10SmE1GA="; }; @@ -32,8 +32,8 @@ rustPlatform.buildRustPackage rec { description = "Run migrations for the Refinery ORM for Rust via the CLI"; mainProgram = "refinery"; homepage = "https://github.com/rust-db/refinery"; - changelog = "https://github.com/rust-db/refinery/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/rust-db/refinery/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ lucperkins ]; }; -} +}) diff --git a/pkgs/by-name/re/reindeer/package.nix b/pkgs/by-name/re/reindeer/package.nix index d6cad0aa9cc8..6a3f8c06e439 100644 --- a/pkgs/by-name/re/reindeer/package.nix +++ b/pkgs/by-name/re/reindeer/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "reindeer"; version = "2026.02.02.00"; src = fetchFromGitHub { owner = "facebookincubator"; repo = "reindeer"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-NiS3TETnyGMGU+AxTNQIem3Cj2/c/VKSXSrcTX/5oME="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ amaanq ]; }; -} +}) diff --git a/pkgs/by-name/re/remodel/package.nix b/pkgs/by-name/re/remodel/package.nix index 2b80e8e9343c..57001d3ec0c2 100644 --- a/pkgs/by-name/re/remodel/package.nix +++ b/pkgs/by-name/re/remodel/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "remodel"; version = "0.11.0"; src = fetchFromGitHub { owner = "rojo-rbx"; repo = "remodel"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-tZ6ptGeNBULJaoFomMFN294wY8YUu1SrJh4UfOL/MnI="; }; @@ -34,9 +34,9 @@ rustPlatform.buildRustPackage rec { Remodel is a command line tool for manipulating Roblox files and the instances contained within them. ''; homepage = "https://github.com/rojo-rbx/remodel"; - downloadPage = "https://github.com/rojo-rbx/remodel/releases/tag/v${version}"; - changelog = "https://github.com/rojo-rbx/remodel/raw/v${version}/CHANGELOG.md"; + downloadPage = "https://github.com/rojo-rbx/remodel/releases/tag/v${finalAttrs.version}"; + changelog = "https://github.com/rojo-rbx/remodel/raw/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/re/repak/package.nix b/pkgs/by-name/re/repak/package.nix index 0b9a5960e34f..b3f261baa703 100644 --- a/pkgs/by-name/re/repak/package.nix +++ b/pkgs/by-name/re/repak/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "repak"; version = "0.2.2"; src = fetchFromGitHub { owner = "trumank"; repo = "repak"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-nl05EsR52YFSR9Id3zFynhrBIvaqVwUOdjPlSp19Gcc="; }; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Unreal Engine .pak file library and CLI in rust"; homepage = "https://github.com/trumank/repak"; - changelog = "https://github.com/trumank/repak/releases/tag/v${version}"; + changelog = "https://github.com/trumank/repak/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ mit asl20 @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ florensie ]; mainProgram = "repak"; }; -} +}) diff --git a/pkgs/by-name/re/replibyte/package.nix b/pkgs/by-name/re/replibyte/package.nix index 1b387d071b27..440410e0a585 100644 --- a/pkgs/by-name/re/replibyte/package.nix +++ b/pkgs/by-name/re/replibyte/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "replibyte"; version = "0.10.0"; src = fetchFromGitHub { owner = "Qovery"; repo = "replibyte"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-VExA92g+1y65skxLKU62ZPUPOwdm9N73Ne9xW7Q0Sic="; }; @@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ dit7ya ]; }; -} +}) diff --git a/pkgs/by-name/re/rescrobbled/package.nix b/pkgs/by-name/re/rescrobbled/package.nix index c631f63e4f81..6db36319a3c4 100644 --- a/pkgs/by-name/re/rescrobbled/package.nix +++ b/pkgs/by-name/re/rescrobbled/package.nix @@ -8,7 +8,7 @@ dbus, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rescrobbled"; version = "0.8.0"; @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "InputUsername"; repo = "rescrobbled"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-+5BkM4L2eB54idZ6X2ESw6ERMhG5CM4AF4BMEJm3xLU="; }; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ negatethis ]; }; -} +}) diff --git a/pkgs/by-name/re/restic-integrity/package.nix b/pkgs/by-name/re/restic-integrity/package.nix index 43531b495383..04c82529582a 100644 --- a/pkgs/by-name/re/restic-integrity/package.nix +++ b/pkgs/by-name/re/restic-integrity/package.nix @@ -4,7 +4,7 @@ fetchFromGitea, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "restic-integrity"; version = "1.4.0"; @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec { domain = "git.nwex.de"; owner = "networkException"; repo = "restic-integrity"; - tag = version; + tag = finalAttrs.version; hash = "sha256-Nii+rdz51+Acd+lZVpBispeFfVE8buxEGHvK2zMKbOM="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ networkexception ]; mainProgram = "restic-integrity"; }; -} +}) diff --git a/pkgs/by-name/re/restls/package.nix b/pkgs/by-name/re/restls/package.nix index 352a0a3c3de7..695bfdeb2413 100644 --- a/pkgs/by-name/re/restls/package.nix +++ b/pkgs/by-name/re/restls/package.nix @@ -4,14 +4,14 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "restls"; version = "0.1.1"; src = fetchFromGitHub { owner = "3andne"; repo = "restls"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-nlQdBwxHVbpOmb9Wq+ap2i4KI1zJYT3SEqvedDbVH8Q="; }; @@ -19,10 +19,10 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://github.com/3andne/restls"; - changelog = "https://github.com/3andne/restls/releases/tag/${src.rev}"; + changelog = "https://github.com/3andne/restls/releases/tag/${finalAttrs.src.rev}"; description = "Perfect Impersonation of TLS"; license = lib.licenses.bsd3; mainProgram = "restls"; maintainers = with lib.maintainers; [ oluceps ]; }; -} +}) diff --git a/pkgs/by-name/re/resvg/package.nix b/pkgs/by-name/re/resvg/package.nix index ebd3752dbbf9..5f2e99a1b98c 100644 --- a/pkgs/by-name/re/resvg/package.nix +++ b/pkgs/by-name/re/resvg/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "resvg"; version = "0.46.0"; src = fetchFromGitHub { owner = "RazrFalcon"; repo = "resvg"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-kiE9Zv3PonRRq6pbRnqGz0LKlYSTFSuuqYaLDmC9I2Y="; }; @@ -30,9 +30,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "SVG rendering library"; homepage = "https://github.com/RazrFalcon/resvg"; - changelog = "https://github.com/RazrFalcon/resvg/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/RazrFalcon/resvg/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = [ ]; mainProgram = "resvg"; }; -} +}) diff --git a/pkgs/by-name/re/reth/package.nix b/pkgs/by-name/re/reth/package.nix index 8710e546aaf4..276769b04942 100644 --- a/pkgs/by-name/re/reth/package.nix +++ b/pkgs/by-name/re/reth/package.nix @@ -5,14 +5,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "reth"; version = "1.9.3"; src = fetchFromGitHub { owner = "paradigmxyz"; repo = "reth"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-zTSwRSSZDINHEkbtTiLP3mgod9lDzFrPxMXq88NTOAM="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ mitchmindtree ]; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/re/revpfw3/package.nix b/pkgs/by-name/re/revpfw3/package.nix index b413232a9cf4..4daad3ed9a7d 100644 --- a/pkgs/by-name/re/revpfw3/package.nix +++ b/pkgs/by-name/re/revpfw3/package.nix @@ -4,7 +4,7 @@ rustPlatform, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "revpfw3"; version = "0.5.0"; @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec { src = fetchgit { url = "https://git.tudbut.de/tudbut/revpfw3"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-oqBzRpfL5sMxE29HwVXW4rdnf5cfNCn2pUqZiYDhHDk="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ tudbut ]; mainProgram = "revpfw3"; }; -} +}) diff --git a/pkgs/by-name/re/rewatch/package.nix b/pkgs/by-name/re/rewatch/package.nix index 631dfda132d9..e00b16c6b280 100644 --- a/pkgs/by-name/re/rewatch/package.nix +++ b/pkgs/by-name/re/rewatch/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rewatch"; version = "1.0.12"; src = fetchFromGitHub { owner = "rescript-lang"; repo = "rewatch"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-UoUL3zeyrs3FdQVyAo0FsuNiPtiITbuNDdEXxWg3yiY="; }; @@ -25,9 +25,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Alternative build system for the Rescript Compiler"; homepage = "https://github.com/rescript-lang/rewatch"; - changelog = "https://github.com/rescript-lang/rewatch/releases/tag/v${version}"; + changelog = "https://github.com/rescript-lang/rewatch/releases/tag/v${finalAttrs.version}"; mainProgram = "rewatch"; maintainers = with lib.maintainers; [ r17x ]; license = lib.licenses.mit; }; -} +}) diff --git a/pkgs/by-name/re/rewrk/package.nix b/pkgs/by-name/re/rewrk/package.nix index 3b27f1ac6a5b..6e866499ef5f 100644 --- a/pkgs/by-name/re/rewrk/package.nix +++ b/pkgs/by-name/re/rewrk/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rewrk"; version = "0.3.2"; src = fetchFromGitHub { owner = "lnx-search"; repo = "rewrk"; - rev = version; + rev = finalAttrs.version; hash = "sha256-Bqr5kmIIx+12hW4jpINcv0GBJBbMAkd4di/hZSXlT18="; }; @@ -24,9 +24,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "More modern http framework benchmarker supporting HTTP/1 and HTTP/2 benchmarks"; homepage = "https://github.com/lnx-search/rewrk"; - changelog = "https://github.com/lnx-search/rewrk/releases/tag/${version}"; + changelog = "https://github.com/lnx-search/rewrk/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "rewrk"; }; -} +}) diff --git a/pkgs/by-name/rh/rhack/package.nix b/pkgs/by-name/rh/rhack/package.nix index 23be07cde288..1e55e3644e75 100644 --- a/pkgs/by-name/rh/rhack/package.nix +++ b/pkgs/by-name/rh/rhack/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rhack"; version = "0.1.0"; src = fetchFromGitHub { owner = "nakabonne"; repo = "rhack"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "088ynf65szaa86pxwwasn3wwi00z5pn7i8w9gh5dyn983z4d8237"; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.bsd3; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/rh/rhai-doc/package.nix b/pkgs/by-name/rh/rhai-doc/package.nix index a1e921505f7d..3ad1444fe7ac 100644 --- a/pkgs/by-name/rh/rhai-doc/package.nix +++ b/pkgs/by-name/rh/rhai-doc/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rhai-doc"; version = "0.2.3"; src = fetchFromGitHub { owner = "rhaiscript"; repo = "rhai-doc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-GZq5C8Q95OHKftEkps4Y6X6sAc4pzSfSq3ELUW/kPWI="; }; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Tool to auto-generate documentation for Rhai source code"; homepage = "https://github.com/rhaiscript/rhai-doc"; - changelog = "https://github.com/rhaiscript/rhai-doc/releases/tag/${src.rev}"; + changelog = "https://github.com/rhaiscript/rhai-doc/releases/tag/${finalAttrs.src.rev}"; license = with lib.licenses; [ asl20 mit @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.matthiasbeyer ]; mainProgram = "rhai-doc"; }; -} +}) diff --git a/pkgs/by-name/ri/riff/package.nix b/pkgs/by-name/ri/riff/package.nix index 4437a8d0e043..b28b5e6ed3ae 100644 --- a/pkgs/by-name/ri/riff/package.nix +++ b/pkgs/by-name/ri/riff/package.nix @@ -7,14 +7,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "riff"; version = "1.0.3"; src = fetchFromGitHub { owner = "DeterminateSystems"; repo = "riff"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ThHkEvu+lWojHmEgcrwdZDPROfxznB7vv78msyZf90A="; }; @@ -37,8 +37,8 @@ rustPlatform.buildRustPackage rec { description = "Tool that automatically provides external dependencies for software projects"; mainProgram = "riff"; homepage = "https://riff.sh"; - changelog = "https://github.com/DeterminateSystems/riff/releases/tag/v${version}"; + changelog = "https://github.com/DeterminateSystems/riff/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mpl20; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ri/riffdiff/package.nix b/pkgs/by-name/ri/riffdiff/package.nix index 02bfdd5b57eb..9f4ca851757c 100644 --- a/pkgs/by-name/ri/riffdiff/package.nix +++ b/pkgs/by-name/ri/riffdiff/package.nix @@ -7,14 +7,14 @@ testers, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "riffdiff"; version = "3.6.1"; src = fetchFromGitHub { owner = "walles"; repo = "riff"; - tag = version; + tag = finalAttrs.version; hash = "sha256-2C1aD9sXh/+spNxbLbw13WAJ6ijdYqkWgPbKrw3zTm0="; }; @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Diff filter highlighting which line parts have changed"; homepage = "https://github.com/walles/riff"; - changelog = "https://github.com/walles/riff/releases/tag/${version}"; + changelog = "https://github.com/walles/riff/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ johnpyp @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "riff"; }; -} +}) diff --git a/pkgs/by-name/ri/rime-ls/package.nix b/pkgs/by-name/ri/rime-ls/package.nix index 0101a089c6a0..d33becc6a39a 100644 --- a/pkgs/by-name/ri/rime-ls/package.nix +++ b/pkgs/by-name/ri/rime-ls/package.nix @@ -5,14 +5,14 @@ librime, rime-data, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rime-ls"; version = "0.4.3"; src = fetchFromGitHub { owner = "wlh320"; repo = "rime-ls"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-jDn41hSDcQQO1d4G0XV6B/JZkryHtuoHUOYpmdE1Kxo="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ definfo ]; mainProgram = "rime_ls"; }; -} +}) diff --git a/pkgs/by-name/ri/rink/package.nix b/pkgs/by-name/ri/rink/package.nix index da0c2ba6a2e3..7048b12c028a 100644 --- a/pkgs/by-name/ri/rink/package.nix +++ b/pkgs/by-name/ri/rink/package.nix @@ -12,14 +12,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { version = "0.8.0"; pname = "rink"; src = fetchFromGitHub { owner = "tiffany352"; repo = "rink-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-2+ZkyWhEnnO/QgCzWscbMr0u5kwdv2HqPLjtiXDfv/o="; }; @@ -66,4 +66,4 @@ rustPlatform.buildRustPackage rec { sb0 ]; }; -} +}) diff --git a/pkgs/by-name/ri/rip2/package.nix b/pkgs/by-name/ri/rip2/package.nix index 4b2a6f5a3f49..f915f223a919 100644 --- a/pkgs/by-name/ri/rip2/package.nix +++ b/pkgs/by-name/ri/rip2/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rip2"; version = "0.9.6"; src = fetchFromGitHub { owner = "MilesCranmer"; repo = "rip2"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-cqc9oZSs0JEMEJfHTHBAgN5Y5/zLPInPeQcOthj+EzQ="; }; @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "rip"; }; -} +}) diff --git a/pkgs/by-name/ri/ripdrag/package.nix b/pkgs/by-name/ri/ripdrag/package.nix index 452f9a169e87..1e0d7f1b6305 100644 --- a/pkgs/by-name/ri/ripdrag/package.nix +++ b/pkgs/by-name/ri/ripdrag/package.nix @@ -7,14 +7,14 @@ gtk4, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ripdrag"; version = "0.4.11"; src = fetchFromGitHub { owner = "nik012003"; repo = "ripdrag"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-1IUS0PNzIoSrlBXQrUmw/lXUD8auVVKhu/irSoYoK6w="; }; @@ -30,9 +30,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Application that lets you drag and drop files from and to the terminal"; homepage = "https://github.com/nik012003/ripdrag"; - changelog = "https://github.com/nik012003/ripdrag/releases/tag/${src.rev}"; + changelog = "https://github.com/nik012003/ripdrag/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.gpl3Only; maintainers = [ ]; mainProgram = "ripdrag"; }; -} +}) diff --git a/pkgs/by-name/ri/ripgrep-all/package.nix b/pkgs/by-name/ri/ripgrep-all/package.nix index d85e4b488ebf..d6a8422641f3 100644 --- a/pkgs/by-name/ri/ripgrep-all/package.nix +++ b/pkgs/by-name/ri/ripgrep-all/package.nix @@ -21,14 +21,14 @@ let fzf ]; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ripgrep-all"; version = "0.10.10"; src = fetchFromGitHub { owner = "phiresky"; repo = "ripgrep-all"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-fDSetB2UGzth+3KkCKsXUHj3y08RSfQ2nCKDa8OurW4="; }; @@ -52,7 +52,7 @@ rustPlatform.buildRustPackage rec { ''; meta = { - changelog = "https://github.com/phiresky/ripgrep-all/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/phiresky/ripgrep-all/blob/${finalAttrs.src.rev}/CHANGELOG.md"; description = "Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, and more"; longDescription = '' Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc. @@ -69,4 +69,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "rga"; }; -} +}) diff --git a/pkgs/by-name/ri/ripgrep/package.nix b/pkgs/by-name/ri/ripgrep/package.nix index 26cca99406d2..69d06b695139 100644 --- a/pkgs/by-name/ri/ripgrep/package.nix +++ b/pkgs/by-name/ri/ripgrep/package.nix @@ -15,14 +15,14 @@ let canRunRg = stdenv.hostPlatform.emulatorAvailable buildPackages; rg = "${stdenv.hostPlatform.emulator buildPackages} $out/bin/rg${stdenv.hostPlatform.extensions.executable}"; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ripgrep"; version = "15.1.0"; src = fetchFromGitHub { owner = "BurntSushi"; repo = "ripgrep"; - rev = version; + rev = finalAttrs.version; hash = "sha256-0gjwYMUlXYnmIWQS1SVzF1yQw1lpveRLw5qp049lc3I="; }; @@ -61,7 +61,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Utility that combines the usability of The Silver Searcher with the raw speed of grep"; homepage = "https://github.com/BurntSushi/ripgrep"; - changelog = "https://github.com/BurntSushi/ripgrep/releases/tag/${version}"; + changelog = "https://github.com/BurntSushi/ripgrep/releases/tag/${finalAttrs.version}"; license = with lib.licenses; [ unlicense # or mit @@ -74,4 +74,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "rg"; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/ri/rippkgs/package.nix b/pkgs/by-name/ri/rippkgs/package.nix index 70f1f76574cb..9d95e453b898 100644 --- a/pkgs/by-name/ri/rippkgs/package.nix +++ b/pkgs/by-name/ri/rippkgs/package.nix @@ -6,14 +6,14 @@ sqlite, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rippkgs"; version = "1.2.0"; src = fetchFromGitHub { owner = "replit"; repo = "rippkgs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-nRaGbJg1zCHTL8y/Tk5dM1dSu2v06ECsZYyMPIQTlvg="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ cdmistman ]; mainProgram = "rippkgs"; }; -} +}) diff --git a/pkgs/by-name/ri/ripsecrets/package.nix b/pkgs/by-name/ri/ripsecrets/package.nix index 56dfd451df8f..0daffa857a31 100644 --- a/pkgs/by-name/ri/ripsecrets/package.nix +++ b/pkgs/by-name/ri/ripsecrets/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ripsecrets"; version = "0.1.11"; src = fetchFromGitHub { owner = "sirwart"; repo = "ripsecrets"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-JCImUgicoXII64rK/Hch/0gJQE81Fw3h512w/vHUwAI="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command-line tool to prevent committing secret keys into your source code"; homepage = "https://github.com/sirwart/ripsecrets"; - changelog = "https://github.com/sirwart/ripsecrets/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/sirwart/ripsecrets/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "ripsecrets"; }; -} +}) diff --git a/pkgs/by-name/ri/ripunzip/package.nix b/pkgs/by-name/ri/ripunzip/package.nix index 0408ece796db..23c2bd4354ef 100644 --- a/pkgs/by-name/ri/ripunzip/package.nix +++ b/pkgs/by-name/ri/ripunzip/package.nix @@ -9,14 +9,14 @@ ripunzip, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ripunzip"; version = "2.0.4"; src = fetchFromGitHub { owner = "google"; repo = "ripunzip"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-oujRw/4yKNNqLJLTN4wxaOllSUGMu077YgWZkD0DJ4M="; }; @@ -64,4 +64,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ lib.maintainers.lesuisse ]; }; -} +}) diff --git a/pkgs/by-name/ri/river-bsp-layout/package.nix b/pkgs/by-name/ri/river-bsp-layout/package.nix index 179f7ccb70df..7705ee94a668 100644 --- a/pkgs/by-name/ri/river-bsp-layout/package.nix +++ b/pkgs/by-name/ri/river-bsp-layout/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "river-bsp-layout"; version = "2.1.1"; src = fetchFromGitHub { owner = "areif-dev"; repo = "river-bsp-layout"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-/R9v3NGsSG4JJtdk0sJX7ahRolRmJMwMP48JRmLffXc="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "river-bsp-layout"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ri/river-filtile/package.nix b/pkgs/by-name/ri/river-filtile/package.nix index 7909cd26440b..df134cd1d2c0 100644 --- a/pkgs/by-name/ri/river-filtile/package.nix +++ b/pkgs/by-name/ri/river-filtile/package.nix @@ -5,14 +5,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "river-filtile"; version = "1.2.1"; src = fetchFromGitHub { owner = "pkulak"; repo = "filtile"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-wBU4CX6KGnTvrBsXvFAlRrvDqvHHbAlVkDqTCJx90G8="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ pkulak ]; mainProgram = "filtile"; }; -} +}) diff --git a/pkgs/by-name/ri/river-luatile/package.nix b/pkgs/by-name/ri/river-luatile/package.nix index 9dd99efcec0c..1a85be7b9f59 100644 --- a/pkgs/by-name/ri/river-luatile/package.nix +++ b/pkgs/by-name/ri/river-luatile/package.nix @@ -6,14 +6,14 @@ luajit, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "river-luatile"; version = "0.1.4"; src = fetchFromGitHub { owner = "MaxVerevkin"; repo = "river-luatile"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8/qHoNFoGH1nSdTwBkaQk+yyvJtrXADTA39gUAMeSv8="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ pinpox ]; mainProgram = "river-luatile"; }; -} +}) diff --git a/pkgs/by-name/rk/rkvm/package.nix b/pkgs/by-name/rk/rkvm/package.nix index da8eedea434c..c91da9c1d5fd 100644 --- a/pkgs/by-name/rk/rkvm/package.nix +++ b/pkgs/by-name/rk/rkvm/package.nix @@ -9,14 +9,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rkvm"; version = "0.6.1"; src = fetchFromGitHub { owner = "htrefil"; repo = "rkvm"; - rev = version; + rev = finalAttrs.version; hash = "sha256-pGCoNmGOeV7ND4kcRjlJZbEMnmKQhlCtyjMoWIwVZrM="; }; @@ -44,9 +44,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Virtual KVM switch for Linux machines"; homepage = "https://github.com/htrefil/rkvm"; - changelog = "https://github.com/htrefil/rkvm/releases/tag/${version}"; + changelog = "https://github.com/htrefil/rkvm/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; platforms = lib.platforms.linux; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/rl/rlaunch/package.nix b/pkgs/by-name/rl/rlaunch/package.nix index 5ce9d370b7a8..cab8a1048456 100644 --- a/pkgs/by-name/rl/rlaunch/package.nix +++ b/pkgs/by-name/rl/rlaunch/package.nix @@ -7,14 +7,14 @@ libx11, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rlaunch"; version = "1.3.14"; src = fetchFromGitHub { owner = "PonasKovas"; repo = "rlaunch"; - rev = version; + rev = finalAttrs.version; hash = "sha256-PyCR/ob947W+6T56y1se74aNy1avJDb2ELyv2aGf1og="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ danc86 ]; mainProgram = "rlaunch"; }; -} +}) diff --git a/pkgs/by-name/rl/rlci/package.nix b/pkgs/by-name/rl/rlci/package.nix index 81e9bcff92e6..31f34379f42c 100644 --- a/pkgs/by-name/rl/rlci/package.nix +++ b/pkgs/by-name/rl/rlci/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rlci"; version = "1.1.2"; src = fetchFromGitHub { owner = "orsinium-labs"; repo = "rlci"; - rev = version; + rev = finalAttrs.version; hash = "sha256-+Hd1Ymm2LKnHUKoUlfN6D6pwebxgwJQHgqwMHXXtP6Y="; }; @@ -21,8 +21,8 @@ rustPlatform.buildRustPackage rec { description = "Lambda calculus interpreter"; mainProgram = "rlci"; homepage = "https://github.com/orsinium-labs/rlci"; - changelog = "https://github.com/orsinium-labs/rlci/releases/tag/${src.rev}"; + changelog = "https://github.com/orsinium-labs/rlci/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/rm/rm-improved/package.nix b/pkgs/by-name/rm/rm-improved/package.nix index 40b4b8734162..d88d8ca0cddf 100644 --- a/pkgs/by-name/rm/rm-improved/package.nix +++ b/pkgs/by-name/rm/rm-improved/package.nix @@ -4,14 +4,14 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rm-improved"; version = "0.13.1"; src = fetchFromGitHub { owner = "nivekuil"; repo = "rip"; - rev = version; + rev = finalAttrs.version; hash = "sha256-jbXmGPrb9PhmCSUFVcCqg8HjntS2mrYeNuaMsU+zIFI="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ nils-degroot ]; mainProgram = "rip"; }; -} +}) diff --git a/pkgs/by-name/rm/rmenu/package.nix b/pkgs/by-name/rm/rmenu/package.nix index 39f1dca0ccbe..3766f3506008 100644 --- a/pkgs/by-name/rm/rmenu/package.nix +++ b/pkgs/by-name/rm/rmenu/package.nix @@ -14,12 +14,12 @@ xdotool, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rmenu"; version = "1.3.0"; src = fetchFromGitHub { - tag = "v${version}"; + tag = "v${finalAttrs.version}"; owner = "imgurbot12"; repo = "rmenu"; hash = "sha256-cmuB7JfHQuDFo8YaenTDwpe+TxKFaoJM5YwrT7eAfPM="; @@ -85,7 +85,7 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; meta = { - changelog = "https://github.com/imgurbot12/rmenu/releases/tag/v${version}"; + changelog = "https://github.com/imgurbot12/rmenu/releases/tag/v${finalAttrs.version}"; description = "Another customizable Application-Launcher written in Rust"; homepage = "https://github.com/imgurbot12/rmenu"; license = lib.licenses.mit; @@ -93,4 +93,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ grimmauld ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/rm/rmpc/package.nix b/pkgs/by-name/rm/rmpc/package.nix index bdee2c82a2de..b46dde55f64b 100644 --- a/pkgs/by-name/rm/rmpc/package.nix +++ b/pkgs/by-name/rm/rmpc/package.nix @@ -8,14 +8,14 @@ cmake, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rmpc"; version = "0.11.0"; src = fetchFromGitHub { owner = "mierak"; repo = "rmpc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-IcWn15tKlThuLR8s/4KtaHm4np8B8UaKYQsyEWlQoB4="; }; @@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; - env.VERGEN_GIT_DESCRIBE = version; + env.VERGEN_GIT_DESCRIBE = finalAttrs.version; postInstall = '' installManPage target/man/rmpc.1 @@ -43,7 +43,7 @@ rustPlatform.buildRustPackage rec { ''; meta = { - changelog = "https://github.com/mierak/rmpc/releases/tag/${src.rev}"; + changelog = "https://github.com/mierak/rmpc/releases/tag/${finalAttrs.src.rev}"; description = "TUI music player client for MPD with album art support via kitty image protocol"; homepage = "https://rmpc.mierak.dev/"; license = lib.licenses.bsd3; @@ -60,4 +60,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "rmpc"; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; -} +}) diff --git a/pkgs/by-name/rn/rnr/package.nix b/pkgs/by-name/rn/rnr/package.nix index c8cea76924de..5092905a8ec1 100644 --- a/pkgs/by-name/rn/rnr/package.nix +++ b/pkgs/by-name/rn/rnr/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rnr"; version = "0.5.1"; src = fetchFromGitHub { owner = "ismaelgv"; repo = "rnr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-vuYFh7k7dNCOnB5jqP8MIBIWFOVxRmv0+qvCXkJchtA="; }; @@ -21,8 +21,8 @@ rustPlatform.buildRustPackage rec { description = "Command-line tool to batch rename files and directories"; mainProgram = "rnr"; homepage = "https://github.com/ismaelgv/rnr"; - changelog = "https://github.com/ismaelgv/rnr/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/ismaelgv/rnr/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ro/rogcat/package.nix b/pkgs/by-name/ro/rogcat/package.nix index 06577483ef77..327fa9f487b4 100644 --- a/pkgs/by-name/ro/rogcat/package.nix +++ b/pkgs/by-name/ro/rogcat/package.nix @@ -8,14 +8,14 @@ libudev-zero, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rogcat"; version = "0.5.0"; src = fetchFromGitHub { owner = "flxo"; repo = "rogcat"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-nXKvepuiBDIGo8Gga5tbbT/mnC6z+HipV5XYtlrURRU="; }; @@ -38,10 +38,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Adb logcat wrapper"; homepage = "https://github.com/flxo/rogcat"; - changelog = "https://github.com/flxo/rogcat/releases/tag/v${version}"; + changelog = "https://github.com/flxo/rogcat/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ genga898 ]; mainProgram = "rogcat"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ro/roogle/package.nix b/pkgs/by-name/ro/roogle/package.nix index c64244eda41f..d2e963c72d60 100644 --- a/pkgs/by-name/ro/roogle/package.nix +++ b/pkgs/by-name/ro/roogle/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "roogle"; version = "1.0.2"; src = fetchFromGitHub { owner = "hkmatsumoto"; repo = "roogle"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-oeQwRcDn4X/CL+O4APmGv9T19c9oD5tCBRz4K41K1Zg="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ lib.maintainers.matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/ro/roon-tui/package.nix b/pkgs/by-name/ro/roon-tui/package.nix index f13d287686e2..b19ab40799c7 100644 --- a/pkgs/by-name/ro/roon-tui/package.nix +++ b/pkgs/by-name/ro/roon-tui/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "roon-tui"; version = "0.3.2"; src = fetchFromGitHub { owner = "TheAppgineer"; repo = "roon-tui"; - rev = version; + rev = finalAttrs.version; hash = "sha256-ocPSqj9/xJ2metetn6OY+IEFWysbstPmh2N5Jd8NDPM="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ MichaelCDormann ]; mainProgram = "roon-tui"; }; -} +}) diff --git a/pkgs/by-name/ro/rops/package.nix b/pkgs/by-name/ro/rops/package.nix index f62c0d3846ab..fee2c4abcd4c 100644 --- a/pkgs/by-name/ro/rops/package.nix +++ b/pkgs/by-name/ro/rops/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rops"; version = "0.1.6"; src = fetchFromGitHub { owner = "gibbz00"; repo = "rops"; - tag = version; + tag = finalAttrs.version; hash = "sha256-Nqtwc9QSafvr0N8G6LKZBG4pZHzut3t85qwgVAw59iU="; }; @@ -26,9 +26,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "SOPS alternative in pure rust"; homepage = "https://gibbz00.github.io/rops"; - changelog = "https://github.com/gibbz00/rops/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/gibbz00/rops/blob/${finalAttrs.version}/CHANGELOG.md"; mainProgram = "rops"; maintainers = with lib.maintainers; [ r17x ]; license = lib.licenses.mpl20; }; -} +}) diff --git a/pkgs/by-name/ro/rot8/package.nix b/pkgs/by-name/ro/rot8/package.nix index 2fd36fb2f4a4..4d23fbc6a9be 100644 --- a/pkgs/by-name/ro/rot8/package.nix +++ b/pkgs/by-name/ro/rot8/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rot8"; version = "1.0.0"; src = fetchFromGitHub { owner = "efernau"; repo = "rot8"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-dHx3vFY0ztyTIlzUi22TYphPD5hvgfHrWaaeoGxnvW0="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "rot8"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ro/routinator/package.nix b/pkgs/by-name/ro/routinator/package.nix index 1ba406c73f85..01d325a27135 100644 --- a/pkgs/by-name/ro/routinator/package.nix +++ b/pkgs/by-name/ro/routinator/package.nix @@ -5,14 +5,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "routinator"; version = "0.15.1"; src = fetchFromGitHub { owner = "NLnetLabs"; repo = "routinator"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-tgDhIM8Dw4k/ocXa3U1xqS/TDmqNbjnNzIyCxEmu294="; }; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "RPKI Validator written in Rust"; homepage = "https://github.com/NLnetLabs/routinator"; - changelog = "https://github.com/NLnetLabs/routinator/blob/v${version}/Changelog.md"; + changelog = "https://github.com/NLnetLabs/routinator/blob/v${finalAttrs.version}/Changelog.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ _0x4A6F ]; mainProgram = "routinator"; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { passthru.tests = { basic-functioniality = nixosTests.routinator; }; -} +}) diff --git a/pkgs/by-name/rp/rpg-cli/package.nix b/pkgs/by-name/rp/rpg-cli/package.nix index 99ebdeaece1f..0e7d38b5861e 100644 --- a/pkgs/by-name/rp/rpg-cli/package.nix +++ b/pkgs/by-name/rp/rpg-cli/package.nix @@ -4,14 +4,14 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rpg-cli"; version = "1.2.0"; src = fetchFromGitHub { owner = "facundoolano"; repo = "rpg-cli"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-xNkM8qN9vg/WGRR/96aCQRVjIbSdSs2845l6oE6+tzg="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/rs/rs-git-fsmonitor/package.nix b/pkgs/by-name/rs/rs-git-fsmonitor/package.nix index 056d00d28ea1..284be565f38b 100644 --- a/pkgs/by-name/rs/rs-git-fsmonitor/package.nix +++ b/pkgs/by-name/rs/rs-git-fsmonitor/package.nix @@ -6,14 +6,14 @@ watchman, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rs-git-fsmonitor"; version = "0.2.0"; src = fetchFromGitHub { owner = "jgavris"; repo = "rs-git-fsmonitor"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-+5nR+/09HmFk3mq2B8NTeBT50aBG85yXEdeO6BhStVw="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ nilscc ]; mainProgram = "rs-git-fsmonitor"; }; -} +}) diff --git a/pkgs/by-name/rs/rsass/package.nix b/pkgs/by-name/rs/rsass/package.nix index b2b99af70126..315c697f1585 100644 --- a/pkgs/by-name/rs/rsass/package.nix +++ b/pkgs/by-name/rs/rsass/package.nix @@ -4,13 +4,13 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rsass"; version = "0.29.0"; src = fetchCrate { pname = "rsass-cli"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-3Xi+8TKmlZJYsZogzezce0KvasqTRfh04SmeC1UbJQ0="; }; @@ -20,11 +20,11 @@ rustPlatform.buildRustPackage rec { description = "Sass reimplemented in rust with nom"; mainProgram = "rsass"; homepage = "https://github.com/kaj/rsass"; - changelog = "https://github.com/kaj/rsass/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/kaj/rsass/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit # or asl20 ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/rs/rsclock/package.nix b/pkgs/by-name/rs/rsclock/package.nix index 75972f5e4810..c13246c3cec8 100644 --- a/pkgs/by-name/rs/rsclock/package.nix +++ b/pkgs/by-name/rs/rsclock/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rsClock"; version = "0.1.12"; src = fetchFromGitHub { owner = "valebes"; repo = "rsClock"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-l5750zP90KnB+OIg1WOikQ6OgQZK4iwVvGBN3jegjGc="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ valebes ]; mainProgram = "rsclock"; }; -} +}) diff --git a/pkgs/by-name/rs/rshijack/package.nix b/pkgs/by-name/rs/rshijack/package.nix index 480f00138014..3cef2008805d 100644 --- a/pkgs/by-name/rs/rshijack/package.nix +++ b/pkgs/by-name/rs/rshijack/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rshijack"; version = "0.5.2"; src = fetchFromGitHub { owner = "kpcyrd"; repo = "rshijack"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-vTbjb0tm6jCP9+QWG5R83v31W6RUgSEv96iR37QdnFo="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; mainProgram = "rshijack"; }; -} +}) diff --git a/pkgs/by-name/rs/rslint/package.nix b/pkgs/by-name/rs/rslint/package.nix index faa284c94b3e..77be6f4ecc68 100644 --- a/pkgs/by-name/rs/rslint/package.nix +++ b/pkgs/by-name/rs/rslint/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rslint"; version = "0.3.2"; src = fetchFromGitHub { owner = "rslint"; repo = "rslint"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-3DEwi+bhqwP8aMpZYl07GZbe7IecraB3m54lZ5LViVc="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/rs/rsop/package.nix b/pkgs/by-name/rs/rsop/package.nix index 3aa7976e1215..c2d74046d4ad 100644 --- a/pkgs/by-name/rs/rsop/package.nix +++ b/pkgs/by-name/rs/rsop/package.nix @@ -9,14 +9,14 @@ rsop, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rsop"; version = "0.9.3"; src = fetchFromCodeberg { owner = "heiko"; repo = "rsop"; - rev = "rsop/v${version}"; + rev = "rsop/v${finalAttrs.version}"; hash = "sha256-eP3jh5TIhMHDWnttnYvBre/tfzxajLNGtInWNiFAPiw="; }; @@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ nikstur ]; mainProgram = "rsop"; }; -} +}) diff --git a/pkgs/by-name/rt/rtrtr/package.nix b/pkgs/by-name/rt/rtrtr/package.nix index c9f5af043bb9..6aba19949477 100644 --- a/pkgs/by-name/rt/rtrtr/package.nix +++ b/pkgs/by-name/rt/rtrtr/package.nix @@ -5,14 +5,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rtrtr"; version = "0.3.2"; src = fetchFromGitHub { owner = "NLnetLabs"; repo = "rtrtr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-1TmzC/d/odfYdo1CiCsFW3U7OCpTF4Gkw2w4c2yaxxw="; }; @@ -32,9 +32,9 @@ rustPlatform.buildRustPackage rec { RTR and JSON and, in turn, provide an RTR service for routers to connect to. ''; homepage = "https://github.com/NLnetLabs/rtrtr"; - changelog = "https://github.com/NLnetLabs/rtrtr/blob/v${version}/Changelog.md"; + changelog = "https://github.com/NLnetLabs/rtrtr/blob/v${finalAttrs.version}/Changelog.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ steamwalker ]; mainProgram = "rtrtr"; }; -} +}) diff --git a/pkgs/by-name/rt/rtss/package.nix b/pkgs/by-name/rt/rtss/package.nix index cfdab4ffb4f6..0882522fc1d0 100644 --- a/pkgs/by-name/rt/rtss/package.nix +++ b/pkgs/by-name/rt/rtss/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rtss"; version = "0.6.2"; src = fetchFromGitHub { owner = "Freaky"; repo = "rtss"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-WeeZsB42/4SlIaWwKvOqWiPNV5p0QOToynI8ozVVxJM="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ djanatyn ]; }; -} +}) diff --git a/pkgs/by-name/rt/rtz/package.nix b/pkgs/by-name/rt/rtz/package.nix index 4e12b7f9ce23..50e8cf1dafed 100644 --- a/pkgs/by-name/rt/rtz/package.nix +++ b/pkgs/by-name/rt/rtz/package.nix @@ -8,14 +8,14 @@ zstd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rtz"; version = "0.7.1"; src = fetchFromGitHub { owner = "twitchax"; repo = "rtz"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-V7N9NFIc/WWxLaahkjdS47Qj8sc3HRdKSkrBqi1ngA8="; }; @@ -36,9 +36,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Tool to easily work with timezone lookups via a binary, a library, or a server"; homepage = "https://github.com/twitchax/rtz"; - changelog = "https://github.com/twitchax/rtz/releases/tag/${src.rev}"; + changelog = "https://github.com/twitchax/rtz/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "rtz"; }; -} +}) diff --git a/pkgs/by-name/ru/rucola/package.nix b/pkgs/by-name/ru/rucola/package.nix index 954d2660dc67..38d06d3b118e 100644 --- a/pkgs/by-name/ru/rucola/package.nix +++ b/pkgs/by-name/ru/rucola/package.nix @@ -7,14 +7,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rucola"; version = "0.5.0"; src = fetchFromGitHub { owner = "Linus-Mussmaecher"; repo = "rucola"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-vBY6tkzLgZuSU5AqH3uzDwjPl/ayWY0S8uRvlgE/Wmw="; }; @@ -40,10 +40,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal-based markdown note manager"; homepage = "https://github.com/Linus-Mussmaecher/rucola"; - changelog = "https://github.com/Linus-Mussmaecher/rucola/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/Linus-Mussmaecher/rucola/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ donovanglover ]; mainProgram = "rucola"; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; -} +}) diff --git a/pkgs/by-name/ru/rucredstash/package.nix b/pkgs/by-name/ru/rucredstash/package.nix index 38460eed6145..33f75e3e8da7 100644 --- a/pkgs/by-name/ru/rucredstash/package.nix +++ b/pkgs/by-name/ru/rucredstash/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rucredstash"; version = "0.9.2"; src = fetchFromGitHub { owner = "psibi"; repo = "rucredstash"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-trupBiinULzD8TAy3eh1MYXhQilO08xu2a4yN7wwhwk="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ psibi ]; mainProgram = "rucredstash"; }; -} +}) diff --git a/pkgs/by-name/ru/ruplacer/package.nix b/pkgs/by-name/ru/ruplacer/package.nix index 796bd3a57cda..02f5d541eb69 100644 --- a/pkgs/by-name/ru/ruplacer/package.nix +++ b/pkgs/by-name/ru/ruplacer/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ruplacer"; version = "0.10.0"; src = fetchFromGitHub { owner = "TankerHQ"; repo = "ruplacer"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-Zvbb9pQpxbJZi0qcDU6f2jEgavl9cA7gIYU7NRXZ9fc="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/TankerHQ/ruplacer"; license = lib.licenses.bsd3; }; -} +}) diff --git a/pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix b/pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix index 81d79c6b9633..6ea5f4e90ca6 100644 --- a/pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix +++ b/pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix @@ -11,7 +11,7 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-analyzer-unwrapped"; version = "2026-02-02"; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "rust-lang"; repo = "rust-analyzer"; - rev = version; + rev = finalAttrs.version; hash = "sha256-VOsqRwtcLiaJWVVz4Enk9yYJl7Ce9+pJ7rtFts/7tCY="; }; @@ -49,7 +49,7 @@ rustPlatform.buildRustPackage rec { buildFeatures = lib.optional useMimalloc "mimalloc"; - env.CFG_RELEASE = version; + env.CFG_RELEASE = finalAttrs.version; inherit doCheck; preCheck = lib.optionalString doCheck '' @@ -79,4 +79,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ oxalica ]; mainProgram = "rust-analyzer"; }; -} +}) diff --git a/pkgs/by-name/ru/rust-cbindgen/package.nix b/pkgs/by-name/ru/rust-cbindgen/package.nix index 0dd8cb8d72ef..14374532ff52 100644 --- a/pkgs/by-name/ru/rust-cbindgen/package.nix +++ b/pkgs/by-name/ru/rust-cbindgen/package.nix @@ -12,14 +12,14 @@ mesa, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-cbindgen"; version = "0.29.2"; src = fetchFromGitHub { owner = "mozilla"; repo = "cbindgen"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-P2A+XSLrcuYsI48gnZSNNs5qX+EatiuEJSEJbMvMSxg="; }; @@ -54,11 +54,11 @@ rustPlatform.buildRustPackage rec { }; meta = { - changelog = "https://github.com/mozilla/cbindgen/blob/v${version}/CHANGES"; + changelog = "https://github.com/mozilla/cbindgen/blob/v${finalAttrs.version}/CHANGES"; description = "Project for generating C bindings from Rust code"; mainProgram = "cbindgen"; homepage = "https://github.com/mozilla/cbindgen"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ hexa ]; }; -} +}) diff --git a/pkgs/by-name/ru/rust-code-analysis/package.nix b/pkgs/by-name/ru/rust-code-analysis/package.nix index f568e9709554..bd2558cdd8d2 100644 --- a/pkgs/by-name/ru/rust-code-analysis/package.nix +++ b/pkgs/by-name/ru/rust-code-analysis/package.nix @@ -4,13 +4,13 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-code-analysis"; version = "0.0.25"; src = fetchCrate { pname = "rust-code-analysis-cli"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-/Irmtsy1PdRWQ7dTAHLZJ9M0J7oi2IiJyW6HeTIDOCs="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "rust-code-analysis-cli"; }; -} +}) diff --git a/pkgs/by-name/ru/rust-motd/package.nix b/pkgs/by-name/ru/rust-motd/package.nix index 61eebe84f288..ab54c8960aaf 100644 --- a/pkgs/by-name/ru/rust-motd/package.nix +++ b/pkgs/by-name/ru/rust-motd/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-motd"; version = "2.1.2"; src = fetchFromGitHub { owner = "rust-motd"; repo = "rust-motd"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-xZwp4bCG9BMqFmLa89fh/wAkM42Vx3+vNq+AnnDa620="; }; @@ -32,9 +32,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Beautiful, useful MOTD generation with zero runtime dependencies"; homepage = "https://github.com/rust-motd/rust-motd"; - changelog = "https://github.com/rust-motd/rust-motd/releases/tag/v${version}"; + changelog = "https://github.com/rust-motd/rust-motd/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ liberodark ]; mainProgram = "rust-motd"; }; -} +}) diff --git a/pkgs/by-name/ru/rust-parallel/package.nix b/pkgs/by-name/ru/rust-parallel/package.nix index 5725bed69571..1efa21210414 100644 --- a/pkgs/by-name/ru/rust-parallel/package.nix +++ b/pkgs/by-name/ru/rust-parallel/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-parallel"; version = "1.21.0"; src = fetchFromGitHub { owner = "aaronriekenberg"; repo = "rust-parallel"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-86CUFtq6XpTYL7zpDBBfbSXlPYhWofwMjJSK698lclI="; }; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "rust-parallel"; maintainers = with lib.maintainers; [ sedlund ]; }; -} +}) diff --git a/pkgs/by-name/ru/rust-script/package.nix b/pkgs/by-name/ru/rust-script/package.nix index d08252c4e1fc..a0e46b6fd7e3 100644 --- a/pkgs/by-name/ru/rust-script/package.nix +++ b/pkgs/by-name/ru/rust-script/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-script"; version = "0.36.0"; src = fetchFromGitHub { owner = "fornwall"; repo = "rust-script"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-Bb8ULD2MmZiSW/Tx5vAAHv95OMJ0EdWgR+NFhBkTlDU="; }; @@ -24,11 +24,11 @@ rustPlatform.buildRustPackage rec { description = "Run Rust files and expressions as scripts without any setup or compilation step"; mainProgram = "rust-script"; homepage = "https://rust-script.org"; - changelog = "https://github.com/fornwall/rust-script/releases/tag/${version}"; + changelog = "https://github.com/fornwall/rust-script/releases/tag/${finalAttrs.version}"; license = with lib.licenses; [ mit # or asl20 ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ru/rust-streamdeck/package.nix b/pkgs/by-name/ru/rust-streamdeck/package.nix index e3a2f3e263ca..5cbabbbeb0d9 100644 --- a/pkgs/by-name/ru/rust-streamdeck/package.nix +++ b/pkgs/by-name/ru/rust-streamdeck/package.nix @@ -9,14 +9,14 @@ nix-update-script, versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-streamdeck"; version = "0.9.0"; src = fetchFromGitHub { owner = "ryankurte"; repo = "rust-streamdeck"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-9FuTnRQHKYJzMqhhgyTVq2R+drn4HAr3GDNjQgc3r+w="; }; @@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec { doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; - versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}"; + versionCheckProgram = "${placeholder "out"}/bin/${finalAttrs.meta.mainProgram}"; postInstall = '' install -Dm444 40-streamdeck.rules -t $out/lib/udev/rules.d/ @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.gdifolco ]; mainProgram = "streamdeck-cli"; }; -} +}) diff --git a/pkgs/by-name/ru/rust-synapse-compress-state/package.nix b/pkgs/by-name/ru/rust-synapse-compress-state/package.nix index 4013857dc487..0d1fa5c5b7a4 100644 --- a/pkgs/by-name/ru/rust-synapse-compress-state/package.nix +++ b/pkgs/by-name/ru/rust-synapse-compress-state/package.nix @@ -8,14 +8,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-synapse-compress-state"; version = "0.1.4"; src = fetchFromGitHub { owner = "matrix-org"; repo = "rust-synapse-compress-state"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-nNQ/d4FFAvI+UY+XeqExyhngq+k+j5Pkz94ch27aoVM="; }; @@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec { maralorn ]; }; -} +}) diff --git a/pkgs/by-name/ru/rust-traverse/package.nix b/pkgs/by-name/ru/rust-traverse/package.nix index 4fe3d6750e8c..ed18ec7cfb3b 100644 --- a/pkgs/by-name/ru/rust-traverse/package.nix +++ b/pkgs/by-name/ru/rust-traverse/package.nix @@ -7,14 +7,14 @@ zstd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-traverse"; version = "2.0.0"; src = fetchFromGitHub { owner = "dmcg310"; repo = "Rust-Traverse"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-OcCWmBNDo4AA5Pk5TQqb8hen9LlHaY09Wrm4BkrU7qA="; }; @@ -36,9 +36,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal based file explorer"; homepage = "https://github.com/dmcg310/Rust-Traverse"; - changelog = "https://github.com/dmcg310/Rust-Traverse/releases/tag/${src.rev}"; + changelog = "https://github.com/dmcg310/Rust-Traverse/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "rt"; }; -} +}) diff --git a/pkgs/by-name/ru/rustc-demangle/package.nix b/pkgs/by-name/ru/rustc-demangle/package.nix index 27252eca2452..d1b71ce87baf 100644 --- a/pkgs/by-name/ru/rustc-demangle/package.nix +++ b/pkgs/by-name/ru/rustc-demangle/package.nix @@ -5,14 +5,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustc-demangle"; version = "0.1.26"; src = fetchFromGitHub { owner = "rust-lang"; repo = "rustc-demangle"; - tag = "rustc-demangle-v${version}"; + tag = "rustc-demangle-v${finalAttrs.version}"; hash = "sha256-4/x3kUIKi3xnDRznr+6xmPeWHmhlpbuwSNH3Ej6+Ifc="; }; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ _1000teslas ]; }; -} +}) diff --git a/pkgs/by-name/ru/rustcat/package.nix b/pkgs/by-name/ru/rustcat/package.nix index 65a241e99bc2..d36451fa9a81 100644 --- a/pkgs/by-name/ru/rustcat/package.nix +++ b/pkgs/by-name/ru/rustcat/package.nix @@ -5,14 +5,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustcat"; version = "3.0.0"; src = fetchFromGitHub { owner = "robiot"; repo = "rustcat"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-/6vNFh7n6WvYerrL8m9sgUKsO2KKj7/f8xc4rzHy9Io="; }; @@ -27,9 +27,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Port listener and reverse shell"; homepage = "https://github.com/robiot/rustcat"; - changelog = "https://github.com/robiot/rustcat/releases/tag/v${version}"; + changelog = "https://github.com/robiot/rustcat/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "rcat"; }; -} +}) diff --git a/pkgs/by-name/ru/rustdesk-server/package.nix b/pkgs/by-name/ru/rustdesk-server/package.nix index 1801764a12f4..61c4b67912bf 100644 --- a/pkgs/by-name/ru/rustdesk-server/package.nix +++ b/pkgs/by-name/ru/rustdesk-server/package.nix @@ -10,14 +10,14 @@ rustdesk-server, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustdesk-server"; version = "1.1.14"; src = fetchFromGitHub { owner = "rustdesk"; repo = "rustdesk-server"; - tag = version; + tag = finalAttrs.version; hash = "sha256-5LRMey1cxmjLg1s9RtVwgPjHjwYLSQHa6Tyv7r/XEQs="; fetchSubmodules = true; }; @@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec { passthru = { updateScript = nix-update-script { }; tests.version = testers.testVersion { - inherit version; + inherit (finalAttrs) version; package = rustdesk-server; command = "hbbr --version"; }; @@ -45,9 +45,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "RustDesk Server Program"; homepage = "https://github.com/rustdesk/rustdesk-server"; - changelog = "https://github.com/rustdesk/rustdesk-server/releases/tag/${version}"; + changelog = "https://github.com/rustdesk/rustdesk-server/releases/tag/${finalAttrs.version}"; license = lib.licenses.agpl3Only; platforms = lib.platforms.unix; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ru/rustdress/package.nix b/pkgs/by-name/ru/rustdress/package.nix index 3775762a71c7..4966d2415f15 100644 --- a/pkgs/by-name/ru/rustdress/package.nix +++ b/pkgs/by-name/ru/rustdress/package.nix @@ -7,14 +7,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustdress"; version = "0.6.3"; src = fetchFromGitHub { owner = "niteshbalusu11"; repo = "rustdress"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-vADuzT1q6nzNMtSykhmfaX6SMkWxQHHpKD/NrfWsCgI="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ jordan-bravo ]; mainProgram = "rustdress"; }; -} +}) diff --git a/pkgs/by-name/ru/rusti-cal/package.nix b/pkgs/by-name/ru/rusti-cal/package.nix index 8fcd2af5ce8e..80021d927b1d 100644 --- a/pkgs/by-name/ru/rusti-cal/package.nix +++ b/pkgs/by-name/ru/rusti-cal/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rusti-cal"; version = "1.1.0"; src = fetchFromGitHub { owner = "arthurhenrique"; repo = "rusti-cal"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-pdsP2nuJh30BzqIyxSQXak/rceA4hI9jBYy1dDVEIvI="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = [ lib.licenses.mit ]; maintainers = [ lib.maintainers.detegr ]; }; -} +}) diff --git a/pkgs/by-name/ru/rustic/package.nix b/pkgs/by-name/ru/rustic/package.nix index 69ba8b54e70f..e4e306e5589d 100644 --- a/pkgs/by-name/ru/rustic/package.nix +++ b/pkgs/by-name/ru/rustic/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustic"; version = "0.10.3"; src = fetchFromGitHub { owner = "rustic-rs"; repo = "rustic"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-MYl6tcCpWsyU38YSXpK3uFaDpS351ct89JIXhvpVu+Q="; }; @@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://github.com/rustic-rs/rustic"; - changelog = "https://github.com/rustic-rs/rustic/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/rustic-rs/rustic/blob/${finalAttrs.src.rev}/CHANGELOG.md"; description = "Fast, encrypted, deduplicated backups powered by pure Rust"; mainProgram = "rustic"; platforms = lib.platforms.linux ++ lib.platforms.darwin; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { lib.maintainers.pmw ]; }; -} +}) diff --git a/pkgs/by-name/ru/rustmission/package.nix b/pkgs/by-name/ru/rustmission/package.nix index 33999a8677dd..599112f6ddd1 100644 --- a/pkgs/by-name/ru/rustmission/package.nix +++ b/pkgs/by-name/ru/rustmission/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustmission"; version = "0.5.1"; src = fetchFromGitHub { owner = "intuis"; repo = "rustmission"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-vQ6MBbzmOBgD1kcF62NmQys737QEN9isvFN7L7mP8mk="; }; @@ -29,10 +29,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "TUI for the Transmission daemon"; homepage = "https://github.com/intuis/rustmission"; - changelog = "https://github.com/intuis/rustmission/releases/tag/v${version}"; + changelog = "https://github.com/intuis/rustmission/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; mainProgram = "rustmission"; maintainers = with lib.maintainers; [ anas ]; platforms = with lib.platforms; unix ++ windows; }; -} +}) diff --git a/pkgs/by-name/ru/rustpython/package.nix b/pkgs/by-name/ru/rustpython/package.nix index ff9ccff266b6..28df26c24f0c 100644 --- a/pkgs/by-name/ru/rustpython/package.nix +++ b/pkgs/by-name/ru/rustpython/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustpython"; version = "0.4.0"; src = fetchFromGitHub { owner = "RustPython"; repo = "RustPython"; - tag = version; + tag = finalAttrs.version; hash = "sha256-BYYqvPJu/eFJ9lt07A0p7pd8pGFccUe/okFqGEObhY4="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ prusnak ]; mainProgram = "rustpython"; }; -} +}) diff --git a/pkgs/by-name/ru/rustscan/package.nix b/pkgs/by-name/ru/rustscan/package.nix index 2461399de9f3..3147d1c8a79d 100644 --- a/pkgs/by-name/ru/rustscan/package.nix +++ b/pkgs/by-name/ru/rustscan/package.nix @@ -7,14 +7,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustscan"; version = "2.4.1"; src = fetchFromGitHub { owner = "RustScan"; repo = "RustScan"; - tag = version; + tag = finalAttrs.version; hash = "sha256-+qPSeDpOeCq+KwZb5ANXx6z+pYbgdT1hVgcrSzxyGp0="; }; @@ -42,9 +42,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Faster Nmap Scanning with Rust"; homepage = "https://github.com/RustScan/RustScan"; - changelog = "https://github.com/RustScan/RustScan/releases/tag/${version}"; + changelog = "https://github.com/RustScan/RustScan/releases/tag/${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = [ ]; mainProgram = "rustscan"; }; -} +}) diff --git a/pkgs/by-name/ru/rusty-diceware/package.nix b/pkgs/by-name/ru/rusty-diceware/package.nix index 21d5400ced32..4d45d39936f2 100644 --- a/pkgs/by-name/ru/rusty-diceware/package.nix +++ b/pkgs/by-name/ru/rusty-diceware/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rusty-diceware"; version = "0.5.8"; src = fetchFromGitLab { owner = "yuvallanger"; repo = "rusty-diceware"; - rev = "diceware-v${version}"; + rev = "diceware-v${finalAttrs.version}"; hash = "sha256-GDWvHHl4EztTaR0jI4XL1I9qE2KSL+q9C8IvLWQF4Ys="; }; @@ -22,9 +22,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Commandline diceware, with or without dice, written in Rustlang"; homepage = "https://gitlab.com/yuvallanger/rusty-diceware"; - changelog = "https://gitlab.com/yuvallanger/rusty-diceware/-/blob/v${version}/CHANGELOG.md?ref_type=heads"; + changelog = "https://gitlab.com/yuvallanger/rusty-diceware/-/blob/v${finalAttrs.version}/CHANGELOG.md?ref_type=heads"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ cherrykitten ]; mainProgram = "diceware"; }; -} +}) diff --git a/pkgs/by-name/ru/rustypaste-cli/package.nix b/pkgs/by-name/ru/rustypaste-cli/package.nix index d1a842f91aec..ae1025a67727 100644 --- a/pkgs/by-name/ru/rustypaste-cli/package.nix +++ b/pkgs/by-name/ru/rustypaste-cli/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustypaste-cli"; version = "0.9.4"; src = fetchFromGitHub { owner = "orhun"; repo = "rustypaste-cli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-tv5nAs5g7NWVakKUyw5PVxHJYQniV9OYm7yDXhooWU4="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI tool for rustypaste"; homepage = "https://github.com/orhun/rustypaste-cli"; - changelog = "https://github.com/orhun/rustypaste-cli/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/orhun/rustypaste-cli/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ lib.maintainers.matthiasbeyer ]; mainProgram = "rpaste"; }; -} +}) diff --git a/pkgs/by-name/ru/rustypaste/package.nix b/pkgs/by-name/ru/rustypaste/package.nix index 0d9bb517f5fb..f52798b0ee73 100644 --- a/pkgs/by-name/ru/rustypaste/package.nix +++ b/pkgs/by-name/ru/rustypaste/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustypaste"; version = "0.16.1"; src = fetchFromGitHub { owner = "orhun"; repo = "rustypaste"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-Jfi2Q6551g58dfOqtHtWxkbxwYV71f7MIuLB8RbaR94="; }; @@ -30,11 +30,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Minimal file upload/pastebin service"; homepage = "https://github.com/orhun/rustypaste"; - changelog = "https://github.com/orhun/rustypaste/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/orhun/rustypaste/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ seqizz ]; mainProgram = "rustypaste"; }; -} +}) diff --git a/pkgs/by-name/ru/rustywind/package.nix b/pkgs/by-name/ru/rustywind/package.nix index 9d312230985f..8c593888c1f9 100644 --- a/pkgs/by-name/ru/rustywind/package.nix +++ b/pkgs/by-name/ru/rustywind/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustywind"; version = "0.24.3"; src = fetchFromGitHub { owner = "avencera"; repo = "rustywind"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-qbOlU7kqVbB/sQg4b78CohOwQbraulZ8dRxeT+39rFk="; }; @@ -21,8 +21,8 @@ rustPlatform.buildRustPackage rec { description = "CLI for organizing Tailwind CSS classes"; mainProgram = "rustywind"; homepage = "https://github.com/avencera/rustywind"; - changelog = "https://github.com/avencera/rustywind/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/avencera/rustywind/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/rw/rwalk/package.nix b/pkgs/by-name/rw/rwalk/package.nix index 8b11def63bcf..2cfcf9123737 100644 --- a/pkgs/by-name/rw/rwalk/package.nix +++ b/pkgs/by-name/rw/rwalk/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rwalk"; version = "0.9.0"; src = fetchFromGitHub { owner = "cestef"; repo = "rwalk"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-W42b3fUezMpOPaNmTogUbgn67nCiKteCkkYUAux9Ng4="; }; @@ -46,9 +46,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Blazingly fast web directory scanner written in Rust"; homepage = "https://github.com/cestef/rwalk"; - changelog = "https://github.com/cestef/rwalk/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/cestef/rwalk/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ pwnwriter ]; mainProgram = "rwalk"; }; -} +}) diff --git a/pkgs/by-name/rw/rwedid/package.nix b/pkgs/by-name/rw/rwedid/package.nix index b891fb03e045..6e5068815456 100644 --- a/pkgs/by-name/rw/rwedid/package.nix +++ b/pkgs/by-name/rw/rwedid/package.nix @@ -7,14 +7,14 @@ xz, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rwedid"; version = "0.3.2"; src = fetchFromCodeberg { owner = "ral"; repo = "rwedid"; - rev = version; + rev = finalAttrs.version; hash = "sha256-lbZD/QLCgkD5OQZdn6oCjry9edMcJ+q9qGF7IbY36U4="; }; @@ -48,4 +48,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/rw/rwpspread/package.nix b/pkgs/by-name/rw/rwpspread/package.nix index f302e4fc91df..1a82e5afdd2e 100644 --- a/pkgs/by-name/rw/rwpspread/package.nix +++ b/pkgs/by-name/rw/rwpspread/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rwpspread"; version = "0.5.0"; src = fetchFromGitHub { owner = "0xk1f0"; repo = "rwpspread"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-lp9XvILpvNZtffJLyDUCo5Xyor4X4bwsfxAIqS8Hf7M="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "rwpspread"; }; -} +}) diff --git a/pkgs/by-name/rx/rx/package.nix b/pkgs/by-name/rx/rx/package.nix index 234a3b4ea11f..1b6404b512a9 100644 --- a/pkgs/by-name/rx/rx/package.nix +++ b/pkgs/by-name/rx/rx/package.nix @@ -15,14 +15,14 @@ libGL ? null, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rx"; version = "0.5.2"; src = fetchFromGitHub { owner = "cloudhead"; repo = "rx"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-LTpaV/fgYUgA2M6Wz5qLHnTNywh13900g+umhgLvciM="; }; @@ -63,4 +63,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = [ "x86_64-linux" ]; }; -} +}) diff --git a/pkgs/by-name/ry/rye/package.nix b/pkgs/by-name/ry/rye/package.nix index d435206ece67..ccbb6fb43b13 100644 --- a/pkgs/by-name/ry/rye/package.nix +++ b/pkgs/by-name/ry/rye/package.nix @@ -18,14 +18,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rye"; version = "0.44.0"; src = fetchFromGitHub { owner = "mitsuhiko"; repo = "rye"; - tag = version; + tag = finalAttrs.version; hash = "sha256-K9xad5Odza0Oxz49yMJjqpfh3cCgmWnbAlv069fHV6Q="; }; @@ -102,9 +102,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Tool to easily manage python dependencies and environments"; homepage = "https://github.com/mitsuhiko/rye"; - changelog = "https://github.com/mitsuhiko/rye/releases/tag/${version}"; + changelog = "https://github.com/mitsuhiko/rye/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; mainProgram = "rye"; }; -} +}) diff --git a/pkgs/by-name/s3/s3rs/package.nix b/pkgs/by-name/s3/s3rs/package.nix index 5911af76f8f5..04139d0692eb 100644 --- a/pkgs/by-name/s3/s3rs/package.nix +++ b/pkgs/by-name/s3/s3rs/package.nix @@ -8,14 +8,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "s3rs"; version = "0.4.19"; src = fetchFromGitHub { owner = "yanganto"; repo = "s3rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-mJ1bMfv/HY74TknpRvu8RIs1d2VlNreEVtHCtQSHQw8="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ yanganto ]; mainProgram = "s3rs"; }; -} +}) diff --git a/pkgs/by-name/sa/sad/package.nix b/pkgs/by-name/sa/sad/package.nix index e0a6104dc010..65c4fa6abaa3 100644 --- a/pkgs/by-name/sa/sad/package.nix +++ b/pkgs/by-name/sa/sad/package.nix @@ -5,14 +5,14 @@ python3, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sad"; version = "0.4.32"; src = fetchFromGitHub { owner = "ms-jpq"; repo = "sad"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-c5TYIVUrfKrVuyolVe7+EhiM/SOFNahz8X6F8WrKEa0="; }; @@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI tool to search and replace"; homepage = "https://github.com/ms-jpq/sad"; - changelog = "https://github.com/ms-jpq/sad/releases/tag/v${version}"; + changelog = "https://github.com/ms-jpq/sad/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "sad"; }; -} +}) diff --git a/pkgs/by-name/sa/safecloset/package.nix b/pkgs/by-name/sa/safecloset/package.nix index cb8932ce1fa3..271d5cc95e49 100644 --- a/pkgs/by-name/sa/safecloset/package.nix +++ b/pkgs/by-name/sa/safecloset/package.nix @@ -6,14 +6,14 @@ libxcb, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "safecloset"; version = "1.4.2"; src = fetchFromGitHub { owner = "Canop"; repo = "safecloset"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ZLAgSD03Qfoz+uGjVJF7vCkV1pUWqw6yG/9+redbQQ8="; }; @@ -31,9 +31,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Cross-platform secure TUI secret locker"; homepage = "https://github.com/Canop/safecloset"; - changelog = "https://github.com/Canop/safecloset/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/Canop/safecloset/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.agpl3Only; maintainers = [ ]; mainProgram = "safecloset"; }; -} +}) diff --git a/pkgs/by-name/sa/sagoin/package.nix b/pkgs/by-name/sa/sagoin/package.nix index 12735843e6b1..b240eee9a90b 100644 --- a/pkgs/by-name/sa/sagoin/package.nix +++ b/pkgs/by-name/sa/sagoin/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sagoin"; version = "0.2.4"; src = fetchFromGitHub { owner = "figsoda"; repo = "sagoin"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-zXYjR9ZFNX2guUSeMN/G77oBIlW3AowFWA4gwID2jQs="; }; @@ -30,9 +30,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command-line submission tool for the UMD CS Submit Server"; homepage = "https://github.com/figsoda/sagoin"; - changelog = "https://github.com/figsoda/sagoin/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/figsoda/sagoin/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.agpl3Plus; maintainers = [ ]; mainProgram = "sagoin"; }; -} +}) diff --git a/pkgs/by-name/sa/sanctity/package.nix b/pkgs/by-name/sa/sanctity/package.nix index 0142fe13efc7..dc256c2f67b2 100644 --- a/pkgs/by-name/sa/sanctity/package.nix +++ b/pkgs/by-name/sa/sanctity/package.nix @@ -4,14 +4,14 @@ fetchFromCodeberg, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sanctity"; version = "1.3.1"; src = fetchFromCodeberg { owner = "annaaurora"; repo = "sanctity"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-y6xj4A5SHcW747aFE9TfuurNnuUxjTUeKJmzxeiWqVc="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ annaaurora ]; mainProgram = "sanctity"; }; -} +}) diff --git a/pkgs/by-name/sa/satty/package.nix b/pkgs/by-name/sa/satty/package.nix index 6b2f51144e0c..dd3ca2c0e3e8 100644 --- a/pkgs/by-name/sa/satty/package.nix +++ b/pkgs/by-name/sa/satty/package.nix @@ -14,7 +14,7 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "satty"; version = "0.20.1"; @@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "gabm"; repo = "Satty"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-pR3Mc5Eue4YcIMcrzkyDhZPpovRFa8TW1PjL/ysH/7s="; }; @@ -66,4 +66,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "satty"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/sc/scooter/package.nix b/pkgs/by-name/sc/scooter/package.nix index 6a6215838ab3..45a56d2d300a 100644 --- a/pkgs/by-name/sc/scooter/package.nix +++ b/pkgs/by-name/sc/scooter/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "scooter"; version = "0.8.5"; src = fetchFromGitHub { owner = "thomasschafer"; repo = "scooter"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-hKF0b3vgZ8kIK9QT129Ms+Rua6+Rrv8Jk2pt81eCc5Y="; }; @@ -29,9 +29,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Interactive find and replace in the terminal"; homepage = "https://github.com/thomasschafer/scooter"; - changelog = "https://github.com/thomasschafer/scooter/commits/v${version}"; + changelog = "https://github.com/thomasschafer/scooter/commits/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ felixzieger ]; mainProgram = "scooter"; }; -} +}) diff --git a/pkgs/by-name/sc/screenly-cli/package.nix b/pkgs/by-name/sc/screenly-cli/package.nix index d8edb2c1d762..324affbf886d 100644 --- a/pkgs/by-name/sc/screenly-cli/package.nix +++ b/pkgs/by-name/sc/screenly-cli/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "screenly-cli"; version = "1.1.0"; src = fetchFromGitHub { owner = "screenly"; repo = "cli"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Icx0Nkn0ScbNTmXllkUj6DPhGqzh8HnIQPpej4ABJac="; }; @@ -33,11 +33,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Tools for managing digital signs and screens at scale"; homepage = "https://github.com/Screenly/cli"; - changelog = "https://github.com/Screenly/cli/releases/tag/v${version}"; + changelog = "https://github.com/Screenly/cli/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "screenly"; maintainers = with lib.maintainers; [ vpetersson ]; }; -} +}) diff --git a/pkgs/by-name/sc/scriptisto/package.nix b/pkgs/by-name/sc/scriptisto/package.nix index 4b714b1ad5a1..b6142c5259e3 100644 --- a/pkgs/by-name/sc/scriptisto/package.nix +++ b/pkgs/by-name/sc/scriptisto/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "scriptisto"; version = "2.2.0"; src = fetchFromGitHub { owner = "igor-petruk"; repo = "scriptisto"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-iaDdOFmi4kfcJSjXOcGAFG9i1SdB+K5Qz4+NDaVQALY="; }; @@ -30,8 +30,8 @@ rustPlatform.buildRustPackage rec { description = "Language-agnostic \"shebang interpreter\" that enables you to write scripts in compiled languages"; mainProgram = "scriptisto"; homepage = "https://github.com/igor-petruk/scriptisto"; - changelog = "https://github.com/igor-petruk/scriptisto/releases/tag/${src.rev}"; + changelog = "https://github.com/igor-petruk/scriptisto/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.asl20; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/sc/scryer-prolog/package.nix b/pkgs/by-name/sc/scryer-prolog/package.nix index bd12c18a5d06..1fba7059afdd 100644 --- a/pkgs/by-name/sc/scryer-prolog/package.nix +++ b/pkgs/by-name/sc/scryer-prolog/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "scryer-prolog"; version = "0.10.0"; src = fetchFromGitHub { owner = "mthom"; repo = "scryer-prolog"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-RCz4zLbmWgSRR6Y5YbhidIZ1+LNR6FHyk/G0ifSDOx4="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { wkral ]; }; -} +}) diff --git a/pkgs/by-name/sd/sd/package.nix b/pkgs/by-name/sd/sd/package.nix index 0285eb98ca95..ae1ed8ccc515 100644 --- a/pkgs/by-name/sd/sd/package.nix +++ b/pkgs/by-name/sd/sd/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sd"; version = "1.0.0"; src = fetchFromGitHub { owner = "chmln"; repo = "sd"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-hC4VKEgrAVuqOX7b24XhtrxrnJW5kmlX4E6QbY9H8OA="; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { amar1729 ]; }; -} +}) diff --git a/pkgs/by-name/se/see-cat/package.nix b/pkgs/by-name/se/see-cat/package.nix index c29959977808..809e57b735d2 100644 --- a/pkgs/by-name/se/see-cat/package.nix +++ b/pkgs/by-name/se/see-cat/package.nix @@ -4,14 +4,14 @@ rustPlatform, pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "see-cat"; version = "0.8.1"; src = fetchFromGitHub { owner = "guilhermeprokisch"; repo = "see"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-VCUrPCaG2fKp9vpFLzNLcfCBu2NiwdY2+bo1pd7anZY="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "see"; maintainers = with lib.maintainers; [ louis-thevenet ]; }; -} +}) diff --git a/pkgs/by-name/se/seehecht/package.nix b/pkgs/by-name/se/seehecht/package.nix index aa1dce7a9761..17ef07029f27 100644 --- a/pkgs/by-name/se/seehecht/package.nix +++ b/pkgs/by-name/se/seehecht/package.nix @@ -4,14 +4,14 @@ fetchFromCodeberg, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "seehecht"; version = "3.0.3"; src = fetchFromCodeberg { owner = "annaaurora"; repo = "seehecht"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-KIxK0JYfq/1Bn4LOn+LzWPBUvGYMvOEuqS7GMpDRvW0="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.all; maintainers = with lib.maintainers; [ annaaurora ]; }; -} +}) diff --git a/pkgs/by-name/se/sendme/package.nix b/pkgs/by-name/se/sendme/package.nix index 10b9345050b7..45bde9110857 100644 --- a/pkgs/by-name/se/sendme/package.nix +++ b/pkgs/by-name/se/sendme/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sendme"; version = "0.31.0"; src = fetchFromGitHub { owner = "n0-computer"; repo = "sendme"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-zh0YYJoljcOQz0ltAk+UBScSGZhsoSqIa+F0Qm4/3iw="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ cameronfyfe ]; mainProgram = "sendme"; }; -} +}) diff --git a/pkgs/by-name/se/sequoia-sqv/package.nix b/pkgs/by-name/se/sequoia-sqv/package.nix index e0cd50f0faac..998bffde594d 100644 --- a/pkgs/by-name/se/sequoia-sqv/package.nix +++ b/pkgs/by-name/se/sequoia-sqv/package.nix @@ -8,14 +8,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sequoia-sqv"; version = "1.3.0"; src = fetchFromGitLab { owner = "sequoia-pgp"; repo = "sequoia-sqv"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-xkvCEHVyRf1tQ/oo6Hg4Nri2WxdmH0fZFX24CPwJpZQ="; }; @@ -55,4 +55,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ doronbehar ]; mainProgram = "sqv"; }; -} +}) diff --git a/pkgs/by-name/se/sequoia-wot/package.nix b/pkgs/by-name/se/sequoia-wot/package.nix index 53e7d5c8b48b..0b4d02fdcddf 100644 --- a/pkgs/by-name/se/sequoia-wot/package.nix +++ b/pkgs/by-name/se/sequoia-wot/package.nix @@ -10,14 +10,14 @@ sqlite, gnupg, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sequoia-wot"; version = "0.12.0"; src = fetchFromGitLab { owner = "sequoia-pgp"; repo = "sequoia-wot"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Xbj1XLZQxyEYf/+R5e6EJMmL0C5ohfwZMZPVK5PwmUU="; }; @@ -88,4 +88,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "sq-wot"; }; -} +}) diff --git a/pkgs/by-name/se/serie/package.nix b/pkgs/by-name/se/serie/package.nix index 71e50906cad3..d6d65c205f4c 100644 --- a/pkgs/by-name/se/serie/package.nix +++ b/pkgs/by-name/se/serie/package.nix @@ -7,14 +7,14 @@ serie, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "serie"; version = "0.6.0"; src = fetchFromGitHub { owner = "lusingander"; repo = "serie"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-iHhm71z1DH2oDcgl5bwFVO0U5ks0LmoqMrlUZfIQkf4="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ matthiasbeyer ]; mainProgram = "serie"; }; -} +}) diff --git a/pkgs/by-name/sf/sfz/package.nix b/pkgs/by-name/sf/sfz/package.nix index 34ba4bd97c69..c81712879f8d 100644 --- a/pkgs/by-name/sf/sfz/package.nix +++ b/pkgs/by-name/sf/sfz/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sfz"; version = "0.7.1"; src = fetchFromGitHub { owner = "weihanglo"; repo = "sfz"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-mKH1vgk+3tZEnjJRkfa0dDR383VN1VLNd3HEzC7f8YI="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "sfz"; }; -} +}) diff --git a/pkgs/by-name/sh/shadow-tls/package.nix b/pkgs/by-name/sh/shadow-tls/package.nix index f985456e6329..a38f719ebb8d 100644 --- a/pkgs/by-name/sh/shadow-tls/package.nix +++ b/pkgs/by-name/sh/shadow-tls/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shadow-tls"; version = "0.2.25"; src = fetchFromGitHub { owner = "ihciah"; repo = "shadow-tls"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-T+GPIrcME6Wq5sdfIt4t426/3ew5sUQMykYeZ6zw1ko="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ oluceps ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/sh/shadowenv/package.nix b/pkgs/by-name/sh/shadowenv/package.nix index 7a45187ad6fa..04bb87e53d63 100644 --- a/pkgs/by-name/sh/shadowenv/package.nix +++ b/pkgs/by-name/sh/shadowenv/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shadowenv"; version = "3.4.0"; src = fetchFromGitHub { owner = "Shopify"; repo = "shadowenv"; - rev = version; + rev = finalAttrs.version; hash = "sha256-WsUeqkuT4NhoaCJG1hqz+uWyvWQBfxtDheEkWkYmSWU="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "shadowenv"; }; -} +}) diff --git a/pkgs/by-name/sh/shadowsocks-rust/package.nix b/pkgs/by-name/sh/shadowsocks-rust/package.nix index 263ddfa165f6..24de0dc82bf7 100644 --- a/pkgs/by-name/sh/shadowsocks-rust/package.nix +++ b/pkgs/by-name/sh/shadowsocks-rust/package.nix @@ -7,14 +7,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shadowsocks-rust"; version = "1.24.0"; src = fetchFromGitHub { owner = "shadowsocks"; repo = "shadowsocks-rust"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-wqZh+JQDUbH7ZYT4vNzSI3JwRRYDgS5/RjrDaKCxgLc="; }; @@ -55,8 +55,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "Rust port of Shadowsocks"; homepage = "https://github.com/shadowsocks/shadowsocks-rust"; - changelog = "https://github.com/shadowsocks/shadowsocks-rust/raw/v${version}/debian/changelog"; + changelog = "https://github.com/shadowsocks/shadowsocks-rust/raw/v${finalAttrs.version}/debian/changelog"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/sh/shavee/package.nix b/pkgs/by-name/sh/shavee/package.nix index 6edc6cbe350c..32e2daeed0e3 100644 --- a/pkgs/by-name/sh/shavee/package.nix +++ b/pkgs/by-name/sh/shavee/package.nix @@ -8,14 +8,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shavee"; version = "0.7.3"; src = fetchFromGitHub { owner = "ashuio"; repo = "shavee"; - rev = "shavee-v${version}"; + rev = "shavee-v${finalAttrs.version}"; hash = "sha256-FxZXJ1cSq0rOiClDgJ1r+nv7aJSiTXyKChh/wFDKSxs="; }; @@ -48,4 +48,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "shavee"; }; -} +}) diff --git a/pkgs/by-name/sh/sheldon/package.nix b/pkgs/by-name/sh/sheldon/package.nix index 3bda66ec4afb..88baf441cccc 100644 --- a/pkgs/by-name/sh/sheldon/package.nix +++ b/pkgs/by-name/sh/sheldon/package.nix @@ -9,14 +9,14 @@ curl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sheldon"; version = "0.8.5"; src = fetchFromGitHub { owner = "rossmacarthur"; repo = "sheldon"; - rev = version; + rev = finalAttrs.version; hash = "sha256-zVwqVYaUY8LJhWENDiD89p/CzvsEVkpaPnYVyCJUf3s="; }; @@ -72,4 +72,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; mainProgram = "sheldon"; }; -} +}) diff --git a/pkgs/by-name/sh/shellclear/package.nix b/pkgs/by-name/sh/shellclear/package.nix index 33ef53467971..f768e70e9124 100644 --- a/pkgs/by-name/sh/shellclear/package.nix +++ b/pkgs/by-name/sh/shellclear/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shellclear"; version = "0.4.8"; src = fetchFromGitHub { owner = "rusty-ferris-club"; repo = "shellclear"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-/0pqegVxrqqxaQ2JiUfkkFK9hp+Vuq7eTap052HEcJs="; }; @@ -22,8 +22,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "Secure shell history commands by finding sensitive data"; homepage = "https://github.com/rusty-ferris-club/shellclear"; - changelog = "https://github.com/rusty-ferris-club/shellclear/releases/tag/v${version}"; + changelog = "https://github.com/rusty-ferris-club/shellclear/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +}) diff --git a/pkgs/by-name/sh/shellharden/package.nix b/pkgs/by-name/sh/shellharden/package.nix index fa9f6f76d136..11e483d7c73d 100644 --- a/pkgs/by-name/sh/shellharden/package.nix +++ b/pkgs/by-name/sh/shellharden/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shellharden"; version = "4.3.1"; src = fetchFromGitHub { owner = "anordal"; repo = "shellharden"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-aBX3RXfDhlXVMV8aPO0pu3527nDoYrUDUbH6crWO/W8="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ oxzi ]; }; -} +}) diff --git a/pkgs/by-name/sh/shikane/package.nix b/pkgs/by-name/sh/shikane/package.nix index 6fdb953d80f1..90e3577efbf1 100644 --- a/pkgs/by-name/sh/shikane/package.nix +++ b/pkgs/by-name/sh/shikane/package.nix @@ -6,14 +6,14 @@ pandoc, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shikane"; version = "1.0.1"; src = fetchFromGitLab { owner = "w0lff"; repo = "shikane"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Chc1+JUHXzuLl26NuBGVxSiXiaE4Ns1FXb0dBs6STVk="; }; @@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Dynamic output configuration tool that automatically detects and configures connected outputs based on a set of profiles"; homepage = "https://gitlab.com/w0lff/shikane"; - changelog = "https://gitlab.com/w0lff/shikane/-/tags/v${version}"; + changelog = "https://gitlab.com/w0lff/shikane/-/tags/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ michaelpachec0 @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "shikane"; }; -} +}) diff --git a/pkgs/by-name/sh/shisho/package.nix b/pkgs/by-name/sh/shisho/package.nix index 44e7fe2b6aa0..80a54a90f3d1 100644 --- a/pkgs/by-name/sh/shisho/package.nix +++ b/pkgs/by-name/sh/shisho/package.nix @@ -7,14 +7,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shisho"; version = "0.5.2"; src = fetchFromGitHub { owner = "flatt-security"; repo = "shisho"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-G7sHaDq+F5lXNaF1sSLUecdjZbCejJE79P4AQifKdFY="; fetchSubmodules = true; }; @@ -39,7 +39,7 @@ rustPlatform.buildRustPackage rec { runHook preInstallCheck $out/bin/shisho --help - $out/bin/shisho --version | grep "${version}" + $out/bin/shisho --version | grep "${finalAttrs.version}" runHook postInstallCheck ''; @@ -60,4 +60,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ jk ]; }; -} +}) diff --git a/pkgs/by-name/sh/shotgun/package.nix b/pkgs/by-name/sh/shotgun/package.nix index 48a147895f62..eb8a761a5c06 100644 --- a/pkgs/by-name/sh/shotgun/package.nix +++ b/pkgs/by-name/sh/shotgun/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shotgun"; version = "2.5.1"; src = fetchFromGitHub { owner = "neXromancers"; repo = "shotgun"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-sBstFz7cYfwVQpDZeC3wPjzbKU5zQzmnhiWNqiCda1k="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "shotgun"; }; -} +}) diff --git a/pkgs/by-name/sh/shotman/package.nix b/pkgs/by-name/sh/shotman/package.nix index 3821528368c6..3344bc638bed 100644 --- a/pkgs/by-name/sh/shotman/package.nix +++ b/pkgs/by-name/sh/shotman/package.nix @@ -8,14 +8,14 @@ slurp, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shotman"; version = "0.4.10"; src = fetchFromSourcehut { owner = "~whynothugo"; repo = "shotman"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-j9HNqRJnGiy720uS0zC6Tt1WjF4b6+XqPEMTqTEOD6w="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { fpletz ]; }; -} +}) diff --git a/pkgs/by-name/sh/shpool/package.nix b/pkgs/by-name/sh/shpool/package.nix index 3cc4362f84bb..20bd78d07050 100644 --- a/pkgs/by-name/sh/shpool/package.nix +++ b/pkgs/by-name/sh/shpool/package.nix @@ -7,14 +7,14 @@ shpool, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shpool"; version = "0.9.3"; src = fetchFromGitHub { owner = "shell-pool"; repo = "shpool"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Ul1CENx1KVU2jnMNfxz3R6loBvFIcAUp6japxaK7wGU="; }; @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ aleksana ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/sh/shticker-book-unwritten/unwrapped.nix b/pkgs/by-name/sh/shticker-book-unwritten/unwrapped.nix index 856dcacee0d3..2378fd45bb11 100644 --- a/pkgs/by-name/sh/shticker-book-unwritten/unwrapped.nix +++ b/pkgs/by-name/sh/shticker-book-unwritten/unwrapped.nix @@ -5,12 +5,12 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "shticker-book-unwritten"; version = "1.2.0"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; crateName = "shticker_book_unwritten"; hash = "sha256-jI2uL8tMUmjZ5jPkCV2jb98qtKwi9Ti4NVCPfuO3iB4="; }; @@ -20,4 +20,4 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; -} +}) diff --git a/pkgs/by-name/si/sic-image-cli/package.nix b/pkgs/by-name/si/sic-image-cli/package.nix index f9dc473ef60a..a711e0468edc 100644 --- a/pkgs/by-name/si/sic-image-cli/package.nix +++ b/pkgs/by-name/si/sic-image-cli/package.nix @@ -7,14 +7,14 @@ nasm, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sic-image-cli"; version = "0.22.4"; src = fetchFromGitHub { owner = "foresterre"; repo = "sic"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-PFbHHO3m4mnV5s8DVev/iao9sC3FYht0whTHYzO25Yo="; }; @@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Accessible image processing and conversion from the terminal"; homepage = "https://github.com/foresterre/sic"; - changelog = "https://github.com/foresterre/sic/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/foresterre/sic/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { # The last successful Darwin Hydra build was in 2024 broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; }; -} +}) diff --git a/pkgs/by-name/si/sig/package.nix b/pkgs/by-name/si/sig/package.nix index c4ac26e2dfeb..68015da47ebe 100644 --- a/pkgs/by-name/si/sig/package.nix +++ b/pkgs/by-name/si/sig/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sig"; version = "0.2.1"; src = fetchFromGitHub { owner = "ynqa"; repo = "sig"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-KxLSZ4/idlDrhRKFUsC3Ko0DcpSzwLWjees1jObC5KQ="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ qaidvoid ]; mainProgram = "sig"; }; -} +}) diff --git a/pkgs/by-name/si/siketyan-ghr/package.nix b/pkgs/by-name/si/siketyan-ghr/package.nix index 6d56884242b1..2c8765348bec 100644 --- a/pkgs/by-name/si/siketyan-ghr/package.nix +++ b/pkgs/by-name/si/siketyan-ghr/package.nix @@ -12,14 +12,14 @@ zstd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ghr"; version = "0.4.4"; src = fetchFromGitHub { owner = "siketyan"; repo = "ghr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-L9+rcdt+MGZSCOJyCE4t/TT6Fjtxvfr9LBJYyRrx208="; }; @@ -59,4 +59,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ sei40kr ]; mainProgram = "ghr"; }; -} +}) diff --git a/pkgs/by-name/si/silicon/package.nix b/pkgs/by-name/si/silicon/package.nix index 6118ef2b039b..2e1619ea63ed 100644 --- a/pkgs/by-name/si/silicon/package.nix +++ b/pkgs/by-name/si/silicon/package.nix @@ -16,14 +16,14 @@ harfbuzz, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "silicon"; version = "0.5.3"; src = fetchFromGitHub { owner = "Aloxaf"; repo = "silicon"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-lwwbjSXW5uonJNZTAqTK14Ib4QDOD4puxY2CsiJk4/Q="; }; @@ -71,4 +71,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "silicon"; }; -} +}) diff --git a/pkgs/by-name/si/simple-http-server/package.nix b/pkgs/by-name/si/simple-http-server/package.nix index 055a62ff56cf..3b917c6ab1d5 100644 --- a/pkgs/by-name/si/simple-http-server/package.nix +++ b/pkgs/by-name/si/simple-http-server/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "simple-http-server"; version = "0.6.13"; src = fetchFromGitHub { owner = "TheWaWaR"; repo = "simple-http-server"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-uTzzQg1UJ+PG2poIKd+LO0T0y7z48ZK0f196zIgeZhs="; }; @@ -29,11 +29,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Simple HTTP server in Rust"; homepage = "https://github.com/TheWaWaR/simple-http-server"; - changelog = "https://github.com/TheWaWaR/simple-http-server/releases/tag/v${version}"; + changelog = "https://github.com/TheWaWaR/simple-http-server/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ mephistophiles ]; mainProgram = "simple-http-server"; }; -} +}) diff --git a/pkgs/by-name/si/sirula/package.nix b/pkgs/by-name/si/sirula/package.nix index 24df64af13e9..3497d5b3b4ec 100644 --- a/pkgs/by-name/si/sirula/package.nix +++ b/pkgs/by-name/si/sirula/package.nix @@ -8,14 +8,14 @@ gtk-layer-shell, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sirula"; version = "1.1.0"; src = fetchFromGitHub { owner = "DorianRudolph"; repo = "sirula"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-rBaH2cIIaRoaw8Os60s4MknZywzDuGLagJiAvEYU4m8="; }; @@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.atagen ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/si/sizelint/package.nix b/pkgs/by-name/si/sizelint/package.nix index ffc3c74757e6..a0f0b1152951 100644 --- a/pkgs/by-name/si/sizelint/package.nix +++ b/pkgs/by-name/si/sizelint/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sizelint"; version = "0.1.3"; src = fetchFromGitHub { owner = "a-kenji"; repo = "sizelint"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-06RJrE0w1Xhj364dUUuYadxleX12mkB8yO+h1QLZhH0="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ a-kenji ]; mainProgram = "sizelint"; }; -} +}) diff --git a/pkgs/by-name/sl/sleek/package.nix b/pkgs/by-name/sl/sleek/package.nix index 3aa41d403b5b..355972cf6215 100644 --- a/pkgs/by-name/sl/sleek/package.nix +++ b/pkgs/by-name/sl/sleek/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sleek"; version = "0.5.0"; src = fetchFromGitHub { owner = "nrempel"; repo = "sleek"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-4op0EqJWRGEQwXu5DjFBM1ia9nKiE5QTg+pbaeg4+ag="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ xrelkd ]; mainProgram = "sleek"; }; -} +}) diff --git a/pkgs/by-name/sl/slingshot/package.nix b/pkgs/by-name/sl/slingshot/package.nix index 90ee82c9472d..3b618eb7f0c5 100644 --- a/pkgs/by-name/sl/slingshot/package.nix +++ b/pkgs/by-name/sl/slingshot/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "slingshot"; version = "0.3.0"; src = fetchFromGitHub { owner = "caio-ishikawa"; repo = "slingshot"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-XI6uf54sEJ0htfY43aF8/X1/OF9m6peHUGDS+2nK3xA="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Lightweight command line tool to quickly navigate across folders"; homepage = "https://github.com/caio-ishikawa/slingshot"; - changelog = "https://github.com/caio-ishikawa/slingshot/releases/tag/${src.rev}"; + changelog = "https://github.com/caio-ishikawa/slingshot/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "slingshot"; }; -} +}) diff --git a/pkgs/by-name/sl/slippy/package.nix b/pkgs/by-name/sl/slippy/package.nix index 5a659fabf54a..f2cb7b00b18a 100644 --- a/pkgs/by-name/sl/slippy/package.nix +++ b/pkgs/by-name/sl/slippy/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "slippy"; version = "0.1.1"; src = fetchFromGitHub { owner = "axodotdev"; repo = "slippy"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-7Uvo5+saxwTMQjfDliyOYC6j6LbpMf/FiONfX38xepI="; }; @@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Markdown slideshows in Rust"; homepage = "https://github.com/axodotdev/slippy"; - changelog = "https://github.com/axodotdev/slippy/releases/tag/${src.rev}"; + changelog = "https://github.com/axodotdev/slippy/releases/tag/${finalAttrs.src.rev}"; license = with lib.licenses; [ asl20 mit @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "slippy"; }; -} +}) diff --git a/pkgs/by-name/sl/slowlorust/package.nix b/pkgs/by-name/sl/slowlorust/package.nix index 55ddccfcf4ff..c95125a26b36 100644 --- a/pkgs/by-name/sl/slowlorust/package.nix +++ b/pkgs/by-name/sl/slowlorust/package.nix @@ -5,14 +5,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "slowlorust"; version = "0.1.1"; src = fetchFromGitHub { owner = "MJVL"; repo = "slowlorust"; - tag = version; + tag = finalAttrs.version; hash = "sha256-c4NWkQ/QvlUo1YoV2s7rWB6wQskAP5Qp1WVM23wvV3c="; }; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { postPatch = '' # https://github.com/MJVL/slowlorust/issues/2 substituteInPlace src/main.rs \ - --replace-fail 'version = "1.0"' 'version = "${version}"' + --replace-fail 'version = "1.0"' 'version = "${finalAttrs.version}"' ''; nativeInstallCheckInputs = [ versionCheckHook ]; @@ -31,9 +31,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Lightweight slowloris (HTTP DoS) tool"; homepage = "https://github.com/MJVL/slowlorust"; - changelog = "https://github.com/MJVL/slowlorust/releases/tag/${version}"; + changelog = "https://github.com/MJVL/slowlorust/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "slowlorust"; }; -} +}) diff --git a/pkgs/by-name/sm/smag/package.nix b/pkgs/by-name/sm/smag/package.nix index 820e45703c6c..5d53c9ad28d8 100644 --- a/pkgs/by-name/sm/smag/package.nix +++ b/pkgs/by-name/sm/smag/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "smag"; version = "0.8.0"; src = fetchFromGitHub { owner = "aantn"; repo = "smag"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Vyd35wYDNI4T7DdqihwpmJOAZGxjnCeWS609o3L+gHM="; }; @@ -25,8 +25,8 @@ rustPlatform.buildRustPackage rec { ''; homepage = "https://github.com/aantn/smag"; license = lib.licenses.mit; - changelog = "https://github.com/aantn/smag/releases/tag/v${version}"; + changelog = "https://github.com/aantn/smag/releases/tag/v${finalAttrs.version}"; mainProgram = "smag"; maintainers = with lib.maintainers; [ zebreus ]; }; -} +}) diff --git a/pkgs/by-name/sm/smartcat/package.nix b/pkgs/by-name/sm/smartcat/package.nix index 784fcfd2f97e..bfa3e826d0b2 100644 --- a/pkgs/by-name/sm/smartcat/package.nix +++ b/pkgs/by-name/sm/smartcat/package.nix @@ -7,14 +7,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "smartcat"; version = "2.2.0"; src = fetchFromGitHub { owner = "efugier"; repo = "smartcat"; - tag = version; + tag = finalAttrs.version; hash = "sha256-nXuMyHV5Sln3qWXIhIDdV0thSY4YbvzGqNWGIw4QLdM="; }; @@ -31,10 +31,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Integrate large language models into the command line"; homepage = "https://github.com/efugier/smartcat"; - changelog = "https://github.com/efugier/smartcat/releases/tag/v${version}"; + changelog = "https://github.com/efugier/smartcat/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; platforms = lib.platforms.unix; mainProgram = "sc"; maintainers = with lib.maintainers; [ lpchaim ]; }; -} +}) diff --git a/pkgs/by-name/sn/snazy/package.nix b/pkgs/by-name/sn/snazy/package.nix index 1f6c827625ed..966c23bf18af 100644 --- a/pkgs/by-name/sn/snazy/package.nix +++ b/pkgs/by-name/sn/snazy/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "snazy"; version = "0.58.1"; src = fetchFromGitHub { owner = "chmouel"; repo = "snazy"; - rev = version; + rev = finalAttrs.version; hash = "sha256-sm3FTQ3+cILoKkMe3qvZg2K+rspvJI3SXpDFD3YPXXk="; }; @@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec { installCheckPhase = '' runHook preInstallCheck $out/bin/snazy --help - $out/bin/snazy --version | grep "snazy ${version}" + $out/bin/snazy --version | grep "snazy ${finalAttrs.version}" runHook postInstallCheck ''; @@ -44,10 +44,10 @@ rustPlatform.buildRustPackage rec { with nice colors. ''; homepage = "https://github.com/chmouel/snazy/"; - changelog = "https://github.com/chmouel/snazy/releases/tag/${src.rev}"; + changelog = "https://github.com/chmouel/snazy/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ jk ]; }; -} +}) diff --git a/pkgs/by-name/sn/sniffglue/package.nix b/pkgs/by-name/sn/sniffglue/package.nix index 652b50caf5cb..8d60de0c4f02 100644 --- a/pkgs/by-name/sn/sniffglue/package.nix +++ b/pkgs/by-name/sn/sniffglue/package.nix @@ -8,14 +8,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sniffglue"; version = "0.16.1"; src = fetchFromGitHub { owner = "kpcyrd"; repo = "sniffglue"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Pp/SJJQFpEU/4GKZQB8BjRGS4hqB850QbSb5WoG6Wh4="; }; @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux ++ lib.platforms.darwin; mainProgram = "sniffglue"; }; -} +}) diff --git a/pkgs/by-name/sn/snpguest/package.nix b/pkgs/by-name/sn/snpguest/package.nix index 49745065004b..6f4f62cd6ea2 100644 --- a/pkgs/by-name/sn/snpguest/package.nix +++ b/pkgs/by-name/sn/snpguest/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "snpguest"; version = "0.10.0"; src = fetchFromGitHub { owner = "virtee"; repo = "snpguest"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-311divpV+c/3/7pP9R7wr+dKabVb1zu4QWDEPGHKZrE="; }; @@ -31,10 +31,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI tool for interacting with SEV-SNP guest environment"; homepage = "https://github.com/virtee/snpguest"; - changelog = "https://github.com/virtee/snpguest/releases/tag/v${version}"; + changelog = "https://github.com/virtee/snpguest/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ katexochen ]; mainProgram = "snpguest"; platforms = [ "x86_64-linux" ]; }; -} +}) diff --git a/pkgs/by-name/sn/snphost/package.nix b/pkgs/by-name/sn/snphost/package.nix index 3f3a06128353..76500b902195 100644 --- a/pkgs/by-name/sn/snphost/package.nix +++ b/pkgs/by-name/sn/snphost/package.nix @@ -13,14 +13,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "snphost"; version = "0.7.0"; src = fetchFromGitHub { owner = "virtee"; repo = "snphost"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-9ztYKXZXhc+Fci8WvAyMWwdjurXL/S10ekCjaFOKWZE="; }; @@ -55,10 +55,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Administrative utility for SEV-SNP"; homepage = "https://github.com/virtee/snphost/"; - changelog = "https://github.com/virtee/snphost/releases/tag/v${version}"; + changelog = "https://github.com/virtee/snphost/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ katexochen ]; mainProgram = "snphost"; platforms = [ "x86_64-linux" ]; }; -} +}) diff --git a/pkgs/by-name/sn/snx-rs/package.nix b/pkgs/by-name/sn/snx-rs/package.nix index 4b9cb21ff217..9ef7a64dd114 100644 --- a/pkgs/by-name/sn/snx-rs/package.nix +++ b/pkgs/by-name/sn/snx-rs/package.nix @@ -12,14 +12,14 @@ nix-update-script, versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "snx-rs"; version = "4.9.1"; src = fetchFromGitHub { owner = "ancwrd1"; repo = "snx-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-7qmwi/hV8Ev+rdG00hIrQ8yMkb/yxAvG49SAvjsO4GQ="; }; @@ -56,10 +56,10 @@ rustPlatform.buildRustPackage rec { description = "Open source Linux client for Checkpoint VPN tunnels"; homepage = "https://github.com/ancwrd1/snx-rs"; license = lib.licenses.agpl3Plus; - changelog = "https://github.com/ancwrd1/snx-rs/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/ancwrd1/snx-rs/blob/v${finalAttrs.version}/CHANGELOG.md"; maintainers = with lib.maintainers; [ shavyn ]; mainProgram = "snx-rs"; }; -} +}) diff --git a/pkgs/by-name/so/solo2-cli/package.nix b/pkgs/by-name/so/solo2-cli/package.nix index 9dfddf361add..f321561ea00d 100644 --- a/pkgs/by-name/so/solo2-cli/package.nix +++ b/pkgs/by-name/so/solo2-cli/package.nix @@ -10,14 +10,14 @@ udevCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "solo2-cli"; version = "0.2.2"; src = fetchFromGitHub { owner = "solokeys"; repo = "solo2-cli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-7tpO5ir42mIKJXD0NJzEPXi/Xe6LdyEeBQWNfOdgX5I="; }; @@ -57,4 +57,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ lukegb ]; mainProgram = "solo2"; }; -} +}) diff --git a/pkgs/by-name/so/songrec/package.nix b/pkgs/by-name/so/songrec/package.nix index 7561f4291c34..55b1dc56d9e5 100644 --- a/pkgs/by-name/so/songrec/package.nix +++ b/pkgs/by-name/so/songrec/package.nix @@ -11,14 +11,14 @@ libpulseaudio, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "songrec"; version = "0.4.3"; src = fetchFromGitHub { owner = "marin-m"; repo = "songrec"; - rev = version; + rev = finalAttrs.version; hash = "sha256-pTonrxlYvfuLRKMXW0Lao4KCoNFlMzE9rH+hwpa60JY="; }; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ tcbravo ]; mainProgram = "songrec"; }; -} +}) diff --git a/pkgs/by-name/so/sozu/package.nix b/pkgs/by-name/so/sozu/package.nix index 11fd0641a7fb..9b88bdeb7d98 100644 --- a/pkgs/by-name/so/sozu/package.nix +++ b/pkgs/by-name/so/sozu/package.nix @@ -9,14 +9,14 @@ sozu, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sozu"; version = "1.1.1"; src = fetchFromGitHub { owner = "sozu-proxy"; repo = "sozu"; - rev = version; + rev = finalAttrs.version; hash = "sha256-a/Pna2l1gRv4kxIyGUuUHlN+lIQemGjZXwM65Ccc24Y="; }; @@ -31,18 +31,18 @@ rustPlatform.buildRustPackage rec { tests.version = testers.testVersion { package = sozu; command = "sozu --version"; - version = "${version}"; + version = "${finalAttrs.version}"; }; }; meta = { description = "Open Source HTTP Reverse Proxy built in Rust for Immutable Infrastructures"; homepage = "https://www.sozu.io"; - changelog = "https://github.com/sozu-proxy/sozu/releases/tag/${version}"; + changelog = "https://github.com/sozu-proxy/sozu/releases/tag/${finalAttrs.version}"; license = lib.licenses.agpl3Only; maintainers = [ ]; mainProgram = "sozu"; # error[E0432]: unresolved import `std::arch::x86_64` broken = !stdenv.hostPlatform.isx86_64; }; -} +}) diff --git a/pkgs/by-name/sp/spacer/package.nix b/pkgs/by-name/sp/spacer/package.nix index 4d6774c728a8..68a4e7168b6b 100644 --- a/pkgs/by-name/sp/spacer/package.nix +++ b/pkgs/by-name/sp/spacer/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "spacer"; version = "0.5.0"; src = fetchFromGitHub { owner = "samwho"; repo = "spacer"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-OryVQmecb8BgnEKeSvAQha+uiv+aZd2Q41T9tZTcWaI="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI tool to insert spacers when command output stops"; homepage = "https://github.com/samwho/spacer"; - changelog = "https://github.com/samwho/spacer/releases/tag/${src.rev}"; + changelog = "https://github.com/samwho/spacer/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "spacer"; }; -} +}) diff --git a/pkgs/by-name/sp/speedtest-rs/package.nix b/pkgs/by-name/sp/speedtest-rs/package.nix index 87acb7b2e812..af1ba5ad937e 100644 --- a/pkgs/by-name/sp/speedtest-rs/package.nix +++ b/pkgs/by-name/sp/speedtest-rs/package.nix @@ -10,14 +10,14 @@ speedtest-rs, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "speedtest-rs"; version = "0.2.0"; src = fetchFromGitHub { owner = "nelsonjchen"; repo = "speedtest-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-1FAFYiWDD/KG/7/UTv/EW6Nj2GnU0GZFFq6ouMc0URA="; }; @@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command line internet speedtest tool written in rust"; homepage = "https://github.com/nelsonjchen/speedtest-rs"; - changelog = "https://github.com/nelsonjchen/speedtest-rs/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/nelsonjchen/speedtest-rs/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit asl20 @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ GaetanLepage ]; mainProgram = "speedtest-rs"; }; -} +}) diff --git a/pkgs/by-name/sp/spl/package.nix b/pkgs/by-name/sp/spl/package.nix index 9d73cbd72de1..672e6cffcae7 100644 --- a/pkgs/by-name/sp/spl/package.nix +++ b/pkgs/by-name/sp/spl/package.nix @@ -4,7 +4,7 @@ rustPlatform, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "spl"; version = "0.4.3"; @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec { src = fetchgit { url = "https://git.tudbut.de/tudbut/spl"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ckj50psQ2/r7Bw03J2VjHx0R1zY5xivJfvB9HNxnJLw="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ tudbut ]; mainProgram = "spl"; }; -} +}) diff --git a/pkgs/by-name/sp/spotify-player/package.nix b/pkgs/by-name/sp/spotify-player/package.nix index 5de78739039b..b78b02c821b0 100644 --- a/pkgs/by-name/sp/spotify-player/package.nix +++ b/pkgs/by-name/sp/spotify-player/package.nix @@ -47,14 +47,14 @@ assert lib.assertOneOf "withAudioBackend" withAudioBackend [ "gstreamer" ]; -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "spotify-player"; version = "0.21.3"; src = fetchFromGitHub { owner = "aome510"; repo = "spotify-player"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-0kc7OIno0BQ2Kcvi0keelKr1R7+vlAWYBjsYVD3jTf8="; }; @@ -131,7 +131,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal spotify player that has feature parity with the official client"; homepage = "https://github.com/aome510/spotify-player"; - changelog = "https://github.com/aome510/spotify-player/releases/tag/v${version}"; + changelog = "https://github.com/aome510/spotify-player/releases/tag/v${finalAttrs.version}"; mainProgram = "spotify_player"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ @@ -142,4 +142,4 @@ rustPlatform.buildRustPackage rec { mattkang ]; }; -} +}) diff --git a/pkgs/by-name/sp/spytrap-adb/package.nix b/pkgs/by-name/sp/spytrap-adb/package.nix index 7326250ec712..60e71cb9ca62 100644 --- a/pkgs/by-name/sp/spytrap-adb/package.nix +++ b/pkgs/by-name/sp/spytrap-adb/package.nix @@ -5,14 +5,14 @@ android-tools, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "spytrap-adb"; version = "0.3.5"; src = fetchFromGitHub { owner = "spytrap-org"; repo = "spytrap-adb"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-t5MNgsuH5FVEjUP9FFxbjXs5BVim0ZyfNKUTQOjKpqg="; }; @@ -23,10 +23,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Test a phone for stalkerware using adb and usb debugging to scan for suspicious apps and configuration"; homepage = "https://github.com/spytrap-org/spytrap-adb"; - changelog = "https://github.com/spytrap-org/spytrap-adb/releases/tag/v${version}"; + changelog = "https://github.com/spytrap-org/spytrap-adb/releases/tag/v${finalAttrs.version}"; mainProgram = "spytrap-adb"; license = with lib.licenses; [ gpl3Plus ]; maintainers = with lib.maintainers; [ kpcyrd ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/sq/sqld/package.nix b/pkgs/by-name/sq/sqld/package.nix index c814d4d303d3..990e4f6236e4 100644 --- a/pkgs/by-name/sq/sqld/package.nix +++ b/pkgs/by-name/sq/sqld/package.nix @@ -14,14 +14,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sqld"; version = "0.24.32"; src = fetchFromGitHub { owner = "tursodatabase"; repo = "libsql"; - tag = "libsql-server-v${version}"; + tag = "libsql-server-v${finalAttrs.version}"; hash = "sha256-CiTJ9jLANBrncz/O/0k2/UI/qGCTGWLZuLQdncunlX8"; }; @@ -79,4 +79,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "sqld"; }; -} +}) diff --git a/pkgs/by-name/sq/sqlx-cli/package.nix b/pkgs/by-name/sq/sqlx-cli/package.nix index 919787131d9d..4278543242fb 100644 --- a/pkgs/by-name/sq/sqlx-cli/package.nix +++ b/pkgs/by-name/sq/sqlx-cli/package.nix @@ -12,14 +12,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sqlx-cli"; version = "0.8.6"; src = fetchFromGitHub { owner = "launchbadge"; repo = "sqlx"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Trnyrc17KWhX8QizKyBvXhTM7HHEqtywWgNqvQNMOAY="; }; @@ -75,4 +75,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "sqlx"; }; -} +}) diff --git a/pkgs/by-name/sq/sqruff/package.nix b/pkgs/by-name/sq/sqruff/package.nix index 1ff6b77ca74e..57b8ca08e5d7 100644 --- a/pkgs/by-name/sq/sqruff/package.nix +++ b/pkgs/by-name/sq/sqruff/package.nix @@ -6,14 +6,14 @@ nix-update-script, versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sqruff"; version = "0.34.1"; src = fetchFromGitHub { owner = "quarylabs"; repo = "sqruff"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Yk4ejrIs8/8RVvXS2V2ZTBn6zawVO502Xeeb8rjU6e4="; }; @@ -51,7 +51,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Fast SQL formatter/linter"; homepage = "https://github.com/quarylabs/sqruff"; - changelog = "https://github.com/quarylabs/sqruff/releases/tag/${version}"; + changelog = "https://github.com/quarylabs/sqruff/releases/tag/${finalAttrs.version}"; license = lib.licenses.asl20; mainProgram = "sqruff"; maintainers = with lib.maintainers; [ @@ -59,4 +59,4 @@ rustPlatform.buildRustPackage rec { pyrox0 ]; }; -} +}) diff --git a/pkgs/by-name/sq/squawk/package.nix b/pkgs/by-name/sq/squawk/package.nix index 559abfc9af7a..a82cf9dbe2d4 100644 --- a/pkgs/by-name/sq/squawk/package.nix +++ b/pkgs/by-name/sq/squawk/package.nix @@ -8,14 +8,14 @@ rustPlatform, stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "squawk"; version = "2.37.0"; src = fetchFromGitHub { owner = "sbdchd"; repo = "squawk"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-+7cIymENIjF2fVD+qAblY4+dkENYiaTnDhCc/VuuAIk="; }; @@ -49,8 +49,8 @@ rustPlatform.buildRustPackage rec { meta = { description = "Linter for PostgreSQL, focused on migrations"; homepage = "https://squawkhq.com"; - changelog = "https://github.com/sbdchd/squawk/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/sbdchd/squawk/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ gpl3Only ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/sr/srgn/package.nix b/pkgs/by-name/sr/srgn/package.nix index 84b285d724c9..470d25c61cb4 100644 --- a/pkgs/by-name/sr/srgn/package.nix +++ b/pkgs/by-name/sr/srgn/package.nix @@ -5,14 +5,14 @@ lib, stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "srgn"; version = "0.14.1"; src = fetchFromGitHub { owner = "alexpovel"; repo = "srgn"; - rev = "srgn-v${version}"; + rev = "srgn-v${finalAttrs.version}"; hash = "sha256-bwrV6wj9PrX2cYAnqB0fXiG/vuL28M0q9a+WER0A/9w="; }; @@ -31,8 +31,8 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ magistau ]; mainProgram = "srgn"; - homepage = "https://github.com/${src.owner}/${src.repo}/"; - downloadPage = "https://github.com/${src.owner}/${src.repo}/releases/tag/${src.rev}"; - changelog = "https://github.com/${src.owner}/${src.repo}/blob/${src.rev}/CHANGELOG.md"; + homepage = "https://github.com/${finalAttrs.src.owner}/${finalAttrs.src.repo}/"; + downloadPage = "https://github.com/${finalAttrs.src.owner}/${finalAttrs.src.repo}/releases/tag/${finalAttrs.src.rev}"; + changelog = "https://github.com/${finalAttrs.src.owner}/${finalAttrs.src.repo}/blob/${finalAttrs.src.rev}/CHANGELOG.md"; }; -} +}) diff --git a/pkgs/by-name/sr/srisum/package.nix b/pkgs/by-name/sr/srisum/package.nix index 8ef7a1e62773..9a8f628ccf45 100644 --- a/pkgs/by-name/sr/srisum/package.nix +++ b/pkgs/by-name/sr/srisum/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "srisum"; version = "5.0.0"; src = fetchFromGitHub { owner = "zkat"; repo = "srisum-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Nw3uTGOcz1ivAm9X+PnOdNA937wuK3vtJQ0iJHlHVdw="; }; @@ -22,10 +22,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command-line utility to compute and check subresource integrity hashes"; homepage = "https://github.com/zkat/srisum-rs"; - changelog = "https://github.com/zkat/srisum-rs/raw/v${version}/CHANGELOG.md"; + changelog = "https://github.com/zkat/srisum-rs/raw/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 ]; maintainers = with lib.maintainers; [ pjjw ]; platforms = lib.platforms.all; mainProgram = "srisum"; }; -} +}) diff --git a/pkgs/by-name/ss/ssh-agent-mux/package.nix b/pkgs/by-name/ss/ssh-agent-mux/package.nix index d33864f444bd..3ffbb2f66a17 100644 --- a/pkgs/by-name/ss/ssh-agent-mux/package.nix +++ b/pkgs/by-name/ss/ssh-agent-mux/package.nix @@ -5,14 +5,14 @@ openssh, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ssh-agent-mux"; version = "0.2.0"; src = fetchFromGitHub { owner = "overhacked"; repo = "ssh-agent-mux"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-tIGrENlZcT9fGke6MRnsLsmm+kb0Mm3C6DckkZi8hpE="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.kalbasit ]; mainProgram = "ssh-agent-mux"; }; -} +}) diff --git a/pkgs/by-name/ss/sshs/package.nix b/pkgs/by-name/ss/sshs/package.nix index e13b4b372e89..1fdb255cf75b 100644 --- a/pkgs/by-name/ss/sshs/package.nix +++ b/pkgs/by-name/ss/sshs/package.nix @@ -6,14 +6,14 @@ sshs, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sshs"; version = "4.7.2"; src = fetchFromGitHub { owner = "quantumsheep"; repo = "sshs"; - rev = version; + rev = finalAttrs.version; hash = "sha256-Xr1S6KSw3a/+TIrw2hUPpUOd22+49YMuGK2TVxfwPHU="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ not-my-segfault ]; mainProgram = "sshs"; }; -} +}) diff --git a/pkgs/by-name/ss/sss-cli/package.nix b/pkgs/by-name/ss/sss-cli/package.nix index bed07223d94b..b48b087f4e80 100644 --- a/pkgs/by-name/ss/sss-cli/package.nix +++ b/pkgs/by-name/ss/sss-cli/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sss-cli"; version = "0.1.1"; src = fetchFromGitHub { owner = "dsprenkels"; repo = "sss-cli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-9Wht+t48SsWpj1z2yY6P7G+h9StmuqfMdODtyPffhak="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ laalsaas ]; }; -} +}) diff --git a/pkgs/by-name/ss/sss_code/package.nix b/pkgs/by-name/ss/sss_code/package.nix index edec80a89816..f6ce8ff17619 100644 --- a/pkgs/by-name/ss/sss_code/package.nix +++ b/pkgs/by-name/ss/sss_code/package.nix @@ -9,14 +9,14 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sss_code"; version = "0.2.0"; src = fetchFromGitHub { owner = "SergioRibera"; repo = "sss"; - rev = "sss_code/v${version}"; + rev = "sss_code/v${finalAttrs.version}"; hash = "sha256-AmJFAwHfG4R2iRz9zNeZsVFLptVy499ozQ7jgwnevOo="; }; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = with lib.maintainers; [ krovuxdev ]; }; -} +}) diff --git a/pkgs/by-name/st/stardust-xr-flatland/package.nix b/pkgs/by-name/st/stardust-xr-flatland/package.nix index ed316a0f1ddd..18e6eb4136e0 100644 --- a/pkgs/by-name/st/stardust-xr-flatland/package.nix +++ b/pkgs/by-name/st/stardust-xr-flatland/package.nix @@ -5,7 +5,7 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "stardust-xr-flatland"; version = "0-unstable-2024-04-13"; @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec { hash = "sha256-m7c6XpmpTM1URuqMG2KqtaWbL2Vt8vJFJtmvq123BmY="; }; - env.STARDUST_RES_PREFIXES = "${src}/res"; + env.STARDUST_RES_PREFIXES = "${finalAttrs.src}/res"; cargoHash = "sha256-oM4nQUEc3iq1x4uRp8Kw5WtE/L5b6VlLOfElMT9Tk98="; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/st/stardust-xr-kiara/package.nix b/pkgs/by-name/st/stardust-xr-kiara/package.nix index 6e8decec942a..56c18ed807f3 100644 --- a/pkgs/by-name/st/stardust-xr-kiara/package.nix +++ b/pkgs/by-name/st/stardust-xr-kiara/package.nix @@ -9,7 +9,7 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "stardust-xr-kiara"; version = "0-unstable-2024-07-13"; @@ -41,8 +41,8 @@ rustPlatform.buildRustPackage rec { ''; env = { - NIRI_CONFIG = "${src}/src/niri_config.kdl"; - STARDUST_RES_PREFIXES = "${src}/res"; + NIRI_CONFIG = "${finalAttrs.src}/src/niri_config.kdl"; + STARDUST_RES_PREFIXES = "${finalAttrs.src}/res"; }; meta = { @@ -56,4 +56,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/st/stardust-xr-phobetor/package.nix b/pkgs/by-name/st/stardust-xr-phobetor/package.nix index ea43e7f95745..d590df979790 100644 --- a/pkgs/by-name/st/stardust-xr-phobetor/package.nix +++ b/pkgs/by-name/st/stardust-xr-phobetor/package.nix @@ -5,7 +5,7 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "stardust-xr-phobetor"; version = "0-unstable-2024-02-10"; @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec { hash = "sha256-7CWOoirQ/8zKCO7lBA9snyShlwsKYONiYkl39lQrpTY="; }; - env.STARDUST_RES_PREFIXES = "${src}/res"; + env.STARDUST_RES_PREFIXES = "${finalAttrs.src}/res"; cargoHash = "sha256-H65uAHMAIkJ9D5q/5HxMEbvcfoRhYdFgTQejp6bvu5w="; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/st/stardust-xr-protostar/package.nix b/pkgs/by-name/st/stardust-xr-protostar/package.nix index 01d1821d9b15..fab18684e814 100644 --- a/pkgs/by-name/st/stardust-xr-protostar/package.nix +++ b/pkgs/by-name/st/stardust-xr-protostar/package.nix @@ -5,7 +5,7 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "stardust-xr-protostar"; version = "0-unstable-2024-12-29"; @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec { hash = "sha256-9KJO1Z3Aq0+hh9QqufWBxpMmfFOmdgMUJxfgGZMg2n4="; }; - env.STARDUST_RES_PREFIXES = "${src}/res"; + env.STARDUST_RES_PREFIXES = "${finalAttrs.src}/res"; cargoHash = "sha256-9XJ+nnvpTzr/3ii9dFkfZDex/++W5Mq9k0bh2Y6tueA="; @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/st/stardust-xr-server/package.nix b/pkgs/by-name/st/stardust-xr-server/package.nix index fa2a6700256b..1dd85f7337d8 100644 --- a/pkgs/by-name/st/stardust-xr-server/package.nix +++ b/pkgs/by-name/st/stardust-xr-server/package.nix @@ -15,14 +15,14 @@ libx11, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "stardust-xr-server"; version = "0.44.1"; src = fetchFromGitHub { owner = "stardustxr"; repo = "server"; - tag = version; + tag = finalAttrs.version; hash = "sha256-sCatpWDdy7NFWOWUARjN3fZMDVviX2iV79G0HTxfYZU="; }; @@ -64,4 +64,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/st/stardust-xr-sphereland/package.nix b/pkgs/by-name/st/stardust-xr-sphereland/package.nix index 9071b32399cc..efd80c02ea89 100644 --- a/pkgs/by-name/st/stardust-xr-sphereland/package.nix +++ b/pkgs/by-name/st/stardust-xr-sphereland/package.nix @@ -6,7 +6,7 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "stardust-xr-sphereland"; version = "0-unstable-2023-11-07"; @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec { hash = "sha256-LKdqTl14cdgD14IwAP34mWdDgREhy1CHOT86HywOxqM="; }; - env.STARDUST_RES_PREFIXES = "${src}/res"; + env.STARDUST_RES_PREFIXES = "${finalAttrs.src}/res"; cargoHash = "sha256-4mESTxfogMQxfDMQRVML752fkinOIqkddW3PHmvxekc="; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/st/stargazer/package.nix b/pkgs/by-name/st/stargazer/package.nix index 16277889dffd..6a01f443c122 100644 --- a/pkgs/by-name/st/stargazer/package.nix +++ b/pkgs/by-name/st/stargazer/package.nix @@ -8,14 +8,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "stargazer"; version = "1.3.4"; src = fetchFromSourcehut { owner = "~zethra"; repo = "stargazer"; - rev = version; + rev = finalAttrs.version; hash = "sha256-9JNOq9SV3sHDlVaPUnZRq/8WNPQ/iF3AdSvAoCEtg7k="; }; @@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec { mainProgram = "stargazer"; homepage = "https://sr.ht/~zethra/stargazer/"; license = lib.licenses.agpl3Plus; - changelog = "https://git.sr.ht/~zethra/stargazer/refs/${version}"; + changelog = "https://git.sr.ht/~zethra/stargazer/refs/${finalAttrs.version}"; maintainers = with lib.maintainers; [ gaykitty ]; }; -} +}) diff --git a/pkgs/by-name/st/starlark-rust/package.nix b/pkgs/by-name/st/starlark-rust/package.nix index b5e9a5ae31d8..29c2412b00d6 100644 --- a/pkgs/by-name/st/starlark-rust/package.nix +++ b/pkgs/by-name/st/starlark-rust/package.nix @@ -4,13 +4,13 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "starlark-rust"; version = "0.13.0"; src = fetchCrate { pname = "starlark_bin"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-1M3p5QHMOBgmdEyr31Bhv7X8UdUmoeL0o1hWaw2tahQ="; }; @@ -19,9 +19,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Rust implementation of the Starlark language"; homepage = "https://github.com/facebook/starlark-rust"; - changelog = "https://github.com/facebook/starlark-rust/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/facebook/starlark-rust/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ ]; mainProgram = "starlark"; }; -} +}) diff --git a/pkgs/by-name/st/static-web-server/package.nix b/pkgs/by-name/st/static-web-server/package.nix index da749e0757ca..bfee7235287f 100644 --- a/pkgs/by-name/st/static-web-server/package.nix +++ b/pkgs/by-name/st/static-web-server/package.nix @@ -5,14 +5,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "static-web-server"; version = "2.39.0"; src = fetchFromGitHub { owner = "static-web-server"; repo = "static-web-server"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-iprQlSHO+ac7v1odVoS/9IU+Zov8/xh1l9pm1PJE8fs="; }; @@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Asynchronous web server for static files-serving"; homepage = "https://static-web-server.net/"; - changelog = "https://github.com/static-web-server/static-web-server/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/static-web-server/static-web-server/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit # or asl20 @@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "static-web-server"; }; -} +}) diff --git a/pkgs/by-name/st/steam-acf/package.nix b/pkgs/by-name/st/steam-acf/package.nix index ab92935e42b6..69a9aacce922 100644 --- a/pkgs/by-name/st/steam-acf/package.nix +++ b/pkgs/by-name/st/steam-acf/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "steam-acf"; version = "0.1.0"; src = fetchFromGitHub { owner = "chisui"; repo = "acf"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "16q3md7cvdz37pqm1sda81rkjf249xbsrlpdl639r06p7f4nqlc2"; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ chisui ]; mainProgram = "acf"; }; -} +}) diff --git a/pkgs/by-name/st/steamguard-cli/package.nix b/pkgs/by-name/st/steamguard-cli/package.nix index c19d4910a04d..68631bd00038 100644 --- a/pkgs/by-name/st/steamguard-cli/package.nix +++ b/pkgs/by-name/st/steamguard-cli/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "steamguard-cli"; version = "0.17.1"; src = fetchFromGitHub { owner = "dyc3"; repo = "steamguard-cli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-IoWLPpFPQC1QU1EgJSiiAQqMcDQnHa5WRLiya3WN+6w="; }; @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec { ''; meta = { - changelog = "https://github.com/dyc3/steamguard-cli/releases/tag/v${version}"; + changelog = "https://github.com/dyc3/steamguard-cli/releases/tag/v${finalAttrs.version}"; description = "Linux utility for generating 2FA codes for Steam and managing Steam trade confirmations"; homepage = "https://github.com/dyc3/steamguard-cli"; license = with lib.licenses; [ gpl3Only ]; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/st/stgit/package.nix b/pkgs/by-name/st/stgit/package.nix index 0a0decc2fb61..815a575ec60b 100644 --- a/pkgs/by-name/st/stgit/package.nix +++ b/pkgs/by-name/st/stgit/package.nix @@ -17,14 +17,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "stgit"; version = "2.5.5"; src = fetchFromGitHub { owner = "stacked-git"; repo = "stgit"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-zl3xy4t15QwdHeo0cjtorOcmD6oerprUswoMubpVLGU="; }; @@ -101,4 +101,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ jshholland ]; mainProgram = "stg"; }; -} +}) diff --git a/pkgs/by-name/st/strace-analyzer/package.nix b/pkgs/by-name/st/strace-analyzer/package.nix index 1eda35676180..57befa941e3f 100644 --- a/pkgs/by-name/st/strace-analyzer/package.nix +++ b/pkgs/by-name/st/strace-analyzer/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "strace-analyzer"; version = "0.5.4"; src = fetchFromGitHub { owner = "wookietreiber"; repo = "strace-analyzer"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-KbdQeZoWFz4D5txu/411J0HNnIAs3t5IvO30/34vBek="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Plus; maintainers = [ lib.maintainers.matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/st/stratovirt/package.nix b/pkgs/by-name/st/stratovirt/package.nix index a4e6d79fa20e..acd2cd8257e8 100644 --- a/pkgs/by-name/st/stratovirt/package.nix +++ b/pkgs/by-name/st/stratovirt/package.nix @@ -14,13 +14,13 @@ libseccomp, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "stratovirt"; version = "2.4.0"; src = fetchgit { url = "https://gitee.com/openeuler/stratovirt.git"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-1Ex6ahKBoVRikSqrgHGYaBFzWkPFDm8bGVyB7KmO8tI="; }; @@ -54,4 +54,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "stratovirt"; }; -} +}) diff --git a/pkgs/by-name/st/stu/package.nix b/pkgs/by-name/st/stu/package.nix index a8535e7834bf..16283b5e0375 100644 --- a/pkgs/by-name/st/stu/package.nix +++ b/pkgs/by-name/st/stu/package.nix @@ -6,14 +6,14 @@ testers, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "stu"; version = "0.7.6"; src = fetchFromGitHub { owner = "lusingander"; repo = "stu"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-DLZQq/pLvRQizjTWbGHqDkOW1iKDICun54Ku1i+kOB0="; }; @@ -23,10 +23,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal file explorer for S3 buckets"; - changelog = "https://github.com/lusingander/stu/releases/tag/v${version}"; + changelog = "https://github.com/lusingander/stu/releases/tag/v${finalAttrs.version}"; homepage = "https://lusingander.github.io/stu/"; license = lib.licenses.mit; maintainers = [ lib.maintainers.Nebucatnetzer ]; mainProgram = "stu"; }; -} +}) diff --git a/pkgs/by-name/su/sub-batch/package.nix b/pkgs/by-name/su/sub-batch/package.nix index 6fcb0e9dc282..1a4f80d3551e 100644 --- a/pkgs/by-name/su/sub-batch/package.nix +++ b/pkgs/by-name/su/sub-batch/package.nix @@ -5,14 +5,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sub-batch"; version = "1.0.1"; src = fetchFromGitHub { owner = "kl"; repo = "sub-batch"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-TOcK+l65iKON1kgBE4DYV/BXACnvqPCshavnVdpnGH4="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { broken = stdenv.hostPlatform.isDarwin; mainProgram = "sub-batch"; }; -} +}) diff --git a/pkgs/by-name/su/substudy/package.nix b/pkgs/by-name/su/substudy/package.nix index 895298438a03..e3bddfe28ecf 100644 --- a/pkgs/by-name/su/substudy/package.nix +++ b/pkgs/by-name/su/substudy/package.nix @@ -7,14 +7,14 @@ makeWrapper, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "substudy"; version = "0.6.10"; src = fetchFromGitHub { owner = "emk"; repo = "subtitles-rs"; - rev = "substudy_v${version}"; + rev = "substudy_v${finalAttrs.version}"; hash = "sha256-ACYbSQKaOJ2hS8NbOAppfKo+Mk3CKg0OAwb56AH42Zs="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "substudy"; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/su/subxt/package.nix b/pkgs/by-name/su/subxt/package.nix index 4857005842bc..5a04072a41a2 100644 --- a/pkgs/by-name/su/subxt/package.nix +++ b/pkgs/by-name/su/subxt/package.nix @@ -5,14 +5,14 @@ cmake, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "subxt"; version = "0.44.2"; src = fetchFromGitHub { owner = "paritytech"; repo = "subxt"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-3yTX2H4T0nnA0Kh1Lx1/blK/Edd1ZOHQVEXiiOLxino="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ lib.maintainers.FlorianFranzen ]; }; -} +}) diff --git a/pkgs/by-name/su/suckit/package.nix b/pkgs/by-name/su/suckit/package.nix index e15eafc44762..2852dcb464b1 100644 --- a/pkgs/by-name/su/suckit/package.nix +++ b/pkgs/by-name/su/suckit/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "suckit"; version = "0.2.0"; src = fetchFromGitHub { owner = "skallwar"; repo = "suckit"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-M4/vD1sVny7hAf4h56Z2xy7yuCqH/H3qHYod6haZOs0="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "suckit"; }; -} +}) diff --git a/pkgs/by-name/su/supergfxctl/package.nix b/pkgs/by-name/su/supergfxctl/package.nix index fafe02c69c83..2041802a45f4 100644 --- a/pkgs/by-name/su/supergfxctl/package.nix +++ b/pkgs/by-name/su/supergfxctl/package.nix @@ -7,14 +7,14 @@ udevCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "supergfxctl"; version = "5.2.7"; src = fetchFromGitLab { owner = "asus-linux"; repo = "supergfxctl"; - rev = version; + rev = finalAttrs.version; hash = "sha256-d3jN4i4oHRFDgr5f6y42gahrCfXBPB61T72x6IeiskM="; }; @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { platforms = [ "x86_64-linux" ]; maintainers = [ lib.maintainers.k900 ]; }; -} +}) diff --git a/pkgs/by-name/sv/svg2pdf/package.nix b/pkgs/by-name/sv/svg2pdf/package.nix index 7f804bb1c697..c4f0d1d00a92 100644 --- a/pkgs/by-name/sv/svg2pdf/package.nix +++ b/pkgs/by-name/sv/svg2pdf/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "svg2pdf"; version = "0.13.0"; src = fetchFromGitHub { owner = "typst"; repo = "svg2pdf"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-A3lUX2q5D1Z5Q3sZOl2uvaOLTuLRdtJyR9tmfPkE7TI="; }; @@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Convert SVG files to PDFs"; homepage = "https://github.com/typst/svg2pdf"; - changelog = "https://github.com/typst/svg2pdf/releases/tag/${src.rev}"; + changelog = "https://github.com/typst/svg2pdf/releases/tag/${finalAttrs.src.rev}"; license = with lib.licenses; [ asl20 mit @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "svg2pdf"; }; -} +}) diff --git a/pkgs/by-name/sv/svgbob/package.nix b/pkgs/by-name/sv/svgbob/package.nix index 109ece6a0cb1..c0499a8ea6ec 100644 --- a/pkgs/by-name/sv/svgbob/package.nix +++ b/pkgs/by-name/sv/svgbob/package.nix @@ -4,12 +4,12 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "svgbob"; version = "0.7.6"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; crateName = "svgbob_cli"; hash = "sha256-mPF6GcsXl/Bcri9d8SS21+/sjssT4//ktwC620NrEUg="; }; @@ -23,9 +23,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Convert your ascii diagram scribbles into happy little SVG"; homepage = "https://github.com/ivanceras/svgbob"; - changelog = "https://github.com/ivanceras/svgbob/raw/${version}/Changelog.md"; + changelog = "https://github.com/ivanceras/svgbob/raw/${finalAttrs.version}/Changelog.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ cafkafk ]; mainProgram = "svgbob"; }; -} +}) diff --git a/pkgs/by-name/sv/svix-server/package.nix b/pkgs/by-name/sv/svix-server/package.nix index 63fa60e06814..5851c66b4823 100644 --- a/pkgs/by-name/sv/svix-server/package.nix +++ b/pkgs/by-name/sv/svix-server/package.nix @@ -8,18 +8,18 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "svix-server"; version = "1.76.1"; src = fetchFromGitHub { owner = "svix"; repo = "svix-webhooks"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-9ClWC/OHdijmQzKig/o6WhJ9mjlE6pLwvrRKzuO0l3g="; }; - sourceRoot = "${src.name}/server"; + sourceRoot = "${finalAttrs.src.name}/server"; cargoHash = "sha256-fOUPaU/1+FvL9hSzWQVouAXmCjI6ppOjJqtgM4+cXf8="; @@ -45,9 +45,9 @@ rustPlatform.buildRustPackage rec { mainProgram = "svix-server"; description = "Enterprise-ready webhooks service"; homepage = "https://github.com/svix/svix-webhooks"; - changelog = "https://github.com/svix/svix-webhooks/releases/tag/v${version}"; + changelog = "https://github.com/svix/svix-webhooks/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ techknowlogick ]; broken = stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin; # aws-lc-sys currently broken on darwin x86_64 }; -} +}) diff --git a/pkgs/by-name/sv/svls/package.nix b/pkgs/by-name/sv/svls/package.nix index f1723fde042d..6afe43436a5d 100644 --- a/pkgs/by-name/sv/svls/package.nix +++ b/pkgs/by-name/sv/svls/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "svls"; version = "0.2.14"; src = fetchFromGitHub { owner = "dalance"; repo = "svls"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-dLAlXsvUno6bx67A3knevo0ZRBMNOlWW3CmNfgCgha4="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ trepetti ]; }; -} +}) diff --git a/pkgs/by-name/sw/sway-easyfocus/package.nix b/pkgs/by-name/sw/sway-easyfocus/package.nix index 4576ba7c3683..d0fff133a9e6 100644 --- a/pkgs/by-name/sw/sway-easyfocus/package.nix +++ b/pkgs/by-name/sw/sway-easyfocus/package.nix @@ -13,14 +13,14 @@ gtk-layer-shell, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sway-easyfocus"; version = "0.2.0"; src = fetchFromGitHub { owner = "edzdez"; repo = "sway-easyfocus"; - tag = version; + tag = finalAttrs.version; hash = "sha256-ogqstgJqUczn0LDwpOAppC1J/Cs0IEOAXjNAnbiKn6M="; }; @@ -48,4 +48,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ pjones ]; mainProgram = "sway-easyfocus"; }; -} +}) diff --git a/pkgs/by-name/sw/sway-new-workspace/package.nix b/pkgs/by-name/sw/sway-new-workspace/package.nix index de2e4ae5d503..c623c5783d8b 100644 --- a/pkgs/by-name/sw/sway-new-workspace/package.nix +++ b/pkgs/by-name/sw/sway-new-workspace/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sway-new-workspace"; version = "0.1.5"; src = fetchFromGitHub { owner = "nzig"; repo = "sway-new-workspace"; - rev = version; + rev = finalAttrs.version; hash = "sha256-CoSfpsaGqNNR5jdAQys3nQxshI0NXXr8MacUnSTKFNo="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ bbenno ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/sw/sway-overfocus/package.nix b/pkgs/by-name/sw/sway-overfocus/package.nix index 15467dee8a1d..6506e35d3604 100644 --- a/pkgs/by-name/sw/sway-overfocus/package.nix +++ b/pkgs/by-name/sw/sway-overfocus/package.nix @@ -5,14 +5,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sway-overfocus"; version = "0.2.5"; src = fetchFromGitHub { owner = "korreman"; repo = "sway-overfocus"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Ik1YkEtmnMdm5bQb5PtqzZZdJxCnGu4Bzt000iV7tc4="; }; @@ -26,9 +26,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Better focus navigation for sway and i3"; homepage = "https://github.com/korreman/sway-overfocus"; - changelog = "https://github.com/korreman/sway-overfocus/releases/tag/${src.rev}"; + changelog = "https://github.com/korreman/sway-overfocus/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.ivan770 ]; mainProgram = "sway-overfocus"; }; -} +}) diff --git a/pkgs/by-name/sw/sway-scratch/package.nix b/pkgs/by-name/sw/sway-scratch/package.nix index f80b47582986..9496db518250 100644 --- a/pkgs/by-name/sw/sway-scratch/package.nix +++ b/pkgs/by-name/sw/sway-scratch/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "sway-scratch"; version = "0.2.1"; src = fetchFromGitHub { owner = "aokellermann"; repo = "sway-scratch"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-1N/33XtkEWamgQYNDyZgSSaaGD+2HtbseEpQgrAz3CU="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "sway-scratch"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/sw/swc/package.nix b/pkgs/by-name/sw/swc/package.nix index 7ec7eb254c3a..e470dbc8d6a3 100644 --- a/pkgs/by-name/sw/swc/package.nix +++ b/pkgs/by-name/sw/swc/package.nix @@ -4,13 +4,13 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "swc"; version = "0.91.495"; src = fetchCrate { pname = "swc_cli"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-th+VLeKdTqyAjyRer0GeGLprBX0XhYTd9F7kwBDrzLo="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { kashw2 ]; }; -} +}) diff --git a/pkgs/by-name/sy/symbolicator/package.nix b/pkgs/by-name/sy/symbolicator/package.nix index 8e4ddbb9fad6..86ed733772d7 100644 --- a/pkgs/by-name/sy/symbolicator/package.nix +++ b/pkgs/by-name/sy/symbolicator/package.nix @@ -8,14 +8,14 @@ zstd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "symbolicator"; version = "26.1.0"; src = fetchFromGitHub { owner = "getsentry"; repo = "symbolicator"; - rev = version; + rev = finalAttrs.version; hash = "sha256-sqfp48lDpFwxgKL4CduBVbsYxxpaAugaybp7JKFLuX8="; fetchSubmodules = true; }; @@ -34,8 +34,8 @@ rustPlatform.buildRustPackage rec { ]; env = { - SYMBOLICATOR_GIT_VERSION = src.rev; - SYMBOLICATOR_RELEASE = version; + SYMBOLICATOR_GIT_VERSION = finalAttrs.src.rev; + SYMBOLICATOR_RELEASE = finalAttrs.version; ZSTD_SYS_USE_PKG_CONFIG = true; }; @@ -45,9 +45,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Native Symbolication as a Service"; homepage = "https://getsentry.github.io/symbolicator/"; - changelog = "https://github.com/getsentry/symbolicator/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/getsentry/symbolicator/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "symbolicator"; }; -} +}) diff --git a/pkgs/by-name/sy/syncstorage-rs/package.nix b/pkgs/by-name/sy/syncstorage-rs/package.nix index 39b2b53ab03c..d177af7c8a82 100644 --- a/pkgs/by-name/sy/syncstorage-rs/package.nix +++ b/pkgs/by-name/sy/syncstorage-rs/package.nix @@ -21,7 +21,7 @@ let ]); in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "syncstorage-rs"; version = "0.21.1-unstable-2026-01-26"; @@ -60,10 +60,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Mozilla Sync Storage built with Rust"; homepage = "https://github.com/mozilla-services/syncstorage-rs"; - changelog = "https://github.com/mozilla-services/syncstorage-rs/releases/tag/${version}"; + changelog = "https://github.com/mozilla-services/syncstorage-rs/releases/tag/${finalAttrs.version}"; license = lib.licenses.mpl20; maintainers = [ ]; platforms = lib.platforms.linux; mainProgram = "syncserver"; }; -} +}) diff --git a/pkgs/by-name/sy/system-syzygy/package.nix b/pkgs/by-name/sy/system-syzygy/package.nix index 1071381010c0..714532f17ee1 100644 --- a/pkgs/by-name/sy/system-syzygy/package.nix +++ b/pkgs/by-name/sy/system-syzygy/package.nix @@ -17,14 +17,14 @@ let categories = [ "Game" ]; }; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "system-syzygy"; version = "1.0.2"; src = fetchFromGitHub { owner = "mdsteele"; repo = "syzygy"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-wxe9+r3tWRXiznvjvxsmTgUC7YVKgbt+I3Q8A/WtcN0="; }; @@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec { postInstall = '' mkdir -p $out/share/syzygy/ - cp -r ${src}/data/* $out/share/syzygy/ + cp -r ${finalAttrs.src}/data/* $out/share/syzygy/ wrapProgram $out/bin/syzygy --set SYZYGY_DATA_DIR $out/share/syzygy mkdir -p $out/share/applications substituteAll ${desktopFile}/share/applications/system-syzygy.desktop $out/share/applications/system-syzygy.desktop @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Plus; maintainers = [ lib.maintainers.marius851000 ]; }; -} +}) diff --git a/pkgs/by-name/sy/system76-firmware/package.nix b/pkgs/by-name/sy/system76-firmware/package.nix index 844ea7d7d4e5..00f1b368fafe 100644 --- a/pkgs/by-name/sy/system76-firmware/package.nix +++ b/pkgs/by-name/sy/system76-firmware/package.nix @@ -9,7 +9,7 @@ efibootmgr, makeWrapper, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "system76-firmware"; # Check Makefile when updating, make sure postInstall matches make install version = "1.0.74"; @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "pop-os"; repo = "system76-firmware"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-lgBEzOxTmVAksZ7yo7dIUzP6Z8KKmUpEIDEpU7CL69Y="; }; @@ -56,4 +56,4 @@ rustPlatform.buildRustPackage rec { "x86_64-linux" ]; }; -} +}) diff --git a/pkgs/by-name/sy/system76-keyboard-configurator/package.nix b/pkgs/by-name/sy/system76-keyboard-configurator/package.nix index c0737d3d1422..905ed066b700 100644 --- a/pkgs/by-name/sy/system76-keyboard-configurator/package.nix +++ b/pkgs/by-name/sy/system76-keyboard-configurator/package.nix @@ -16,14 +16,14 @@ # your system needs a PolicyKit authentication agent running for the # configurator to work. -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "system76-keyboard-configurator"; version = "1.3.12"; src = fetchFromGitHub { owner = "pop-os"; repo = "keyboard-configurator"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-rnKWzct2k/ObjBnf90uwMar7fjZAUvQ2RPPZVZQsWEA="; }; @@ -57,4 +57,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ mirrexagon ]; platforms = with lib.platforms; linux ++ darwin; }; -} +}) diff --git a/pkgs/by-name/sy/systemd-credsubst/package.nix b/pkgs/by-name/sy/systemd-credsubst/package.nix index 864a5bf9a72a..d32bf36f0c4f 100644 --- a/pkgs/by-name/sy/systemd-credsubst/package.nix +++ b/pkgs/by-name/sy/systemd-credsubst/package.nix @@ -3,13 +3,13 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "systemd-credsubst"; version = "0.1.0"; src = fetchFromGitHub { owner = "yaxitech"; repo = "systemd-credsubst"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-3KbO93OWJuiV8oYLSlqaj0i2x/2GwGxfQ7QwwSrfb1Y="; }; cargoHash = "sha256-B2TxFgq/8z0KyL2soFwz/OqFVOVMNP7bamOXg0MuSK8="; @@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "systemd-credsubst"; maintainers = [ lib.maintainers.veehaitch ]; }; -} +}) diff --git a/pkgs/by-name/sy/systeroid/package.nix b/pkgs/by-name/sy/systeroid/package.nix index 7c80808ac652..831dc819d5b5 100644 --- a/pkgs/by-name/sy/systeroid/package.nix +++ b/pkgs/by-name/sy/systeroid/package.nix @@ -6,14 +6,14 @@ libxcb, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "systeroid"; version = "0.4.6"; src = fetchFromGitHub { owner = "orhun"; repo = "systeroid"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-Ip5zFyCMtTwfgY/XoHPOJq7VGCjZWVAgnjf6QsTG9go="; }; @@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "More powerful alternative to sysctl(8) with a terminal user interface"; homepage = "https://github.com/orhun/systeroid"; - changelog = "https://github.com/orhun/systeroid/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/orhun/systeroid/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { matthiasbeyer ]; }; -} +}) diff --git a/pkgs/by-name/sz/szyszka/package.nix b/pkgs/by-name/sz/szyszka/package.nix index 022a81b0c39e..ed5997a97a7f 100644 --- a/pkgs/by-name/sz/szyszka/package.nix +++ b/pkgs/by-name/sz/szyszka/package.nix @@ -12,14 +12,14 @@ wrapGAppsHook4, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "szyszka"; version = "3.0.0"; src = fetchFromGitHub { owner = "qarmin"; repo = "szyszka"; - rev = version; + rev = finalAttrs.version; hash = "sha256-LkXGKDFKaY+mg53ZEO4h2br/4eRle/QbSQJTVEMpAoY="; }; @@ -58,4 +58,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "szyszka"; }; -} +}) diff --git a/pkgs/by-name/ta/tab-rs/package.nix b/pkgs/by-name/ta/tab-rs/package.nix index 7378edad8b84..e6e612ac501a 100644 --- a/pkgs/by-name/ta/tab-rs/package.nix +++ b/pkgs/by-name/ta/tab-rs/package.nix @@ -5,14 +5,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tab-rs"; version = "0.5.7"; src = fetchFromGitHub { owner = "austinjones"; repo = "tab-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "1crj0caimin667f9kz34c0sm77892dmqaf1kxryqakqm75az5wfr"; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "tab"; broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); # Added 2023-11-13 }; -} +}) diff --git a/pkgs/by-name/ta/tabiew/package.nix b/pkgs/by-name/ta/tabiew/package.nix index e5ee9a4b0540..606f20e632a9 100644 --- a/pkgs/by-name/ta/tabiew/package.nix +++ b/pkgs/by-name/ta/tabiew/package.nix @@ -5,14 +5,14 @@ installShellFiles, perl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tabiew"; version = "0.12.0"; src = fetchFromGitHub { owner = "shshemi"; repo = "tabiew"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-OCfxgOXTVizeYJyCk5I/Fb/iDdjtcTeieWx8kWzGb2I="; }; @@ -42,10 +42,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Lightweight, terminal-based application to view and query delimiter separated value formatted documents, such as CSV and TSV files"; homepage = "https://github.com/shshemi/tabiew"; - changelog = "https://github.com/shshemi/tabiew/releases/tag/v${version}"; + changelog = "https://github.com/shshemi/tabiew/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "tw"; maintainers = with lib.maintainers; [ anas ]; platforms = with lib.platforms; unix ++ windows; }; -} +}) diff --git a/pkgs/by-name/ta/tagref/package.nix b/pkgs/by-name/ta/tagref/package.nix index f60ba7aa0dfe..02b0e8437d2f 100644 --- a/pkgs/by-name/ta/tagref/package.nix +++ b/pkgs/by-name/ta/tagref/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tagref"; version = "1.10.0"; src = fetchFromGitHub { owner = "stepchowfun"; repo = "tagref"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-ANQxW5Qznu2JbiazFElB1sxpX4BwPgk6SVGgYpJ6DUw="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; mainProgram = "tagref"; }; -} +}) diff --git a/pkgs/by-name/ta/tangara-cli/package.nix b/pkgs/by-name/ta/tangara-cli/package.nix index d48e0d13f3ac..16f1ae629d35 100644 --- a/pkgs/by-name/ta/tangara-cli/package.nix +++ b/pkgs/by-name/ta/tangara-cli/package.nix @@ -7,14 +7,14 @@ udev, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tangara-cli"; version = "0.4.3"; src = fetchFromGitHub { owner = "haileys"; repo = "tangara-companion"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-pTE+xlXWIOOt1oiKosnbXTCLYoAqP3CfXA283a//Ds0="; }; @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ stevestreza ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ta/tangara-companion/package.nix b/pkgs/by-name/ta/tangara-companion/package.nix index 0d4c150c8fc3..dcd117a1bc65 100644 --- a/pkgs/by-name/ta/tangara-companion/package.nix +++ b/pkgs/by-name/ta/tangara-companion/package.nix @@ -16,14 +16,14 @@ udev, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tangara-companion"; version = "0.5.2"; src = fetchFromGitHub { owner = "haileys"; repo = "tangara-companion"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-x/xB+itr1GVcaTEre3u6Lchg9VcSzWiNyWVGv5Aczgw="; }; @@ -49,9 +49,9 @@ rustPlatform.buildRustPackage rec { (makeDesktopItem { name = "tangara-companion"; desktopName = "Tangara Companion"; - comment = meta.description; + comment = finalAttrs.meta.description; type = "Application"; - exec = meta.mainProgram; + exec = finalAttrs.meta.mainProgram; terminal = false; categories = [ "Utility" @@ -74,4 +74,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ benpye ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ta/tarmac/package.nix b/pkgs/by-name/ta/tarmac/package.nix index ea9d6bf364ac..32f2cf00fb3f 100644 --- a/pkgs/by-name/ta/tarmac/package.nix +++ b/pkgs/by-name/ta/tarmac/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tarmac"; version = "0.8.2"; src = fetchFromGitHub { owner = "Roblox"; repo = "tarmac"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-WBkdC5YzZPtqQ9khxmvSFBHhZzfjICWkFcdi1PNsj5g="; }; @@ -31,9 +31,9 @@ rustPlatform.buildRustPackage rec { It helps enable hermetic place builds when used with tools like Rojo. ''; homepage = "https://github.com/Roblox/tarmac"; - downloadPage = "https://github.com/Roblox/tarmac/releases/tag/v${version}"; - changelog = "https://github.com/Roblox/tarmac/raw/v${version}/CHANGELOG.md"; + downloadPage = "https://github.com/Roblox/tarmac/releases/tag/v${finalAttrs.version}"; + changelog = "https://github.com/Roblox/tarmac/raw/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ta/tarssh/package.nix b/pkgs/by-name/ta/tarssh/package.nix index eff809715a46..883077cf6167 100644 --- a/pkgs/by-name/ta/tarssh/package.nix +++ b/pkgs/by-name/ta/tarssh/package.nix @@ -4,12 +4,12 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tarssh"; version = "0.7.0"; src = fetchFromGitHub { - rev = "v${version}"; + rev = "v${finalAttrs.version}"; owner = "Freaky"; repo = "tarssh"; sha256 = "sha256-AoKc8VF6rqYIsijIfgvevwu+6+suOO7XQCXXgAPNgLk="; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; mainProgram = "tarssh"; }; -} +}) diff --git a/pkgs/by-name/ta/taschenrechner/package.nix b/pkgs/by-name/ta/taschenrechner/package.nix index 773c90feddfb..d98568807bba 100644 --- a/pkgs/by-name/ta/taschenrechner/package.nix +++ b/pkgs/by-name/ta/taschenrechner/package.nix @@ -4,7 +4,7 @@ fetchFromGitLab, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "taschenrechner"; version = "2.0.0"; @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec { domain = "gitlab.fem-net.de"; owner = "mabl"; repo = "taschenrechner"; - rev = version; + rev = finalAttrs.version; hash = "sha256-ZkyZpCOSo30XEjfh6bLiTLQs/efSFtwdlpIu9bO5Sdc="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ netali ]; mainProgram = "taschenrechner"; }; -} +}) diff --git a/pkgs/by-name/ta/task-keeper/package.nix b/pkgs/by-name/ta/task-keeper/package.nix index 75dd0646e308..dcc01b1cc75e 100644 --- a/pkgs/by-name/ta/task-keeper/package.nix +++ b/pkgs/by-name/ta/task-keeper/package.nix @@ -6,14 +6,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "task-keeper"; version = "0.30.1"; src = fetchFromGitHub { owner = "linux-china"; repo = "task-keeper"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-/ZmwCvoYdX733c5QkUE0KuUdHeibJkXD5wNHR7Cr7aU="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ tennox ]; mainProgram = "tk"; }; -} +}) diff --git a/pkgs/by-name/ta/taskchampion-sync-server/package.nix b/pkgs/by-name/ta/taskchampion-sync-server/package.nix index e6bb43f28ab2..5a1c96a8b69f 100644 --- a/pkgs/by-name/ta/taskchampion-sync-server/package.nix +++ b/pkgs/by-name/ta/taskchampion-sync-server/package.nix @@ -5,13 +5,13 @@ rustPlatform, stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "taskchampion-sync-server"; version = "0.7.1"; src = fetchFromGitHub { owner = "GothenburgBitFactory"; repo = "taskchampion-sync-server"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ywBmVid70ZKUkTwxORrwXPV0zur0RdHToTLTx9ynjqU="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ mlaradji ]; mainProgram = "taskchampion-sync-server"; }; -} +}) diff --git a/pkgs/by-name/ta/tasks/package.nix b/pkgs/by-name/ta/tasks/package.nix index e71274ff032f..9605b7ad2df6 100644 --- a/pkgs/by-name/ta/tasks/package.nix +++ b/pkgs/by-name/ta/tasks/package.nix @@ -11,14 +11,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tasks"; version = "0.2.0"; src = fetchFromGitHub { owner = "cosmic-utils"; repo = "tasks"; - tag = version; + tag = finalAttrs.version; hash = "sha256-R8wXIw9Gn4uyLoXxyjp/bcK8vK7NkG/chcHe8LtTvo8="; }; @@ -52,7 +52,7 @@ rustPlatform.buildRustPackage rec { }; meta = { - changelog = "https://github.com/cosmic-utils/tasks/releases/tag/${version}"; + changelog = "https://github.com/cosmic-utils/tasks/releases/tag/${finalAttrs.version}"; description = "Simple task management application for the COSMIC desktop"; homepage = "https://github.com/cosmic-utils/tasks"; license = lib.licenses.gpl3Only; @@ -63,4 +63,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "tasks"; }; -} +}) diff --git a/pkgs/by-name/ta/taskwarrior-tui/package.nix b/pkgs/by-name/ta/taskwarrior-tui/package.nix index fae09705d0df..f14d5066952b 100644 --- a/pkgs/by-name/ta/taskwarrior-tui/package.nix +++ b/pkgs/by-name/ta/taskwarrior-tui/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "taskwarrior-tui"; version = "0.26.5"; src = fetchFromGitHub { owner = "kdheepak"; repo = "taskwarrior-tui"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-mdkGRxe9d92WXBCLhBUWNALS4WwjoeYgZop2frZwNN0="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ matthiasbeyer ]; mainProgram = "taskwarrior-tui"; }; -} +}) diff --git a/pkgs/by-name/te/tealdeer/package.nix b/pkgs/by-name/te/tealdeer/package.nix index d3efd5775369..d59503e7d495 100644 --- a/pkgs/by-name/te/tealdeer/package.nix +++ b/pkgs/by-name/te/tealdeer/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tealdeer"; version = "1.8.1"; src = fetchFromGitHub { owner = "tealdeer-rs"; repo = "tealdeer"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-QxkFpcEFLn98LvGDQ/PEovzzHTfNiKFQfGaHl/w5aLQ="; }; @@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Very fast implementation of tldr in Rust"; homepage = "https://github.com/tealdeer-rs/tealdeer"; - changelog = "https://github.com/tealdeer-rs/tealdeer/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/tealdeer-rs/tealdeer/blob/v${finalAttrs.version}/CHANGELOG.md"; maintainers = with lib.maintainers; [ davidak newam @@ -48,4 +48,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "tldr"; }; -} +}) diff --git a/pkgs/by-name/te/tectonic-unwrapped/package.nix b/pkgs/by-name/te/tectonic-unwrapped/package.nix index fbb0e022b21b..ab4800a389fd 100644 --- a/pkgs/by-name/te/tectonic-unwrapped/package.nix +++ b/pkgs/by-name/te/tectonic-unwrapped/package.nix @@ -29,14 +29,14 @@ let in -buildRustPackage rec { +buildRustPackage (finalAttrs: { pname = "tectonic"; version = "0.15.0"; src = fetchFromGitHub { owner = "tectonic-typesetting"; repo = "tectonic"; - rev = "tectonic@${version}"; + rev = "tectonic@${finalAttrs.version}"; sha256 = "sha256-dZnUu0g86WJIIvwMgdmwb6oYqItxoYrGQTFNX7I61Bs="; }; @@ -88,7 +88,7 @@ buildRustPackage rec { meta = { description = "Modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive"; homepage = "https://tectonic-typesetting.github.io/"; - changelog = "https://github.com/tectonic-typesetting/tectonic/blob/tectonic@${version}/CHANGELOG.md"; + changelog = "https://github.com/tectonic-typesetting/tectonic/blob/tectonic@${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit ]; mainProgram = "tectonic"; maintainers = with lib.maintainers; [ @@ -97,4 +97,4 @@ buildRustPackage rec { bryango ]; }; -} +}) diff --git a/pkgs/by-name/te/teehee/package.nix b/pkgs/by-name/te/teehee/package.nix index aa0b8be6c238..3442c8f0c498 100644 --- a/pkgs/by-name/te/teehee/package.nix +++ b/pkgs/by-name/te/teehee/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "teehee"; version = "0.2.8"; src = fetchFromGitHub { owner = "Gskartwii"; repo = "teehee"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-yTterXAev6eOnUe1/MJV8s8dUYJcXHDKVJ6T0G/JHzI="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Modal terminal hex editor"; homepage = "https://github.com/Gskartwii/teehee"; - changelog = "https://github.com/Gskartwii/teehee/releases/tag/${src.rev}"; + changelog = "https://github.com/Gskartwii/teehee/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.asl20; maintainers = [ ]; mainProgram = "teehee"; }; -} +}) diff --git a/pkgs/by-name/te/teip/package.nix b/pkgs/by-name/te/teip/package.nix index 9a08eba9d865..a6b39783ca59 100644 --- a/pkgs/by-name/te/teip/package.nix +++ b/pkgs/by-name/te/teip/package.nix @@ -7,14 +7,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "teip"; version = "2.3.2"; src = fetchFromGitHub { owner = "greymd"; repo = "teip"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Lr4nlAM2mEKwF3HXso/6FQEKoQK43xxLMgOU7j7orYg="; }; @@ -41,8 +41,8 @@ rustPlatform.buildRustPackage rec { description = "Tool to bypass a partial range of standard input to any command"; mainProgram = "teip"; homepage = "https://github.com/greymd/teip"; - changelog = "https://github.com/greymd/teip/releases/tag/v${version}"; + changelog = "https://github.com/greymd/teip/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/te/tenki/package.nix b/pkgs/by-name/te/tenki/package.nix index 9b717667efc9..5e7267a9e9e2 100644 --- a/pkgs/by-name/te/tenki/package.nix +++ b/pkgs/by-name/te/tenki/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tenki"; version = "1.11.0"; src = fetchFromGitHub { owner = "ckaznable"; repo = "tenki"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-jd7D0iC3+s3w6uG0WqlvL9F4xQL+cQzsUvAIOc7ORgw="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ iynaix ]; mainProgram = "tenki"; }; -} +}) diff --git a/pkgs/by-name/te/tera-cli/package.nix b/pkgs/by-name/te/tera-cli/package.nix index 3bf1de65b7e6..15c5270f950f 100644 --- a/pkgs/by-name/te/tera-cli/package.nix +++ b/pkgs/by-name/te/tera-cli/package.nix @@ -4,14 +4,14 @@ nix-update-script, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tera-cli"; version = "0.5.0"; src = fetchFromGitHub { owner = "chevdor"; repo = "tera-cli"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-TN3zkxZC0Y9lev2wmvzwyLU+t4rNwut/dQILIA7+qbw="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "tera"; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/te/termscp/package.nix b/pkgs/by-name/te/termscp/package.nix index 73772792c00a..f82092e3c5fc 100644 --- a/pkgs/by-name/te/termscp/package.nix +++ b/pkgs/by-name/te/termscp/package.nix @@ -11,14 +11,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "termscp"; version = "0.19.1"; src = fetchFromGitHub { owner = "veeso"; repo = "termscp"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-/smeK7qCw1EgADc7bgC1xUep3hPj7gOddanbaTjbGgs="; }; @@ -62,7 +62,7 @@ rustPlatform.buildRustPackage rec { }; meta = { - changelog = "https://github.com/veeso/termscp/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/veeso/termscp/blob/v${finalAttrs.version}/CHANGELOG.md"; description = "Feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB"; homepage = "https://github.com/veeso/termscp"; license = lib.licenses.mit; @@ -73,4 +73,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = with lib.platforms; linux ++ darwin; }; -} +}) diff --git a/pkgs/by-name/te/termsnap/package.nix b/pkgs/by-name/te/termsnap/package.nix index 95a8fad473ae..a7b00e13a5c5 100644 --- a/pkgs/by-name/te/termsnap/package.nix +++ b/pkgs/by-name/te/termsnap/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "termsnap"; version = "0.4.0"; src = fetchFromGitHub { owner = "tomcur"; repo = "termsnap"; - rev = "termsnap-v${version}"; + rev = "termsnap-v${finalAttrs.version}"; hash = "sha256-bYqhrMmgkEAiA1eiDbIOwH/PktwtIfxmYJRwDrFsNIc="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ yash-garg ]; mainProgram = "termsnap"; }; -} +}) diff --git a/pkgs/by-name/te/termusic/package.nix b/pkgs/by-name/te/termusic/package.nix index 210b1880874f..1157d668c9e6 100644 --- a/pkgs/by-name/te/termusic/package.nix +++ b/pkgs/by-name/te/termusic/package.nix @@ -16,14 +16,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "termusic"; version = "0.12.1"; src = fetchFromGitHub { owner = "tramhao"; repo = "termusic"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-e+D7ykqGX2UprakCZc9Gmaxct+b19DMfTRMkeIANXqg="; }; @@ -63,4 +63,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "termusic"; }; -} +}) diff --git a/pkgs/by-name/te/tex-fmt/package.nix b/pkgs/by-name/te/tex-fmt/package.nix index c10424acba80..e72f4f7a17f4 100644 --- a/pkgs/by-name/te/tex-fmt/package.nix +++ b/pkgs/by-name/te/tex-fmt/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tex-fmt"; version = "0.5.6"; src = fetchFromGitHub { owner = "WGUNDERWOOD"; repo = "tex-fmt"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-xVB4y80BFa9MRBsMYMSQmaRSNJVoeCiYW2UTJ+UpBYQ="; }; @@ -31,9 +31,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "LaTeX formatter written in Rust"; homepage = "https://github.com/WGUNDERWOOD/tex-fmt"; - changelog = "https://github.com/WGUNDERWOOD/tex-fmt/releases/tag/v${version}"; + changelog = "https://github.com/WGUNDERWOOD/tex-fmt/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "tex-fmt"; maintainers = with lib.maintainers; [ wgunderwood ]; }; -} +}) diff --git a/pkgs/by-name/te/texture-synthesis/package.nix b/pkgs/by-name/te/texture-synthesis/package.nix index 27567e548968..184ff05330be 100644 --- a/pkgs/by-name/te/texture-synthesis/package.nix +++ b/pkgs/by-name/te/texture-synthesis/package.nix @@ -5,14 +5,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "texture-synthesis"; version = "0.8.2"; src = fetchFromGitHub { owner = "embarkstudios"; repo = "texture-synthesis"; - rev = version; + rev = finalAttrs.version; hash = "sha256-BJa6T+qlbn7uABKIEhFhwLrw5sG/9al4L/2sbllfPFg="; }; @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "texture-synthesis"; }; -} +}) diff --git a/pkgs/by-name/th/the-way/package.nix b/pkgs/by-name/th/the-way/package.nix index 1fc9a0b42d75..2ca3a69a1a76 100644 --- a/pkgs/by-name/th/the-way/package.nix +++ b/pkgs/by-name/th/the-way/package.nix @@ -6,14 +6,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "the-way"; version = "0.20.3"; src = fetchFromGitHub { owner = "out-of-cheese-error"; repo = "the-way"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-zsfk5APxbnssMKud9xGc70N+57LSc+vk6sSb2XzFUyA="; }; @@ -36,11 +36,11 @@ rustPlatform.buildRustPackage rec { description = "Terminal code snippets manager"; mainProgram = "the-way"; homepage = "https://github.com/out-of-cheese-error/the-way"; - changelog = "https://github.com/out-of-cheese-error/the-way/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/out-of-cheese-error/the-way/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit ]; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ numkem ]; }; -} +}) diff --git a/pkgs/by-name/th/theattyr/package.nix b/pkgs/by-name/th/theattyr/package.nix index 5695a30667e2..9da1a60a540e 100644 --- a/pkgs/by-name/th/theattyr/package.nix +++ b/pkgs/by-name/th/theattyr/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "theattyr"; version = "0.1.10"; src = fetchFromGitHub { owner = "orhun"; repo = "theattyr"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-gqgoG5JwGecm8MEqH36BvJyLuh6nDao1d9ydX1AlbgU="; }; @@ -23,9 +23,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal theater for playing VT100 art and animations"; homepage = "https://github.com/orhun/theattyr"; - changelog = "https://github.com/orhun/theattyr/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/orhun/theattyr/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ a-kenji ]; mainProgram = "theattyr"; }; -} +}) diff --git a/pkgs/by-name/th/thin-provisioning-tools/package.nix b/pkgs/by-name/th/thin-provisioning-tools/package.nix index 74dcddaf0b80..629bf3f4eeb9 100644 --- a/pkgs/by-name/th/thin-provisioning-tools/package.nix +++ b/pkgs/by-name/th/thin-provisioning-tools/package.nix @@ -7,14 +7,14 @@ fetchFromGitHub, nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "thin-provisioning-tools"; version = "1.3.1"; src = fetchFromGitHub { owner = "jthornber"; repo = "thin-provisioning-tools"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-hOwW2zda/KdA22A+94A5r2LIezQTZ71eewhkc72u5kI="; }; @@ -73,4 +73,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/th/thokr/package.nix b/pkgs/by-name/th/thokr/package.nix index 31c3d13259d8..0b95ea03803e 100644 --- a/pkgs/by-name/th/thokr/package.nix +++ b/pkgs/by-name/th/thokr/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "thokr"; version = "0.4.1"; src = fetchFromGitHub { owner = "thatvegandev"; repo = "thokr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "0aryfx9qlnjdq3iq2d823c82fhkafvibmbz58g48b8ah5x5fv3ir"; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "thokr"; }; -} +}) diff --git a/pkgs/by-name/th/thud/package.nix b/pkgs/by-name/th/thud/package.nix index 3ece23c7eac2..b33f571b6be9 100644 --- a/pkgs/by-name/th/thud/package.nix +++ b/pkgs/by-name/th/thud/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "thud"; version = "0.3.1"; src = fetchFromGitHub { owner = "donovanglover"; repo = "thud"; - rev = version; + rev = finalAttrs.version; hash = "sha256-BmrJaZ1IKXjx4/QkBDZyXvTTaalfEOKsBp9ZCW8px7I="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ donovanglover ]; mainProgram = "thud"; }; -} +}) diff --git a/pkgs/by-name/th/thumbs/package.nix b/pkgs/by-name/th/thumbs/package.nix index 95e01a9984ec..66cd19eecb34 100644 --- a/pkgs/by-name/th/thumbs/package.nix +++ b/pkgs/by-name/th/thumbs/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "thumbs"; version = "0.8.0"; src = fetchFromGitHub { owner = "fcsonline"; repo = "tmux-thumbs"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-XMz1ZOTz2q1Dt4QdxG83re9PIsgvxTTkytESkgKxhGM="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ ghostbuster91 ]; }; -} +}) diff --git a/pkgs/by-name/ti/tickrs/package.nix b/pkgs/by-name/ti/tickrs/package.nix index 700b49b1c464..c4ad90e964a4 100644 --- a/pkgs/by-name/ti/tickrs/package.nix +++ b/pkgs/by-name/ti/tickrs/package.nix @@ -7,14 +7,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tickrs"; version = "0.15.0"; src = fetchFromGitHub { owner = "tarkah"; repo = "tickrs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-JqX+PEob99O1VRYbw7RH6KGA1CXYyepkM9Uc5jkWlrM="; }; @@ -36,9 +36,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Realtime ticker data in your terminal"; homepage = "https://github.com/tarkah/tickrs"; - changelog = "https://github.com/tarkah/tickrs/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/tarkah/tickrs/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "tickrs"; }; -} +}) diff --git a/pkgs/by-name/ti/tiny-dfr/package.nix b/pkgs/by-name/ti/tiny-dfr/package.nix index 317e5afb74dd..0d5c65ef41e1 100644 --- a/pkgs/by-name/ti/tiny-dfr/package.nix +++ b/pkgs/by-name/ti/tiny-dfr/package.nix @@ -14,14 +14,14 @@ udevCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tiny-dfr"; version = "0.3.5"; src = fetchFromGitHub { owner = "AsahiLinux"; repo = "tiny-dfr"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-G4OeYZH3VF6fKWxHYLTmwzQmQ4JupgYNH/6aJSgINvg="; }; @@ -66,4 +66,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.qyliss ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ti/tiny/package.nix b/pkgs/by-name/ti/tiny/package.nix index b799d6c24924..c4f94db904f0 100644 --- a/pkgs/by-name/ti/tiny/package.nix +++ b/pkgs/by-name/ti/tiny/package.nix @@ -12,14 +12,14 @@ notificationSupport ? stdenv.hostPlatform.isLinux, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tiny"; version = "0.13.0"; src = fetchFromGitHub { owner = "osa1"; repo = "tiny"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-phjEae2SS3zkSpuhhE4iscUM8ij8DT47YLIMATMG/+Q="; }; @@ -33,9 +33,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Console IRC client"; homepage = "https://github.com/osa1/tiny"; - changelog = "https://github.com/osa1/tiny/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/osa1/tiny/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "tiny"; }; -} +}) diff --git a/pkgs/by-name/tl/tlafmt/package.nix b/pkgs/by-name/tl/tlafmt/package.nix index cf839f40cc13..7d0003f7ace9 100644 --- a/pkgs/by-name/tl/tlafmt/package.nix +++ b/pkgs/by-name/tl/tlafmt/package.nix @@ -3,14 +3,14 @@ lib, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tlafmt"; version = "0.4.1"; src = fetchFromGitHub { owner = "domodwyer"; repo = "tlafmt"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-79tCH4O7VFqiYloCAGVw7JJ5WvsFnjjKdBNmMPar+sk="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ ciflire ]; mainProgram = "tlafmt"; }; -} +}) diff --git a/pkgs/by-name/tl/tlrc/package.nix b/pkgs/by-name/tl/tlrc/package.nix index feedfe12411f..47306e571d39 100644 --- a/pkgs/by-name/tl/tlrc/package.nix +++ b/pkgs/by-name/tl/tlrc/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tlrc"; version = "1.12.0"; src = fetchFromGitHub { owner = "tldr-pages"; repo = "tlrc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Q0vRrCNpbG6LihCi9+uI25PnpFuPfoY2MZmyB/IN/SQ="; }; @@ -28,9 +28,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Official tldr client written in Rust"; homepage = "https://github.com/tldr-pages/tlrc"; - changelog = "https://github.com/tldr-pages/tlrc/releases/tag/v${version}"; + changelog = "https://github.com/tldr-pages/tlrc/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; mainProgram = "tldr"; maintainers = with lib.maintainers; [ acuteenvy ]; }; -} +}) diff --git a/pkgs/by-name/to/toast/package.nix b/pkgs/by-name/to/toast/package.nix index 0eb5b8965e1f..78f26f610511 100644 --- a/pkgs/by-name/to/toast/package.nix +++ b/pkgs/by-name/to/toast/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "toast"; version = "0.47.7"; src = fetchFromGitHub { owner = "stepchowfun"; repo = "toast"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-vp70jv4F0VKd/OZHVRDcIJlKLwK9w+cV28lh0C7ESqg="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ dit7ya ]; }; -} +}) diff --git a/pkgs/by-name/to/toastify/package.nix b/pkgs/by-name/to/toastify/package.nix index 1141f33faeba..2e09891d5442 100644 --- a/pkgs/by-name/to/toastify/package.nix +++ b/pkgs/by-name/to/toastify/package.nix @@ -5,14 +5,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "toastify"; version = "0.5.4"; src = fetchFromGitHub { owner = "hoodie"; repo = "toastify"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-hSBh1LTfe3rQDPUryo2Swdf/yLYrOQ/Fg3Dz7ZqV3gw="; }; @@ -25,9 +25,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Commandline tool that shows desktop notifications using notify-rust"; homepage = "https://github.com/hoodie/toastify"; - changelog = "https://github.com/hoodie/toastify/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/hoodie/toastify/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ colemickens ]; mainProgram = "toastify"; }; -} +}) diff --git a/pkgs/by-name/to/todo/package.nix b/pkgs/by-name/to/todo/package.nix index 7cdcc1de2e56..0ea21f0bf098 100644 --- a/pkgs/by-name/to/todo/package.nix +++ b/pkgs/by-name/to/todo/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "todo"; version = "2.5"; src = fetchFromGitHub { owner = "sioodmy"; repo = "todo"; - rev = version; + rev = finalAttrs.version; sha256 = "oyRdXvVnCfdFM8lI1eCDHHYNWcJc0Qg0TKxQXUqNo40="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ sioodmy ]; mainProgram = "todo"; }; -} +}) diff --git a/pkgs/by-name/to/tokio-console/package.nix b/pkgs/by-name/to/tokio-console/package.nix index f57ef2d3f986..c6de5a0b2d8a 100644 --- a/pkgs/by-name/to/tokio-console/package.nix +++ b/pkgs/by-name/to/tokio-console/package.nix @@ -7,14 +7,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tokio-console"; version = "0.1.14"; src = fetchFromGitHub { owner = "tokio-rs"; repo = "console"; - rev = "tokio-console-v${version}"; + rev = "tokio-console-v${finalAttrs.version}"; hash = "sha256-mZCYdz0AQhCBqbvcjXNp2bXSKf7tJ/01fz2W4wpjVX8="; }; @@ -51,4 +51,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ max-niederman ]; }; -} +}) diff --git a/pkgs/by-name/to/tomat/package.nix b/pkgs/by-name/to/tomat/package.nix index a32396201e4a..a6f40695d245 100644 --- a/pkgs/by-name/to/tomat/package.nix +++ b/pkgs/by-name/to/tomat/package.nix @@ -7,14 +7,14 @@ alsa-lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tomat"; version = "2.9.0"; src = fetchFromGitHub { owner = "jolars"; repo = "tomat"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-8/AOnwCJFXScnyyg2CUhIxzcCOxeWyVlEpae9sWhhts="; }; @@ -48,10 +48,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Pomodoro timer for status bars"; homepage = "https://github.com/jolars/tomat"; - changelog = "https://github.com/jolars/tomat/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/jolars/tomat/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jolars ]; mainProgram = "tomat"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/to/tombl/package.nix b/pkgs/by-name/to/tombl/package.nix index d2f54cb6e440..ce64fce8508f 100644 --- a/pkgs/by-name/to/tombl/package.nix +++ b/pkgs/by-name/to/tombl/package.nix @@ -5,14 +5,14 @@ nix-update-script, versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tombl"; version = "0.2.3"; src = fetchFromGitHub { owner = "snyball"; repo = "tombl"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-XHvAgJ8/+ZkBxwZpMgaDchr0hBa1FXAd/j1+HH9N6qw="; }; @@ -26,9 +26,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Easily query TOML files from bash"; homepage = "https://github.com/snyball/tombl"; - changelog = "https://github.com/snyball/tombl/releases/tag/v${version}"; + changelog = "https://github.com/snyball/tombl/releases/tag/v${finalAttrs.version}"; mainProgram = "tombl"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ oskardotglobal ]; }; -} +}) diff --git a/pkgs/by-name/to/toml-cli/package.nix b/pkgs/by-name/to/toml-cli/package.nix index f1f51f9078ce..b51bf83cb5ba 100644 --- a/pkgs/by-name/to/toml-cli/package.nix +++ b/pkgs/by-name/to/toml-cli/package.nix @@ -6,12 +6,12 @@ toml-cli, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "toml-cli"; version = "0.2.3"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; pname = "toml-cli"; hash = "sha256-V/yMk/Zt3yvEx10nzRhY/7GYnQninGg9h63NSaQChSA="; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ phlip9 ]; mainProgram = "toml"; }; -} +}) diff --git a/pkgs/by-name/to/topgrade/package.nix b/pkgs/by-name/to/topgrade/package.nix index 96f229f1885c..3390de5d4c10 100644 --- a/pkgs/by-name/to/topgrade/package.nix +++ b/pkgs/by-name/to/topgrade/package.nix @@ -6,14 +6,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "topgrade"; version = "16.9.0"; src = fetchFromGitHub { owner = "topgrade-rs"; repo = "topgrade"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-jWjyW/CYrPt8gEgCa1T56+5sBtaNpnV6RZz30S6nYIs="; }; @@ -43,7 +43,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Upgrade all the things"; homepage = "https://github.com/topgrade-rs/topgrade"; - changelog = "https://github.com/topgrade-rs/topgrade/releases/tag/v${version}"; + changelog = "https://github.com/topgrade-rs/topgrade/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ SuperSandro2000 @@ -51,4 +51,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "topgrade"; }; -} +}) diff --git a/pkgs/by-name/to/tox-node/package.nix b/pkgs/by-name/to/tox-node/package.nix index e40546b45086..23e54726ee64 100644 --- a/pkgs/by-name/to/tox-node/package.nix +++ b/pkgs/by-name/to/tox-node/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tox-node"; version = "0.2.0"; src = fetchFromGitHub { owner = "tox-rs"; repo = "tox"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-3ZRpri3WxwHjMq88TxRJAaTXMui8N1uLek+q8g5PGD4="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "tox-node"; }; -} +}) diff --git a/pkgs/by-name/tp/tp-auto-kbbl/package.nix b/pkgs/by-name/tp/tp-auto-kbbl/package.nix index 0a506106d935..de4211dfa861 100644 --- a/pkgs/by-name/tp/tp-auto-kbbl/package.nix +++ b/pkgs/by-name/tp/tp-auto-kbbl/package.nix @@ -8,14 +8,14 @@ libevdev, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tp-auto-kbbl"; version = "0.1.5"; src = fetchFromGitHub { owner = "saibotd"; repo = "tp-auto-kbbl"; - rev = version; + rev = finalAttrs.version; hash = "sha256-fhBCsOjaQH2tRsBjMGiDmZSIkAgEVxxywVp8/0uAaTU="; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "tp-auto-kbbl"; }; -} +}) diff --git a/pkgs/by-name/tp/tpi/package.nix b/pkgs/by-name/tp/tpi/package.nix index a4b3ac4cfda6..12f07cbca6b7 100644 --- a/pkgs/by-name/tp/tpi/package.nix +++ b/pkgs/by-name/tp/tpi/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tpi"; version = "1.0.7"; src = fetchFromGitHub { owner = "turing-machines"; repo = "tpi"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-se5+8Zf+RKtvfkmDDxKiUVp5J+bQ9j9RFedDK/pxCgA="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ WoutSwinkels ]; mainProgram = "tpi"; }; -} +}) diff --git a/pkgs/by-name/tp/tplay/package.nix b/pkgs/by-name/tp/tplay/package.nix index 936064f3410f..3ed6dc7de8d1 100644 --- a/pkgs/by-name/tp/tplay/package.nix +++ b/pkgs/by-name/tp/tplay/package.nix @@ -10,14 +10,14 @@ opencv, makeWrapper, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tplay"; version = "0.6.3"; src = fetchFromGitHub { owner = "maxcurzi"; repo = "tplay"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-JVkezG2bs99IFOTONeZZRljjbi0EhFf+DMxcfiWI4p4="; }; @@ -59,4 +59,4 @@ rustPlatform.buildRustPackage rec { colemickens ]; }; -} +}) diff --git a/pkgs/by-name/tr/tracexec/package.nix b/pkgs/by-name/tr/tracexec/package.nix index 27e43929963f..34b0e5e414d7 100644 --- a/pkgs/by-name/tr/tracexec/package.nix +++ b/pkgs/by-name/tr/tracexec/package.nix @@ -13,7 +13,7 @@ clang, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tracexec"; version = "0.13.1"; @@ -70,7 +70,7 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; meta = { - changelog = "https://github.com/kxxt/tracexec/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/kxxt/tracexec/blob/v${finalAttrs.version}/CHANGELOG.md"; description = "Small utility for tracing execve{,at} and pre-exec behavior"; homepage = "https://github.com/kxxt/tracexec"; license = lib.licenses.gpl2Plus; @@ -81,4 +81,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/tr/tray-tui/package.nix b/pkgs/by-name/tr/tray-tui/package.nix index 6ff0f2709ba4..c6ef0b56d918 100644 --- a/pkgs/by-name/tr/tray-tui/package.nix +++ b/pkgs/by-name/tr/tray-tui/package.nix @@ -6,14 +6,14 @@ installShellFiles, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tray-tui"; version = "0.3.3"; src = fetchFromGitHub { owner = "Levizor"; repo = "tray-tui"; - tag = version; + tag = finalAttrs.version; hash = "sha256-P34tL65vTxqDfc3syOlSw+E/bMaQXNF4gen9rZDWLxg="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ Levizor ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/tr/tre-command/package.nix b/pkgs/by-name/tr/tre-command/package.nix index 1bcab60f729e..f8d5f44d8b36 100644 --- a/pkgs/by-name/tr/tre-command/package.nix +++ b/pkgs/by-name/tr/tre-command/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tre-command"; version = "0.4.0"; src = fetchFromGitHub { owner = "dduan"; repo = "tre"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-JlkONhXMWLzxAf3SYoLkSvXw4bFYBnsCyyj0TUsezwg="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.dduan ]; mainProgram = "tre"; }; -} +}) diff --git a/pkgs/by-name/tr/trinsic-cli/package.nix b/pkgs/by-name/tr/trinsic-cli/package.nix index 99b8fb2b0db8..cfce9e935322 100644 --- a/pkgs/by-name/tr/trinsic-cli/package.nix +++ b/pkgs/by-name/tr/trinsic-cli/package.nix @@ -4,12 +4,12 @@ fetchurl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "trinsic-cli"; version = "1.14.0"; src = fetchurl { - url = "https://github.com/trinsic-id/sdk/releases/download/v${version}/trinsic-cli-vendor-${version}.tar.gz"; + url = "https://github.com/trinsic-id/sdk/releases/download/v${finalAttrs.version}/trinsic-cli-vendor-${finalAttrs.version}.tar.gz"; sha256 = "sha256-lPw55QcGMvY2YRYJGq4WC0fPbKiika4NF55tlb+i6So="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ tmarkovski ]; mainProgram = "trinsic"; }; -} +}) diff --git a/pkgs/by-name/tr/trippy/package.nix b/pkgs/by-name/tr/trippy/package.nix index 785a609655ec..f3603c87b373 100644 --- a/pkgs/by-name/tr/trippy/package.nix +++ b/pkgs/by-name/tr/trippy/package.nix @@ -6,14 +6,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "trippy"; version = "0.13.0"; src = fetchFromGitHub { owner = "fujiapple852"; repo = "trippy"; - rev = version; + rev = finalAttrs.version; hash = "sha256-+WLWtHguDm23VLjZ4aQnyLAnE/uynONj8lsfVMTTuwY="; }; @@ -34,9 +34,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Network diagnostic tool"; homepage = "https://trippy.cli.rs"; - changelog = "https://github.com/fujiapple852/trippy/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/fujiapple852/trippy/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.matthiasbeyer ]; mainProgram = "trip"; }; -} +}) diff --git a/pkgs/by-name/tr/trunk-ng/package.nix b/pkgs/by-name/tr/trunk-ng/package.nix index c34bf7c39980..f552242c07fb 100644 --- a/pkgs/by-name/tr/trunk-ng/package.nix +++ b/pkgs/by-name/tr/trunk-ng/package.nix @@ -8,14 +8,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "trunk-ng"; version = "0.17.16"; src = fetchFromGitHub { owner = "ctron"; repo = "trunk"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-SnE0z9Wa4gtX/ts0vG9pYnnxumILHTSV9/tVYkCHFck="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ ctron ]; license = with lib.licenses; [ asl20 ]; }; -} +}) diff --git a/pkgs/by-name/tr/trunk/package.nix b/pkgs/by-name/tr/trunk/package.nix index 29c76a0a96a9..652e99be37a4 100644 --- a/pkgs/by-name/tr/trunk/package.nix +++ b/pkgs/by-name/tr/trunk/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "trunk"; version = "0.21.14"; src = fetchFromGitHub { owner = "trunk-rs"; repo = "trunk"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-0T8ZkBA1Zf4z2HXYeBwJ+2EGoUpxGrqSb4fS4CnL28A="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ ctron ]; license = with lib.licenses; [ asl20 ]; }; -} +}) diff --git a/pkgs/by-name/tt/ttdl/package.nix b/pkgs/by-name/tt/ttdl/package.nix index e022f493705d..ac9c539514de 100644 --- a/pkgs/by-name/tt/ttdl/package.nix +++ b/pkgs/by-name/tt/ttdl/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ttdl"; version = "4.22.0"; src = fetchFromGitHub { owner = "VladimirMarkelov"; repo = "ttdl"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-7JOeLv4iswVZe0FYpIjMO8p+a4EIoA6n+anT8Imfg1w="; }; @@ -20,9 +20,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI tool to manage todo lists in todo.txt format"; homepage = "https://github.com/VladimirMarkelov/ttdl"; - changelog = "https://github.com/VladimirMarkelov/ttdl/blob/v${version}/changelog"; + changelog = "https://github.com/VladimirMarkelov/ttdl/blob/v${finalAttrs.version}/changelog"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ _3JlOy-PYCCKUi ]; mainProgram = "ttdl"; }; -} +}) diff --git a/pkgs/by-name/tt/ttyper/package.nix b/pkgs/by-name/tt/ttyper/package.nix index 2e607c40b2dc..a35649eca9d5 100644 --- a/pkgs/by-name/tt/ttyper/package.nix +++ b/pkgs/by-name/tt/ttyper/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ttyper"; version = "1.6.0"; src = fetchFromGitHub { owner = "max-niederman"; repo = "ttyper"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-g4OD4Mc3KHN9rrzM+9JvN2xTnSojGQy6yptdGj3zgW4="; }; @@ -20,11 +20,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal-based typing test"; homepage = "https://github.com/max-niederman/ttyper"; - changelog = "https://github.com/max-niederman/ttyper/releases/tag/${src.rev}"; + changelog = "https://github.com/max-niederman/ttyper/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ max-niederman ]; mainProgram = "ttyper"; }; -} +}) diff --git a/pkgs/by-name/tt/ttysvr/package.nix b/pkgs/by-name/tt/ttysvr/package.nix index 1e445ffa6b84..e13bbc909a62 100644 --- a/pkgs/by-name/tt/ttysvr/package.nix +++ b/pkgs/by-name/tt/ttysvr/package.nix @@ -13,14 +13,14 @@ vulkan-headers, vulkan-loader, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ttysvr"; version = "0.3.4"; src = fetchFromGitHub { owner = "cxreiff"; repo = "ttysvr"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-W8IglZVvhFqn0TH1ZBGWERizCxCQ+C4SckYFLCzB3yc="; }; @@ -60,7 +60,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Screen saver for your terminal"; homepage = "https://github.com/cxreiff/ttysvr"; - changelog = "https://github.com/cxreiff/ttysvr/releases/tag/v${version}"; + changelog = "https://github.com/cxreiff/ttysvr/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ asl20 mit @@ -69,4 +69,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "ttysvr"; platforms = with lib.platforms; linux; }; -} +}) diff --git a/pkgs/by-name/tu/tuc/package.nix b/pkgs/by-name/tu/tuc/package.nix index d55528647495..021cf8c57333 100644 --- a/pkgs/by-name/tu/tuc/package.nix +++ b/pkgs/by-name/tu/tuc/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tuc"; version = "1.2.0"; src = fetchFromGitHub { owner = "riquito"; repo = "tuc"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-+QkkwQfp818bKVo1yUkWKLMqbdzRJ+oHpjxB+UFDRsU="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ dit7ya ]; }; -} +}) diff --git a/pkgs/by-name/tu/tuckr/package.nix b/pkgs/by-name/tu/tuckr/package.nix index 4741fbf7eee3..9aeeceed94b0 100644 --- a/pkgs/by-name/tu/tuckr/package.nix +++ b/pkgs/by-name/tu/tuckr/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tuckr"; version = "0.12.0"; src = fetchFromGitHub { owner = "RaphGL"; repo = "Tuckr"; - rev = version; + rev = finalAttrs.version; hash = "sha256-X2/pOzGUGc5FI0fyn6PB+9duMBdoggjvGxssDXKppWU="; }; @@ -22,9 +22,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Super powered replacement for GNU Stow"; homepage = "https://github.com/RaphGL/Tuckr"; - changelog = "https://github.com/RaphGL/Tuckr/releases/tag/${version}"; + changelog = "https://github.com/RaphGL/Tuckr/releases/tag/${finalAttrs.version}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ mimame ]; mainProgram = "tuckr"; }; -} +}) diff --git a/pkgs/by-name/tu/tuicam/package.nix b/pkgs/by-name/tu/tuicam/package.nix index 3f27c01850b6..b9e1c5bc6d18 100644 --- a/pkgs/by-name/tu/tuicam/package.nix +++ b/pkgs/by-name/tu/tuicam/package.nix @@ -9,14 +9,14 @@ clang, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tuicam"; version = "0.0.3"; src = fetchFromGitHub { owner = "hlsxx"; repo = "tuicam"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Ry64sd0OYGqbiVqveU05gsmf1c9kQy2QMN9Z5seMedc="; }; @@ -42,10 +42,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal-based camera with switchable modes"; homepage = "https://github.com/hlsxx/tuicam"; - changelog = "https://github.com/hlsxx/tuicam/releases/tag/v${version}"; + changelog = "https://github.com/hlsxx/tuicam/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ FKouhai ]; platforms = lib.platforms.linux; mainProgram = "tuicam"; }; -} +}) diff --git a/pkgs/by-name/tu/tuliprox/package.nix b/pkgs/by-name/tu/tuliprox/package.nix index 98b049f12be4..450ac443448c 100644 --- a/pkgs/by-name/tu/tuliprox/package.nix +++ b/pkgs/by-name/tu/tuliprox/package.nix @@ -15,14 +15,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tuliprox"; version = "3.2.0"; src = fetchFromGitHub { owner = "euzu"; repo = "tuliprox"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-G+bVKBAxviyJShq2BG4vjMiTzHhoYaiP6FXrSWeTvkU="; }; @@ -57,7 +57,7 @@ rustPlatform.buildRustPackage rec { ''; # Tests don't compile in 3.2.0 - doCheck = lib.versionAtLeast version "3.2.1"; + doCheck = lib.versionAtLeast finalAttrs.version "3.2.1"; checkFlags = [ "--skip=processing::parser::xmltv::tests::normalize" @@ -79,9 +79,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Flexible IPTV playlist processor & proxy in Rust"; homepage = "https://github.com/euzu/tuliprox"; - changelog = "https://github.com/euzu/tuliprox/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/euzu/tuliprox/blob/${finalAttrs.src.tag}/CHANGELOG.md"; mainProgram = "tuliprox"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ nyanloutre ]; }; -} +}) diff --git a/pkgs/by-name/tu/turn-rs/package.nix b/pkgs/by-name/tu/turn-rs/package.nix index f6cac261265e..b9054197be73 100644 --- a/pkgs/by-name/tu/turn-rs/package.nix +++ b/pkgs/by-name/tu/turn-rs/package.nix @@ -7,14 +7,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "turn-rs"; version = "3.4.0"; src = fetchFromGitHub { owner = "mycrl"; repo = "turn-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-BW5dNPkf/JGrf00BI41rEoZRmqftoz+RMGiP6ECVEec="; }; @@ -38,10 +38,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Pure rust implemented turn server"; homepage = "https://github.com/mycrl/turn-rs"; - changelog = "https://github.com/mycrl/turn-rs/releases/tag/v${version}"; + changelog = "https://github.com/mycrl/turn-rs/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; mainProgram = "turn-server"; maintainers = with lib.maintainers; [ bot-wxt1221 ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/tu/turtle-build/package.nix b/pkgs/by-name/tu/turtle-build/package.nix index bee9d784990f..304b21a9d7a9 100644 --- a/pkgs/by-name/tu/turtle-build/package.nix +++ b/pkgs/by-name/tu/turtle-build/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "turtle-build"; version = "0.4.9"; src = fetchFromGitHub { owner = "raviqqe"; repo = "turtle-build"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-sbYDp4r/M6GvCYEshccJ331mVNeN85wwf9TKHiYFv7I="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "turtle"; }; -} +}) diff --git a/pkgs/by-name/tu/tuxmux/package.nix b/pkgs/by-name/tu/tuxmux/package.nix index 4322e2ebc662..d9aa719bdf2e 100644 --- a/pkgs/by-name/tu/tuxmux/package.nix +++ b/pkgs/by-name/tu/tuxmux/package.nix @@ -7,14 +7,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tuxmux"; version = "0.2.3"; src = fetchFromGitHub { owner = "edeneast"; repo = "tuxmux"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-WcHsFKpYexBEg382837NqGgNMTKzVUG3XIER9aa1zK8="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ edeneast ]; mainProgram = "tux"; }; -} +}) diff --git a/pkgs/by-name/tv/tv/package.nix b/pkgs/by-name/tv/tv/package.nix index 91ff260607ae..05e8b3d7a00e 100644 --- a/pkgs/by-name/tv/tv/package.nix +++ b/pkgs/by-name/tv/tv/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tv"; version = "0.7.0"; src = fetchFromGitHub { owner = "uzimaru0000"; repo = "tv"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-qODv45smZ6jHCJBaa6EEvFLG+7g+FWrRf6BiHRFLzqM="; }; @@ -21,8 +21,8 @@ rustPlatform.buildRustPackage rec { description = "Format json into table view"; mainProgram = "tv"; homepage = "https://github.com/uzimaru0000/tv"; - changelog = "https://github.com/uzimaru0000/tv/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/uzimaru0000/tv/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/tw/twitch-hls-client/package.nix b/pkgs/by-name/tw/twitch-hls-client/package.nix index 69976f49fdb0..70135ca45419 100644 --- a/pkgs/by-name/tw/twitch-hls-client/package.nix +++ b/pkgs/by-name/tw/twitch-hls-client/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "twitch-hls-client"; version = "1.6.1"; src = fetchFromGitHub { owner = "2bc4"; repo = "twitch-hls-client"; - rev = version; + rev = finalAttrs.version; hash = "sha256-jApBFe9GeXkkNO+oODpYt+FArsU441lJhxnwzL4vwPk="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { sourceProvenance = with lib.sourceTypes; [ fromSource ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/by-name/tw/twm/package.nix b/pkgs/by-name/tw/twm/package.nix index f57a107afb79..3f98c9203fa4 100644 --- a/pkgs/by-name/tw/twm/package.nix +++ b/pkgs/by-name/tw/twm/package.nix @@ -9,14 +9,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "twm"; version = "0.13.0"; src = fetchFromGitHub { owner = "vinnymeller"; repo = "twm"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-GJTy0uIYALp3tp/ZO+zEQoQk8fF/5R8jbWBy92ID7aU="; }; @@ -45,9 +45,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Customizable workspace manager for tmux"; homepage = "https://github.com/vinnymeller/twm"; - changelog = "https://github.com/vinnymeller/twm/releases/tag/v${version}"; + changelog = "https://github.com/vinnymeller/twm/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vinnymeller ]; mainProgram = "twm"; }; -} +}) diff --git a/pkgs/by-name/ty/tydra/package.nix b/pkgs/by-name/ty/tydra/package.nix index 2a3c0a4018ba..f85c4d096df8 100644 --- a/pkgs/by-name/ty/tydra/package.nix +++ b/pkgs/by-name/ty/tydra/package.nix @@ -5,14 +5,14 @@ installShellFiles, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tydra"; version = "1.0.3"; src = fetchFromGitHub { owner = "Mange"; repo = "tydra"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-bH/W54b7UHdkbgLXAd+l5I6UAKjWDMW+I5mfwT4yEEY="; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; mainProgram = "tydra"; }; -} +}) diff --git a/pkgs/by-name/ty/typeshare/package.nix b/pkgs/by-name/ty/typeshare/package.nix index 65ba815b70fe..186e071f5930 100644 --- a/pkgs/by-name/ty/typeshare/package.nix +++ b/pkgs/by-name/ty/typeshare/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "typeshare"; version = "1.13.4"; src = fetchFromGitHub { owner = "1password"; repo = "typeshare"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8Pm+z407FDBLy0Hq2+T1rttFKnRWTNPPYTCn11SHcS8="; }; @@ -34,11 +34,11 @@ rustPlatform.buildRustPackage rec { description = "Command Line Tool for generating language files with typeshare"; mainProgram = "typeshare"; homepage = "https://github.com/1password/typeshare"; - changelog = "https://github.com/1password/typeshare/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/1password/typeshare/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 # or mit ]; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ty/typical/package.nix b/pkgs/by-name/ty/typical/package.nix index abe9fb66ef00..624f00a9985f 100644 --- a/pkgs/by-name/ty/typical/package.nix +++ b/pkgs/by-name/ty/typical/package.nix @@ -6,14 +6,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "typical"; version = "0.12.1"; src = fetchFromGitHub { owner = "stepchowfun"; repo = "typical"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-y7PWTzD9+rkC4wZYhecmDTa3AoWl4Tgh7QXbSK4Qq5Q="; }; @@ -44,8 +44,8 @@ rustPlatform.buildRustPackage rec { description = "Data interchange with algebraic data types"; mainProgram = "typical"; homepage = "https://github.com/stepchowfun/typical"; - changelog = "https://github.com/stepchowfun/typical/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/stepchowfun/typical/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ty/typos-lsp/package.nix b/pkgs/by-name/ty/typos-lsp/package.nix index 1d708ee50649..f07e21a34339 100644 --- a/pkgs/by-name/ty/typos-lsp/package.nix +++ b/pkgs/by-name/ty/typos-lsp/package.nix @@ -3,7 +3,7 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "typos-lsp"; # Please update the corresponding VSCode extension too. # See pkgs/applications/editors/vscode/extensions/tekumara.typos-vscode/default.nix @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "tekumara"; repo = "typos-lsp"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Sv11I2HdPwgxA1SV1/bo9MS2aanzqjtm4KtnMl6iiqU="; }; @@ -27,9 +27,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Source code spell checker"; homepage = "https://github.com/tekumara/typos-lsp"; - changelog = "https://github.com/tekumara/typos-lsp/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/tekumara/typos-lsp/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ tarantoj ]; mainProgram = "typos-lsp"; }; -} +}) diff --git a/pkgs/by-name/tz/tzupdate/package.nix b/pkgs/by-name/tz/tzupdate/package.nix index fc00666b1f3a..d64d2290528f 100644 --- a/pkgs/by-name/tz/tzupdate/package.nix +++ b/pkgs/by-name/tz/tzupdate/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "tzupdate"; version = "3.1.0"; src = fetchFromGitHub { owner = "cdown"; repo = "tzupdate"; - tag = version; + tag = finalAttrs.version; hash = "sha256-eod4yFzX7pATNQmG7jU+r9mnC9nprJ55ufMXpKjw/YI="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "tzupdate"; }; -} +}) diff --git a/pkgs/by-name/ua/uair/package.nix b/pkgs/by-name/ua/uair/package.nix index 2b68d2405452..204a36056ccc 100644 --- a/pkgs/by-name/ua/uair/package.nix +++ b/pkgs/by-name/ua/uair/package.nix @@ -6,14 +6,14 @@ scdoc, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "uair"; version = "0.6.3"; src = fetchFromGitHub { owner = "metent"; repo = "uair"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-VytbtTQch8O5hCg3L3ANNOfFOyiQY1V7DvGMEKr1R04="; }; @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ thled ]; }; -} +}) diff --git a/pkgs/by-name/ud/udict/package.nix b/pkgs/by-name/ud/udict/package.nix index c12ac02927c9..b44772760372 100644 --- a/pkgs/by-name/ud/udict/package.nix +++ b/pkgs/by-name/ud/udict/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "udict"; version = "0.1.2"; src = fetchFromGitHub { owner = "lsmb"; repo = "udict"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-vcyzMw2tWil4MULEkf25S6kXzqMG6JXIx6GibxxspkY="; }; @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "udict"; }; -} +}) diff --git a/pkgs/by-name/ud/udpt/package.nix b/pkgs/by-name/ud/udpt/package.nix index 2fe17bae7cde..d3788217cb21 100644 --- a/pkgs/by-name/ud/udpt/package.nix +++ b/pkgs/by-name/ud/udpt/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "udpt"; version = "3.1.2"; src = fetchFromGitHub { owner = "naim94a"; repo = "udpt"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-dWZRl5OiuEmCx7+Id0/feCohH5k/HA47nbPUEo8BBwQ="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ makefu ]; mainProgram = "udpt-rs"; }; -} +}) diff --git a/pkgs/by-name/ue/uefi-run/package.nix b/pkgs/by-name/ue/uefi-run/package.nix index 60d331ecdd99..e6d70842bffd 100644 --- a/pkgs/by-name/ue/uefi-run/package.nix +++ b/pkgs/by-name/ue/uefi-run/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "uefi-run"; version = "0.6.1"; src = fetchFromGitHub { owner = "Richard-W"; repo = "uefi-run"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-tR547osqw18dCMHJLqJ8AQBelbv8yCl7rAqslu+vnDQ="; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "uefi-run"; }; -} +}) diff --git a/pkgs/by-name/ue/uesave/package.nix b/pkgs/by-name/ue/uesave/package.nix index b663f7af4550..16f212aa02f0 100644 --- a/pkgs/by-name/ue/uesave/package.nix +++ b/pkgs/by-name/ue/uesave/package.nix @@ -4,13 +4,13 @@ rustPlatform, versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "uesave"; version = "0.7.0"; src = fetchFromGitHub { owner = "trumank"; repo = "uesave-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Wn7/Ik8F3+gA66CpGZGwUer3zArCx7fx1IS6DGvqJDI="; }; @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { versionCheckHook ]; doInstallCheck = true; - versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}"; + versionCheckProgram = "${placeholder "out"}/bin/${finalAttrs.meta.mainProgram}"; meta = { maintainers = with lib.maintainers; [ xddxdd ]; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; mainProgram = "uesave"; }; -} +}) diff --git a/pkgs/by-name/un/unbook/package.nix b/pkgs/by-name/un/unbook/package.nix index aad116d281e1..19d781c2191c 100644 --- a/pkgs/by-name/un/unbook/package.nix +++ b/pkgs/by-name/un/unbook/package.nix @@ -7,14 +7,14 @@ gitUpdater, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "unbook"; version = "0.9.1"; src = fetchFromGitHub { owner = "ludios"; repo = "unbook"; - rev = version; + rev = finalAttrs.version; hash = "sha256-whWWh/jQ4RkGA3T1VCmt6zhpQQCzh2jASYg69IlfEeo="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ jmbaur ]; mainProgram = "unbook"; }; -} +}) diff --git a/pkgs/by-name/un/unimap/package.nix b/pkgs/by-name/un/unimap/package.nix index edb7c0f68743..a97d7f501f2d 100644 --- a/pkgs/by-name/un/unimap/package.nix +++ b/pkgs/by-name/un/unimap/package.nix @@ -10,14 +10,14 @@ nmap, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "unimap"; version = "0.7.0"; src = fetchFromGitHub { owner = "Edu4rdSHL"; repo = "unimap"; - rev = version; + rev = finalAttrs.version; hash = "sha256-QQZNeZUB6aHnYz7B7uqL8I9gkk4JvQJ4TD9NxECd6JA="; }; @@ -49,9 +49,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Scan only once by IP address and reduce scan times with Nmap for large amounts of data"; homepage = "https://github.com/Edu4rdSHL/unimap"; - changelog = "https://github.com/Edu4rdSHL/unimap/releases/tag/${src.rev}"; + changelog = "https://github.com/Edu4rdSHL/unimap/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.gpl3Plus; maintainers = [ ]; mainProgram = "unimap"; }; -} +}) diff --git a/pkgs/by-name/un/unused/package.nix b/pkgs/by-name/un/unused/package.nix index 1ec83048f6e1..34cdcef7c354 100644 --- a/pkgs/by-name/un/unused/package.nix +++ b/pkgs/by-name/un/unused/package.nix @@ -4,14 +4,14 @@ rustPlatform, cmake, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "unused"; version = "0.4.0"; src = fetchFromGitHub { owner = "unused-code"; repo = "unused"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-+1M8dUfjjrT4llS0C6WYDyNxJ9QZ5s9v+W185TbgwMw="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/ur/urlencode/package.nix b/pkgs/by-name/ur/urlencode/package.nix index dcdc26002b9f..1c35efd26544 100644 --- a/pkgs/by-name/ur/urlencode/package.nix +++ b/pkgs/by-name/ur/urlencode/package.nix @@ -3,14 +3,14 @@ lib, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "urlencode"; version = "1.0.1"; src = fetchFromGitHub { owner = "dead10ck"; repo = "urlencode"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-LvLUbtMPVbYZMUb9vWhTscYfZPtEM5GrZme3azvVlPE="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ l0b0 ]; mainProgram = "urlencode"; }; -} +}) diff --git a/pkgs/by-name/us/userborn/package.nix b/pkgs/by-name/us/userborn/package.nix index 0fa93590ebb3..0ef3a4a3cfd9 100644 --- a/pkgs/by-name/us/userborn/package.nix +++ b/pkgs/by-name/us/userborn/package.nix @@ -7,18 +7,18 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "userborn"; version = "0.5.0"; src = fetchFromGitHub { owner = "nikstur"; repo = "userborn"; - rev = version; + rev = finalAttrs.version; hash = "sha256-mXXakR75Iz6AFf/TYgIHE8SxOri2HyReYUYTT3lCEPA="; }; - sourceRoot = "${src.name}/rust/userborn"; + sourceRoot = "${finalAttrs.src.name}/rust/userborn"; cargoHash = "sha256-uAid5GsM9lasVQAYfeo9jwp4xg1MrXdJqtD0l6ME6OQ="; @@ -45,10 +45,10 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://github.com/nikstur/userborn"; description = "Declaratively bear (manage) Linux users and groups"; - changelog = "https://github.com/nikstur/userborn/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/nikstur/userborn/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ nikstur ]; mainProgram = "userborn"; }; -} +}) diff --git a/pkgs/by-name/uw/uwc/package.nix b/pkgs/by-name/uw/uwc/package.nix index 7024895fb164..c88b958774aa 100644 --- a/pkgs/by-name/uw/uwc/package.nix +++ b/pkgs/by-name/uw/uwc/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "uwc"; version = "1.0.7"; src = fetchFromGitHub { owner = "dead10ck"; repo = "uwc"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Qv8vMjCMhpVxkJyH1uTsFXu2waO8oaLPuoBETaWOUqI="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ ShamrockLee ]; }; -} +}) diff --git a/pkgs/by-name/uw/uwuify/package.nix b/pkgs/by-name/uw/uwuify/package.nix index fcd958afaef4..0c5df8d6170c 100644 --- a/pkgs/by-name/uw/uwuify/package.nix +++ b/pkgs/by-name/uw/uwuify/package.nix @@ -6,14 +6,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "uwuify"; version = "0.2.2"; src = fetchFromGitHub { owner = "Daniel-Liu-c0deb0t"; repo = "uwu"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-MzXObbxccwEG7egmQMCdhUukGqZS+NgbYwZjTaqME7I="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ siraben ]; mainProgram = "uwuify"; }; -} +}) diff --git a/pkgs/by-name/va/vaultwarden/package.nix b/pkgs/by-name/va/vaultwarden/package.nix index 3c208001af04..64f58b6054b3 100644 --- a/pkgs/by-name/va/vaultwarden/package.nix +++ b/pkgs/by-name/va/vaultwarden/package.nix @@ -17,21 +17,21 @@ let webvault = callPackage ./webvault.nix { }; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "vaultwarden"; version = "1.35.2"; src = fetchFromGitHub { owner = "dani-garcia"; repo = "vaultwarden"; - tag = version; + tag = finalAttrs.version; hash = "sha256-3/Wpn84QHTQ8yoj4lR2J8iUj39elg9CKP4lkQjDVVT4="; }; cargoHash = "sha256-XqZOy84L6Spzd1NZf4CzZsdhDhrYNoQGToad4giFJR8="; # used for "Server Installed" version in admin panel - env.VW_VERSION = version; + env.VW_VERSION = finalAttrs.version; nativeBuildInputs = [ pkg-config ]; buildInputs = [ @@ -54,7 +54,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Unofficial Bitwarden compatible server written in Rust"; homepage = "https://github.com/dani-garcia/vaultwarden"; - changelog = "https://github.com/dani-garcia/vaultwarden/releases/tag/${version}"; + changelog = "https://github.com/dani-garcia/vaultwarden/releases/tag/${finalAttrs.version}"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ dotlambda @@ -62,4 +62,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "vaultwarden"; }; -} +}) diff --git a/pkgs/by-name/ve/veilid/package.nix b/pkgs/by-name/ve/veilid/package.nix index a9487d032dab..c20a2464a085 100644 --- a/pkgs/by-name/ve/veilid/package.nix +++ b/pkgs/by-name/ve/veilid/package.nix @@ -10,14 +10,14 @@ gitUpdater, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "veilid"; version = "0.5.2"; src = fetchFromGitLab { owner = "veilid"; repo = "veilid"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-BND2Io3V5GtSqh9cTJ9SJ4jgfv6TZQGpYebO4f2YdMA="; }; @@ -66,4 +66,4 @@ rustPlatform.buildRustPackage rec { qbit ]; }; -} +}) diff --git a/pkgs/by-name/ve/veryl/package.nix b/pkgs/by-name/ve/veryl/package.nix index cb408aae2601..65fb91447c76 100644 --- a/pkgs/by-name/ve/veryl/package.nix +++ b/pkgs/by-name/ve/veryl/package.nix @@ -8,14 +8,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "veryl"; version = "0.18.0"; src = fetchFromGitHub { owner = "veryl-lang"; repo = "veryl"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-dqVEl/sClzhLiX5ung4au6dXUkeMbKPdoSDRV0evT3w="; fetchSubmodules = true; }; @@ -72,7 +72,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Modern Hardware Description Language"; homepage = "https://veryl-lang.org/"; - changelog = "https://github.com/veryl-lang/veryl/releases/tag/v${version}"; + changelog = "https://github.com/veryl-lang/veryl/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ mit asl20 @@ -80,4 +80,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ pbsds ]; mainProgram = "veryl"; }; -} +}) diff --git a/pkgs/by-name/vh/vhdl-ls/package.nix b/pkgs/by-name/vh/vhdl-ls/package.nix index e85a9d95f54d..7a023ef9bb95 100644 --- a/pkgs/by-name/vh/vhdl-ls/package.nix +++ b/pkgs/by-name/vh/vhdl-ls/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "vhdl-ls"; version = "0.86.0"; src = fetchFromGitHub { owner = "VHDL-LS"; repo = "rust_hdl"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-H8s4YZPpe7Z3IafY4lt4Gn/jjeULJFSA/6kMb9IrV50="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "vhdl_ls"; maintainers = with lib.maintainers; [ doronbehar ]; }; -} +}) diff --git a/pkgs/by-name/vi/viceroy/package.nix b/pkgs/by-name/vi/viceroy/package.nix index 732e0721f2ca..95ad8be9da0f 100644 --- a/pkgs/by-name/vi/viceroy/package.nix +++ b/pkgs/by-name/vi/viceroy/package.nix @@ -4,14 +4,14 @@ lib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "viceroy"; version = "0.16.4"; src = fetchFromGitHub { owner = "fastly"; repo = "viceroy"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-KeFKh8ZAUJXBUo0MRw/jU0HnBrehX0YkvbvMUX8ovcA="; }; @@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/vi/viddy/package.nix b/pkgs/by-name/vi/viddy/package.nix index 80e883c6d6fb..5c3c6a040c5a 100644 --- a/pkgs/by-name/vi/viddy/package.nix +++ b/pkgs/by-name/vi/viddy/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "viddy"; version = "1.3.0"; src = fetchFromGitHub { owner = "sachaos"; repo = "viddy"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ZdDe0ymPkj0ZGiPLo1Y0qMDk2SsUcPsSStay+Tuf4p0="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "viddy"; }; -} +}) diff --git a/pkgs/by-name/vi/vimcats/package.nix b/pkgs/by-name/vi/vimcats/package.nix index 4123f1b03628..463c671f3c5e 100644 --- a/pkgs/by-name/vi/vimcats/package.nix +++ b/pkgs/by-name/vi/vimcats/package.nix @@ -6,14 +6,14 @@ vimcats, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "vimcats"; version = "1.1.1"; src = fetchFromGitHub { owner = "mrcjkb"; repo = "vimcats"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-BW1pU7NnW8yWePV0IQOUmcNa13NvV9lOZhfnEdQFBQQ="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ mrcjkb ]; mainProgram = "vimcats"; }; -} +}) diff --git a/pkgs/by-name/vi/vimv-rs/package.nix b/pkgs/by-name/vi/vimv-rs/package.nix index 20c21c141360..db158966c704 100644 --- a/pkgs/by-name/vi/vimv-rs/package.nix +++ b/pkgs/by-name/vi/vimv-rs/package.nix @@ -4,12 +4,12 @@ fetchCrate, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "vimv-rs"; version = "3.1.0"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; crateName = "vimv"; hash = "sha256-jbRsgEsRYF5hlvo0jEB4jhy5jzCAXNzOsNWWyh4XULQ="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "vimv"; maintainers = with lib.maintainers; [ zowoq ]; }; -} +}) diff --git a/pkgs/by-name/vi/viu/package.nix b/pkgs/by-name/vi/viu/package.nix index efa4c82aa48e..c3431d4d2296 100644 --- a/pkgs/by-name/vi/viu/package.nix +++ b/pkgs/by-name/vi/viu/package.nix @@ -6,14 +6,14 @@ withSixel ? false, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "viu"; version = "1.6.1"; src = fetchFromGitHub { owner = "atanunq"; repo = "viu"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-+6oo6cJ0L3XuMWZL/8DEKMk6PI7D5IcfoemqIQiOJto="; }; @@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "viu"; }; -} +}) diff --git a/pkgs/by-name/vi/vivid/package.nix b/pkgs/by-name/vi/vivid/package.nix index a6d357aa81e0..4321b5aaf92d 100644 --- a/pkgs/by-name/vi/vivid/package.nix +++ b/pkgs/by-name/vi/vivid/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "vivid"; version = "0.10.1"; src = fetchFromGitHub { owner = "sharkdp"; repo = "vivid"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-mxBBfezaMM2dfiXK/s+Htr+i5GJP1xVSXzkmYxEuwNs="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; mainProgram = "vivid"; }; -} +}) diff --git a/pkgs/by-name/vo/volta/package.nix b/pkgs/by-name/vo/volta/package.nix index 803df92f8ddc..4be2e6c84ec8 100644 --- a/pkgs/by-name/vo/volta/package.nix +++ b/pkgs/by-name/vo/volta/package.nix @@ -9,14 +9,14 @@ versionCheckHook, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "volta"; version = "2.0.2"; src = fetchFromGitHub { owner = "volta-cli"; repo = "volta"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ZI+3/Xbkg/JaZMLhrJEjaSwjs44fOaiRReM2DUTnkkc="; }; @@ -67,4 +67,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ fbrs ]; mainProgram = "volta"; }; -} +}) diff --git a/pkgs/by-name/vt/vtracer/package.nix b/pkgs/by-name/vt/vtracer/package.nix index bb1fb79d0400..c284530549a8 100644 --- a/pkgs/by-name/vt/vtracer/package.nix +++ b/pkgs/by-name/vt/vtracer/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "vtracer"; version = "0.6.5"; src = fetchFromGitHub { owner = "visioncortex"; repo = "vtracer"; - rev = version; + rev = finalAttrs.version; hash = "sha256-gU2LxUbgy2KgMCu7nyjfGkmBwnA9mjX4mUT9M9k1a4I="; }; @@ -26,9 +26,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Raster to Vector Graphics Converter"; homepage = "https://github.com/visioncortex/vtracer"; - changelog = "https://github.com/visioncortex/vtracer/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/visioncortex/vtracer/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sandptel ]; mainProgram = "vtracer"; }; -} +}) diff --git a/pkgs/by-name/wa/wagyu/package.nix b/pkgs/by-name/wa/wagyu/package.nix index dce2f7693132..ca9066168651 100644 --- a/pkgs/by-name/wa/wagyu/package.nix +++ b/pkgs/by-name/wa/wagyu/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wagyu"; version = "0.6.3"; src = fetchFromGitHub { owner = "AleoHQ"; repo = "wagyu"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-5n8BmETv5jUvgu0rskAPYaBgYyNL2QU2t/iUb3hNMMw="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.offline ]; mainProgram = "wagyu"; }; -} +}) diff --git a/pkgs/by-name/wa/wapm/package.nix b/pkgs/by-name/wa/wapm/package.nix index 577d49363b59..91616cc43fca 100644 --- a/pkgs/by-name/wa/wapm/package.nix +++ b/pkgs/by-name/wa/wapm/package.nix @@ -7,14 +7,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wapm-cli"; version = "0.5.9"; src = fetchFromGitHub { owner = "wasmerio"; repo = "wapm-cli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-T7YEe8xg5iwI/npisW0m+6FLi+eaAQVgYNe6TvMlhAs="; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { license = with lib.licenses; [ mit ]; maintainers = [ lib.maintainers.lucperkins ]; }; -} +}) diff --git a/pkgs/by-name/wa/wasm-language-tools/package.nix b/pkgs/by-name/wa/wasm-language-tools/package.nix index e1adcb080635..bd7ff8bed75d 100644 --- a/pkgs/by-name/wa/wasm-language-tools/package.nix +++ b/pkgs/by-name/wa/wasm-language-tools/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wasm-language-tools"; version = "0.8.0"; src = fetchFromGitHub { owner = "g-plane"; repo = "wasm-language-tools"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-4PnagT1pufsEy1ROvhYYtkuSsU+irGpYV9iffwIQPmk="; }; @@ -28,9 +28,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Language server and other tools for WebAssembly"; homepage = "https://github.com/g-plane/wasm-language-tools/"; - changelog = "https://github.com/g-plane/wasm-language-tools/releases/tag/v${version}/CHANGELOG.md"; + changelog = "https://github.com/g-plane/wasm-language-tools/releases/tag/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ethancedwards8 ]; mainProgram = "wat_server"; }; -} +}) diff --git a/pkgs/by-name/wa/wasm-pack/package.nix b/pkgs/by-name/wa/wasm-pack/package.nix index 985f577e628d..661527e1b9f1 100644 --- a/pkgs/by-name/wa/wasm-pack/package.nix +++ b/pkgs/by-name/wa/wasm-pack/package.nix @@ -7,14 +7,14 @@ zstd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wasm-pack"; version = "0.13.1"; src = fetchFromGitHub { owner = "rustwasm"; repo = "wasm-pack"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-CN1LcLX7ag+in9sosT2NYVKfhDLGv2m3zHOk2T4MFYc="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = [ lib.maintainers.dhkl ]; }; -} +}) diff --git a/pkgs/by-name/wa/wasm-tools/package.nix b/pkgs/by-name/wa/wasm-tools/package.nix index 54abb7a5c485..632d2edb240c 100644 --- a/pkgs/by-name/wa/wasm-tools/package.nix +++ b/pkgs/by-name/wa/wasm-tools/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wasm-tools"; version = "1.244.0"; src = fetchFromGitHub { owner = "bytecodealliance"; repo = "wasm-tools"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-XZ3X+KTfiYdUP4jMlkjDpapTOGBucgTmmQoOzizPG+s="; fetchSubmodules = true; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ ereslibre ]; mainProgram = "wasm-tools"; }; -} +}) diff --git a/pkgs/by-name/wa/wasmer-pack/package.nix b/pkgs/by-name/wa/wasmer-pack/package.nix index b85652718365..3d85a372b907 100644 --- a/pkgs/by-name/wa/wasmer-pack/package.nix +++ b/pkgs/by-name/wa/wasmer-pack/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wasmer-pack"; version = "0.7.1"; src = fetchFromGitHub { owner = "wasmerio"; repo = "wasmer-pack"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-+wqgYkdkuhPFkJBdQLnUKAGmUfGBU9mBfMRNBFmiT4E="; }; @@ -26,8 +26,8 @@ rustPlatform.buildRustPackage rec { description = "Import your WebAssembly code just like any other dependency"; mainProgram = "wasmer-pack"; homepage = "https://github.com/wasmerio/wasmer-pack"; - changelog = "https://github.com/wasmerio/wasmer-pack/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/wasmerio/wasmer-pack/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/by-name/wa/wasmer/package.nix b/pkgs/by-name/wa/wasmer/package.nix index 9952a314f29c..e3bcc19b4a47 100644 --- a/pkgs/by-name/wa/wasmer/package.nix +++ b/pkgs/by-name/wa/wasmer/package.nix @@ -9,14 +9,14 @@ withSinglepass ? true, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wasmer"; version = "5.0.4"; src = fetchFromGitHub { owner = "wasmerio"; repo = "wasmer"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-rP0qvSb9PxsTMAq0hpB+zdSTHvridyCVdukLUYxdao8="; }; @@ -71,4 +71,4 @@ rustPlatform.buildRustPackage rec { nickcao ]; }; -} +}) diff --git a/pkgs/by-name/wa/wasmi/package.nix b/pkgs/by-name/wa/wasmi/package.nix index 412a691e2a1e..1765e28f011b 100644 --- a/pkgs/by-name/wa/wasmi/package.nix +++ b/pkgs/by-name/wa/wasmi/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wasmi"; version = "1.0.8"; src = fetchFromGitHub { owner = "paritytech"; repo = "wasmi"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-+hzvJ0Jq2tFxbCBSSjnUHgZDRb7q0+OGEzMtjZU20Fg="; fetchSubmodules = true; }; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Efficient WebAssembly interpreter"; homepage = "https://github.com/paritytech/wasmi"; - changelog = "https://github.com/paritytech/wasmi/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/paritytech/wasmi/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "wasmi_cli"; maintainers = with lib.maintainers; [ dit7ya ]; }; -} +}) diff --git a/pkgs/by-name/wa/wastebin/package.nix b/pkgs/by-name/wa/wastebin/package.nix index 53935497967b..e04903cb18fa 100644 --- a/pkgs/by-name/wa/wastebin/package.nix +++ b/pkgs/by-name/wa/wastebin/package.nix @@ -8,14 +8,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wastebin"; version = "3.4.0"; src = fetchFromGitHub { owner = "matze"; repo = "wastebin"; - rev = version; + rev = finalAttrs.version; hash = "sha256-cujMs7R6CBSsoQ3p8PyHAJYwWjd8NGYX+qMB4ntrorg="; }; @@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Pastebin service"; homepage = "https://github.com/matze/wastebin"; - changelog = "https://github.com/matze/wastebin/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/matze/wastebin/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ pinpox @@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "wastebin"; }; -} +}) diff --git a/pkgs/by-name/wa/watchlog/package.nix b/pkgs/by-name/wa/watchlog/package.nix index 2879d4b75ca4..7ec58b70141b 100644 --- a/pkgs/by-name/wa/watchlog/package.nix +++ b/pkgs/by-name/wa/watchlog/package.nix @@ -4,14 +4,14 @@ fetchFromGitLab, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "watchlog"; version = "1.252.0"; src = fetchFromGitLab { owner = "kevincox"; repo = "watchlog"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ZDT98pxtpoEenJPwz4Ws2kkTqJ0lTWvxv3LfjBsCvZo="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { platforms = with lib.platforms; linux ++ windows; mainProgram = "wl"; }; -} +}) diff --git a/pkgs/by-name/wa/waycorner/package.nix b/pkgs/by-name/wa/waycorner/package.nix index ef97321a224c..479ba8e94f1c 100644 --- a/pkgs/by-name/wa/waycorner/package.nix +++ b/pkgs/by-name/wa/waycorner/package.nix @@ -7,14 +7,14 @@ wayland, gitUpdater, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "waycorner"; version = "0.2.3"; src = fetchFromGitHub { owner = "AndreasBackx"; repo = "waycorner"; - tag = version; + tag = finalAttrs.version; hash = "sha256-b8juIhJ3kh+NJc8RUVVoatqjWISSW0ir/vk2Dz/428Y="; }; @@ -36,10 +36,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Hot corners for Wayland"; mainProgram = "waycorner"; - changelog = "https://github.com/AndreasBackx/waycorner/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/AndreasBackx/waycorner/blob/${finalAttrs.version}/CHANGELOG.md"; homepage = "https://github.com/AndreasBackx/waycorner"; platforms = lib.platforms.linux; license = lib.licenses.mit; maintainers = with lib.maintainers; [ NotAShelf ]; }; -} +}) diff --git a/pkgs/by-name/wa/wayland-pipewire-idle-inhibit/package.nix b/pkgs/by-name/wa/wayland-pipewire-idle-inhibit/package.nix index a9fd46b99008..fb5d7737c64c 100644 --- a/pkgs/by-name/wa/wayland-pipewire-idle-inhibit/package.nix +++ b/pkgs/by-name/wa/wayland-pipewire-idle-inhibit/package.nix @@ -7,14 +7,14 @@ wayland, wayland-protocols, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wayland-pipewire-idle-inhibit"; version = "0.7.0"; src = fetchFromGitHub { owner = "rafaelrc7"; repo = "wayland-pipewire-idle-inhibit"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-s5dXr6fray+ipbmupjTNFq1x9Znx2vu6lfHLo8d9op8="; }; @@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ rafameou ]; mainProgram = "wayland-pipewire-idle-inhibit"; }; -} +}) diff --git a/pkgs/by-name/wa/waylevel/package.nix b/pkgs/by-name/wa/waylevel/package.nix index e5ea991dd1cc..9f936786a092 100644 --- a/pkgs/by-name/wa/waylevel/package.nix +++ b/pkgs/by-name/wa/waylevel/package.nix @@ -4,14 +4,14 @@ rustPlatform, wayland, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "waylevel"; version = "1.0.0"; src = fetchFromSourcehut { owner = "~shinyzenith"; repo = "waylevel"; - rev = version; + rev = finalAttrs.version; hash = "sha256-T2gqiRcKrKsvwGNnWrxR1Ga/VX4AyllYn1H25aIKt5s="; }; @@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "waylevel"; }; -} +}) diff --git a/pkgs/by-name/wa/waylyrics/package.nix b/pkgs/by-name/wa/waylyrics/package.nix index 236de14087cd..7bee7abea79e 100644 --- a/pkgs/by-name/wa/waylyrics/package.nix +++ b/pkgs/by-name/wa/waylyrics/package.nix @@ -8,14 +8,14 @@ dbus, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "waylyrics"; version = "0.3.21"; src = fetchFromGitHub { owner = "waylyrics"; repo = "waylyrics"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-uXAcoy5fnnkqtmGmaEC6Ceu+dwmZKDPOFzxC4COuDbk="; }; @@ -76,4 +76,4 @@ rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/wa/wayout/package.nix b/pkgs/by-name/wa/wayout/package.nix index e4ca11e68bd6..58309d30badd 100644 --- a/pkgs/by-name/wa/wayout/package.nix +++ b/pkgs/by-name/wa/wayout/package.nix @@ -4,14 +4,14 @@ fetchFromSourcehut, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wayout"; version = "1.1.3"; src = fetchFromSourcehut { owner = "~shinyzenith"; repo = "wayout"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-EzRetxx0NojhBlBPwhQ7p9rGXDUBlocVqxcEVGIF3+0="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "wayout"; }; -} +}) diff --git a/pkgs/by-name/wa/wayshot/package.nix b/pkgs/by-name/wa/wayshot/package.nix index 50eb689dc73b..e7d304b58f09 100644 --- a/pkgs/by-name/wa/wayshot/package.nix +++ b/pkgs/by-name/wa/wayshot/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wayshot"; version = "1.3.1"; src = fetchFromGitHub { owner = "waycrate"; repo = "wayshot"; - rev = version; + rev = finalAttrs.version; hash = "sha256-nUpIN4WTePtFZTmKAjv0tgj4VTdZeXjoQX6am9+M3ig="; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "wayshot"; }; -} +}) diff --git a/pkgs/by-name/wa/wayvr/package.nix b/pkgs/by-name/wa/wayvr/package.nix index 9bb8e1bbcf27..f63f9cfafde3 100644 --- a/pkgs/by-name/wa/wayvr/package.nix +++ b/pkgs/by-name/wa/wayvr/package.nix @@ -23,14 +23,14 @@ wayvr, withOpenVR ? !stdenv.hostPlatform.isAarch64, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wayvr"; version = "26.1.2"; src = fetchFromGitHub { owner = "wlx-team"; repo = "wayvr"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-UZ5zcalez6B+212OqCaEXSoRfhaExuy0W8HX8b4flSU="; }; @@ -93,4 +93,4 @@ rustPlatform.buildRustPackage rec { broken = stdenv.hostPlatform.isAarch64 && withOpenVR; mainProgram = "wayvr"; }; -} +}) diff --git a/pkgs/by-name/we/websocat/package.nix b/pkgs/by-name/we/websocat/package.nix index 7e7d6400992e..c5bb24c18733 100644 --- a/pkgs/by-name/we/websocat/package.nix +++ b/pkgs/by-name/we/websocat/package.nix @@ -12,14 +12,14 @@ versionCheckHook, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "websocat"; version = "1.14.0"; src = fetchFromGitHub { owner = "vi"; repo = "websocat"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-v5+9cbKe3c12/SrW7mgN6tvQIiAuweqvMIl46Ce9f2A="; }; @@ -66,11 +66,11 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command-line client for WebSockets (like netcat/socat)"; homepage = "https://github.com/vi/websocat"; - changelog = "https://github.com/vi/websocat/releases/tag/v${version}"; + changelog = "https://github.com/vi/websocat/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ thoughtpolice ]; mainProgram = "websocat"; }; -} +}) diff --git a/pkgs/by-name/we/weggli/package.nix b/pkgs/by-name/we/weggli/package.nix index 7187e28bc715..26f3732acf82 100644 --- a/pkgs/by-name/we/weggli/package.nix +++ b/pkgs/by-name/we/weggli/package.nix @@ -6,14 +6,14 @@ weggli, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "weggli"; version = "0.2.4"; src = fetchFromGitHub { owner = "weggli-rs"; repo = "weggli"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-6XSedsTUjcZzFXaNitsXlUBpxC6TYVMCB+AfH3x7c5E="; }; @@ -22,13 +22,13 @@ rustPlatform.buildRustPackage rec { passthru.tests.version = testers.testVersion { package = weggli; command = "weggli -V"; - version = "weggli ${version}"; + version = "weggli ${finalAttrs.version}"; }; meta = { description = "Fast and robust semantic search tool for C and C++ codebases"; homepage = "https://github.com/weggli-rs/weggli"; - changelog = "https://github.com/weggli-rs/weggli/releases/tag/v${version}"; + changelog = "https://github.com/weggli-rs/weggli/releases/tag/v${finalAttrs.version}"; mainProgram = "weggli"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { mfrw ]; }; -} +}) diff --git a/pkgs/by-name/wg/wg-netmanager/package.nix b/pkgs/by-name/wg/wg-netmanager/package.nix index 7da56c9db6f6..285b1d6b8334 100644 --- a/pkgs/by-name/wg/wg-netmanager/package.nix +++ b/pkgs/by-name/wg/wg-netmanager/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wg-netmanager"; version = "0.5.1"; src = fetchFromGitHub { owner = "gin66"; repo = "wg_netmanager"; - rev = "wg_netmanager-v${version}"; + rev = "wg_netmanager-v${finalAttrs.version}"; sha256 = "sha256-Mr4+TW1yOePEHa7puz6mTRJ514LGQeiEwPW3NKupV/M="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "wg_netmanager"; }; -} +}) diff --git a/pkgs/by-name/wg/wgpu-utils/package.nix b/pkgs/by-name/wg/wgpu-utils/package.nix index 52de5cfe7a4d..9bec2cc4b2ee 100644 --- a/pkgs/by-name/wg/wgpu-utils/package.nix +++ b/pkgs/by-name/wg/wgpu-utils/package.nix @@ -10,14 +10,14 @@ fontconfig, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wgpu-utils"; version = "25.0.2"; src = fetchFromGitHub { owner = "gfx-rs"; repo = "wgpu"; - tag = "wgpu-v${version}"; + tag = "wgpu-v${finalAttrs.version}"; hash = "sha256-Na8UWMEzY0mvw8YERZ86PH79Z5YlXITPdOYha7Ahn7k="; }; @@ -52,4 +52,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ erictapen ]; mainProgram = "wgpu-info"; }; -} +}) diff --git a/pkgs/by-name/wh/whitebox-tools/package.nix b/pkgs/by-name/wh/whitebox-tools/package.nix index 13df5fd3bc16..6a2f8eae9813 100644 --- a/pkgs/by-name/wh/whitebox-tools/package.nix +++ b/pkgs/by-name/wh/whitebox-tools/package.nix @@ -11,14 +11,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "whitebox_tools"; version = "2.4.0"; src = fetchFromGitHub { owner = "jblindsay"; repo = "whitebox-tools"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-kvtfEEydwonoDux1VbAxqrF/Hf8Qh8mhprYnROGOC6g="; }; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ mpickering ]; teams = [ lib.teams.geospatial ]; }; -} +}) diff --git a/pkgs/by-name/wi/wiki-tui/package.nix b/pkgs/by-name/wi/wiki-tui/package.nix index e4a44ab48a86..a3db4708a701 100644 --- a/pkgs/by-name/wi/wiki-tui/package.nix +++ b/pkgs/by-name/wi/wiki-tui/package.nix @@ -7,14 +7,14 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wiki-tui"; version = "0.9.2"; src = fetchFromGitHub { owner = "Builditluc"; repo = "wiki-tui"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-hUAe2mzz/4xdpyPE2rbTq5WKk0bNa4dSFocFiCXyO4Q="; }; @@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Simple and easy to use Wikipedia Text User Interface"; homepage = "https://github.com/builditluc/wiki-tui"; - changelog = "https://github.com/Builditluc/wiki-tui/releases/tag/v${version}"; + changelog = "https://github.com/Builditluc/wiki-tui/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ builditluc @@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "wiki-tui"; }; -} +}) diff --git a/pkgs/by-name/wi/wired/package.nix b/pkgs/by-name/wi/wired/package.nix index 37fd5e7a5b44..75eab1ae98d6 100644 --- a/pkgs/by-name/wi/wired/package.nix +++ b/pkgs/by-name/wi/wired/package.nix @@ -13,14 +13,14 @@ libx11, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wired"; version = "0.10.6"; src = fetchFromGitHub { owner = "Toqozz"; repo = "wired-notify"; - tag = version; + tag = finalAttrs.version; hash = "sha256-AWIV/+vVwDZECZ4lFMSFyuyUKJc/gb72PiBJv6lbhnc="; }; @@ -54,4 +54,4 @@ rustPlatform.buildRustPackage rec { badPlatforms = lib.platforms.darwin; mainProgram = "wired"; }; -} +}) diff --git a/pkgs/by-name/wi/wit-bindgen/package.nix b/pkgs/by-name/wi/wit-bindgen/package.nix index 16f05d1f73ee..87361189e5ca 100644 --- a/pkgs/by-name/wi/wit-bindgen/package.nix +++ b/pkgs/by-name/wi/wit-bindgen/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wit-bindgen"; version = "0.52.0"; src = fetchFromGitHub { owner = "bytecodealliance"; repo = "wit-bindgen"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-S3iOmkAg1H6sEcXhC/7cQcrwH5OwR5ZROn0iPkUrwEY="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ xrelkd ]; mainProgram = "wit-bindgen"; }; -} +}) diff --git a/pkgs/by-name/wl/wl-clip-persist/package.nix b/pkgs/by-name/wl/wl-clip-persist/package.nix index 4f04875f96d9..f482b1ba4b1f 100644 --- a/pkgs/by-name/wl/wl-clip-persist/package.nix +++ b/pkgs/by-name/wl/wl-clip-persist/package.nix @@ -7,14 +7,14 @@ wayland, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wl-clip-persist"; version = "0.5.0"; src = fetchFromGitHub { owner = "Linus789"; repo = "wl-clip-persist"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-MEH8ADsFst/CgTc9QW4x0dBXJ5ssQDVa55qPcsALJRg="; }; @@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "wl-clip-persist"; maintainers = with lib.maintainers; [ name-snrl ]; }; -} +}) diff --git a/pkgs/by-name/wl/wl-clipboard-rs/package.nix b/pkgs/by-name/wl/wl-clipboard-rs/package.nix index 849d31b7e96c..9ec4f6b47f29 100644 --- a/pkgs/by-name/wl/wl-clipboard-rs/package.nix +++ b/pkgs/by-name/wl/wl-clipboard-rs/package.nix @@ -8,14 +8,14 @@ withNativeLibs ? false, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wl-clipboard-rs"; version = "0.9.3"; src = fetchFromGitHub { owner = "YaLTeR"; repo = "wl-clipboard-rs"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-eUD3XmEiBVMf+bImG6Ah48/96AxFhqTiLjK1gPJFdpw="; }; @@ -74,7 +74,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Command-line copy/paste utilities for Wayland, written in Rust"; homepage = "https://github.com/YaLTeR/wl-clipboard-rs"; - changelog = "https://github.com/YaLTeR/wl-clipboard-rs/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/YaLTeR/wl-clipboard-rs/blob/v${finalAttrs.version}/CHANGELOG.md"; platforms = lib.platforms.linux; license = with lib.licenses; [ asl20 @@ -86,4 +86,4 @@ rustPlatform.buildRustPackage rec { donovanglover ]; }; -} +}) diff --git a/pkgs/by-name/wl/wl-gammarelay-rs/package.nix b/pkgs/by-name/wl/wl-gammarelay-rs/package.nix index ca15583be442..2c4c537372d2 100644 --- a/pkgs/by-name/wl/wl-gammarelay-rs/package.nix +++ b/pkgs/by-name/wl/wl-gammarelay-rs/package.nix @@ -3,14 +3,14 @@ fetchFromGitHub, rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wl-gammarelay-rs"; version = "1.0.1"; src = fetchFromGitHub { owner = "MaxVerevkin"; repo = "wl-gammarelay-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-WdY90CUtphtUUFAh+daSQGmlWTn28Qc79A5yHTV3IOY="; }; @@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; badPlatforms = lib.platforms.darwin; }; -} +}) diff --git a/pkgs/by-name/wl/wlr-which-key/package.nix b/pkgs/by-name/wl/wlr-which-key/package.nix index 0b835b1b491a..5fb16c0d66ef 100644 --- a/pkgs/by-name/wl/wlr-which-key/package.nix +++ b/pkgs/by-name/wl/wlr-which-key/package.nix @@ -9,14 +9,14 @@ pango, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wlr-which-key"; version = "1.3.0"; src = fetchFromGitHub { owner = "MaxVerevkin"; repo = "wlr-which-key"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-2dVTN5aaXeGBUKhsuUyDfELyL4AcKoaPXD0gN7ydL/Y="; }; @@ -41,4 +41,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "wlr-which-key"; }; -} +}) diff --git a/pkgs/by-name/wl/wluma/package.nix b/pkgs/by-name/wl/wluma/package.nix index 326c90990b1e..5f63e9f77679 100644 --- a/pkgs/by-name/wl/wluma/package.nix +++ b/pkgs/by-name/wl/wluma/package.nix @@ -14,14 +14,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wluma"; version = "4.10.0"; src = fetchFromGitHub { owner = "maximbaz"; repo = "wluma"; - tag = version; + tag = finalAttrs.version; hash = "sha256-gO7l0VnOs6BoBxZKkkXyxiBP7JB+G8ScrfuADNveys4="; }; @@ -60,7 +60,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Automatic brightness adjustment based on screen contents and ALS"; homepage = "https://github.com/maximbaz/wluma"; - changelog = "https://github.com/maximbaz/wluma/releases/tag/${version}"; + changelog = "https://github.com/maximbaz/wluma/releases/tag/${finalAttrs.version}"; license = lib.licenses.isc; maintainers = with lib.maintainers; [ yshym @@ -71,4 +71,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "wluma"; }; -} +}) diff --git a/pkgs/by-name/wo/woomer/package.nix b/pkgs/by-name/wo/woomer/package.nix index 1c4f425b3e7e..a2cd773dc4d5 100644 --- a/pkgs/by-name/wo/woomer/package.nix +++ b/pkgs/by-name/wo/woomer/package.nix @@ -11,14 +11,14 @@ libgbm, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "woomer"; version = "0.2.0"; src = fetchFromGitHub { owner = "coffeeispower"; repo = "woomer"; - tag = version; + tag = finalAttrs.version; hash = "sha256-LcL43Wq+5d7HPsm2bEK0vZsjP/dixtNhMKywXMi4ODw="; }; @@ -59,7 +59,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Zoomer application for Wayland inspired by tsoding's boomer"; homepage = "https://github.com/coffeeispower/woomer"; - changelog = "https://github.com/coffeeispower/woomer/releases/tag/${version}"; + changelog = "https://github.com/coffeeispower/woomer/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ getchoo ]; mainProgram = "woomer"; @@ -74,4 +74,4 @@ rustPlatform.buildRustPackage rec { # https://github.com/raylib-rs/raylib-rs/issues/74 broken = stdenv.hostPlatform.isAarch64; }; -} +}) diff --git a/pkgs/by-name/wo/worker-build/package.nix b/pkgs/by-name/wo/worker-build/package.nix index 81ce70935c72..63f40d5d400d 100644 --- a/pkgs/by-name/wo/worker-build/package.nix +++ b/pkgs/by-name/wo/worker-build/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "worker-build"; version = "0.7.4"; src = fetchFromGitHub { owner = "cloudflare"; repo = "workers-rs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-LeW0CHYBaib81AqftYpW38FFR3P7q7OJE2NmrK9oi9Q="; fetchSubmodules = true; }; @@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec { ]; maintainers = with lib.maintainers; [ happysalada ]; }; -} +}) diff --git a/pkgs/by-name/wo/workshop-runner/package.nix b/pkgs/by-name/wo/workshop-runner/package.nix index 594591c7cf8c..1abf89b723fa 100644 --- a/pkgs/by-name/wo/workshop-runner/package.nix +++ b/pkgs/by-name/wo/workshop-runner/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "workshop-runner"; version = "0.2.5"; src = fetchFromGitHub { owner = "mainmatter"; repo = "rust-workshop-runner"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-vaCMnytN3GidEzn3r0zDyD2uBTLaLSnaho/j1Ti3yHE="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ RaghavSood ]; mainProgram = "wr"; }; -} +}) diff --git a/pkgs/by-name/wr/writedisk/package.nix b/pkgs/by-name/wr/writedisk/package.nix index 25963ca52f36..c1f72687db24 100644 --- a/pkgs/by-name/wr/writedisk/package.nix +++ b/pkgs/by-name/wr/writedisk/package.nix @@ -5,12 +5,12 @@ pkg-config, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "writedisk"; version = "1.3.0"; src = fetchCrate { - inherit version; + inherit (finalAttrs) version; pname = "writedisk"; hash = "sha256-MZFnNb8rJMu/nlH8rfnD//bhqPSkhyXucbTrwsRM9OY="; }; @@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ devhell ]; }; -} +}) diff --git a/pkgs/by-name/wt/wthrr/package.nix b/pkgs/by-name/wt/wthrr/package.nix index ebba9dad686f..c30cbed6039c 100644 --- a/pkgs/by-name/wt/wthrr/package.nix +++ b/pkgs/by-name/wt/wthrr/package.nix @@ -6,14 +6,14 @@ openssl, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "wthrr"; version = "1.2.1"; src = fetchFromGitHub { owner = "ttytm"; repo = "wthrr-the-weathercrab"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-8o84FFdcEPRtbsxWCc97tTGGownxlhpIM71GiBRT6uM="; }; @@ -36,9 +36,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Weather companion for the terminal"; homepage = "https://github.com/ttytm/wthrr-the-weathercrab"; - changelog = "https://github.com/ttytm/wthrr-the-weathercrab/releases/tag/${src.rev}"; + changelog = "https://github.com/ttytm/wthrr-the-weathercrab/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.matthiasbeyer ]; mainProgram = "wthrr"; }; -} +}) diff --git a/pkgs/by-name/x4/x4/package.nix b/pkgs/by-name/x4/x4/package.nix index 21e25c496e2e..52d51b8ea4fc 100644 --- a/pkgs/by-name/x4/x4/package.nix +++ b/pkgs/by-name/x4/x4/package.nix @@ -7,14 +7,14 @@ zlib, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "x4"; version = "0.1.0"; src = fetchFromGitHub { owner = "pwnwriter"; repo = "x4"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-IF+8lu56fzYM79p7MiNpVLFIs2GKPlzw5pNXD/hT6BM="; }; @@ -36,9 +36,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Execute shell commands to server(s) via ssh protocol"; homepage = "https://github.com/pwnwriter/x4"; - changelog = "https://github.com/pwnwriter/x4/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/pwnwriter/x4/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ pwnwriter ]; mainProgram = "x4"; }; -} +}) diff --git a/pkgs/by-name/xa/xan/package.nix b/pkgs/by-name/xa/xan/package.nix index 9e4950eb39f8..64ba714ac159 100644 --- a/pkgs/by-name/xa/xan/package.nix +++ b/pkgs/by-name/xa/xan/package.nix @@ -3,14 +3,14 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "xan"; version = "0.54.1"; src = fetchFromGitHub { owner = "medialab"; repo = "xan"; - tag = version; + tag = finalAttrs.version; hash = "sha256-21NJ9j3WTzAqJypjNNQRn8XUvlpj50ZO+h/+l1dRxUw="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ NotAShelf ]; mainProgram = "xan"; }; -} +}) diff --git a/pkgs/by-name/xc/xcolor/package.nix b/pkgs/by-name/xc/xcolor/package.nix index 1f30e53039b2..129190a3dbe6 100644 --- a/pkgs/by-name/xc/xcolor/package.nix +++ b/pkgs/by-name/xc/xcolor/package.nix @@ -12,14 +12,14 @@ copyDesktopItems, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "xcolor"; version = "0.5.1"; src = fetchFromGitHub { owner = "Soft"; repo = "xcolor"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-NfmoBZek4hsga6RflE5EKkWarhCFIcTwEXhg2fpkxNE="; }; @@ -65,4 +65,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.mit; mainProgram = "xcolor"; }; -} +}) diff --git a/pkgs/by-name/xd/xdg-terminal-exec-mkhl/package.nix b/pkgs/by-name/xd/xdg-terminal-exec-mkhl/package.nix index f0c1c5b31db6..6bd533a8a6f6 100644 --- a/pkgs/by-name/xd/xdg-terminal-exec-mkhl/package.nix +++ b/pkgs/by-name/xd/xdg-terminal-exec-mkhl/package.nix @@ -3,14 +3,14 @@ rustPlatform, fetchFromCodeberg, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "xdg-terminal-exec-mkhl"; version = "0.2.0"; src = fetchFromCodeberg { owner = "mkhl"; repo = "xdg-terminal-exec"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-iVp+tg+OujMMddKsQ/T9wyqh/Jk/j/jQgsl23uQA/iM="; }; @@ -23,4 +23,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ quantenzitrone ]; platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/xi/xidlehook/package.nix b/pkgs/by-name/xi/xidlehook/package.nix index 7c4134448272..e2e84aa71d23 100644 --- a/pkgs/by-name/xi/xidlehook/package.nix +++ b/pkgs/by-name/xi/xidlehook/package.nix @@ -12,7 +12,7 @@ patchelf, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "xidlehook"; version = "0.10.0"; @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitLab { owner = "jD91mZM2"; repo = "xidlehook"; - rev = version; + rev = finalAttrs.version; sha256 = "1pl7f8fhxfcy0c6c08vkagp0x1ak96vc5wgamigrk1nkd6l371lb"; }; @@ -57,4 +57,4 @@ rustPlatform.buildRustPackage rec { badPlatforms = lib.platforms.darwin; mainProgram = "xidlehook"; }; -} +}) diff --git a/pkgs/by-name/xi/xiu/package.nix b/pkgs/by-name/xi/xiu/package.nix index 1158ae51b174..1b3607b4eab6 100644 --- a/pkgs/by-name/xi/xiu/package.nix +++ b/pkgs/by-name/xi/xiu/package.nix @@ -9,14 +9,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "xiu"; version = "0.13.0"; src = fetchFromGitHub { owner = "harlanc"; repo = "xiu"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-EjyvCwqcPkOe69YnDiAExtBNPhsqqGa95ao+bn6wcyA="; }; @@ -39,9 +39,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Simple, high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS"; homepage = "https://github.com/harlanc/xiu"; - changelog = "https://github.com/harlanc/xiu/releases/tag/v${version}"; + changelog = "https://github.com/harlanc/xiu/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ cafkafk ]; mainProgram = "xiu"; }; -} +}) diff --git a/pkgs/by-name/xp/xplr/package.nix b/pkgs/by-name/xp/xplr/package.nix index aebe13048388..2ee2e275b76f 100644 --- a/pkgs/by-name/xp/xplr/package.nix +++ b/pkgs/by-name/xp/xplr/package.nix @@ -4,14 +4,14 @@ rustPlatform, fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "xplr"; version = "1.1.0"; src = fetchFromGitHub { owner = "sayanarijit"; repo = "xplr"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-qldRH0OSfGBfz84i7CnkzOns+occHoeft8PWgdBOvBA="; }; @@ -45,7 +45,7 @@ rustPlatform.buildRustPackage rec { description = "Hackable, minimal, fast TUI file explorer"; mainProgram = "xplr"; homepage = "https://xplr.dev"; - changelog = "https://github.com/sayanarijit/xplr/releases/tag/${src.rev}"; + changelog = "https://github.com/sayanarijit/xplr/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sayanarijit @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { mimame ]; }; -} +}) diff --git a/pkgs/by-name/xr/xrizer/package.nix b/pkgs/by-name/xr/xrizer/package.nix index 4938567012b6..4b4efe3b6afd 100644 --- a/pkgs/by-name/xr/xrizer/package.nix +++ b/pkgs/by-name/xr/xrizer/package.nix @@ -19,14 +19,14 @@ let "x86_64-linux" = "bin/linux64"; }; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "xrizer"; version = "0.4"; src = fetchFromGitHub { owner = "Supreeeme"; repo = "xrizer"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-IRhLWlGHywp0kZe5aGmMHAF1zZwva3sGg68eG1E2K9A="; }; @@ -76,4 +76,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ Scrumplex ]; platforms = builtins.attrNames platformPaths; }; -} +}) diff --git a/pkgs/by-name/xw/xwayland-satellite/package.nix b/pkgs/by-name/xw/xwayland-satellite/package.nix index 1a223e7496dc..dffbad27d2ab 100644 --- a/pkgs/by-name/xw/xwayland-satellite/package.nix +++ b/pkgs/by-name/xw/xwayland-satellite/package.nix @@ -11,14 +11,14 @@ withSystemd ? true, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "xwayland-satellite"; version = "0.8"; src = fetchFromGitHub { owner = "Supreeeme"; repo = "xwayland-satellite"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Qz1WvGdawnoz4dG3JtCtlParmdQHM5xu6osnXeVOqYI="; }; @@ -63,7 +63,7 @@ rustPlatform.buildRustPackage rec { Grants rootless Xwayland integration to any Wayland compositor implementing xdg_wm_base. ''; homepage = "https://github.com/Supreeeme/xwayland-satellite"; - changelog = "https://github.com/Supreeeme/xwayland-satellite/releases/tag/v${version}"; + changelog = "https://github.com/Supreeeme/xwayland-satellite/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ if-loop69420 @@ -73,4 +73,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "xwayland-satellite"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ya/yambar-hyprland-wses/package.nix b/pkgs/by-name/ya/yambar-hyprland-wses/package.nix index 349bd49d8dfe..e7e9bc0eebf0 100644 --- a/pkgs/by-name/ya/yambar-hyprland-wses/package.nix +++ b/pkgs/by-name/ya/yambar-hyprland-wses/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "yambar-hyprland-wses"; version = "0.1.0"; src = fetchFromGitHub { owner = "jonhoo"; repo = "yambar-hyprland-wses"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-furHj1AAFgNiNHP9RBsVrIvrDckSKU8FXilzH9TQ99c="; }; @@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "yambar-hyprland-wses"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ya/yaydl/package.nix b/pkgs/by-name/ya/yaydl/package.nix index 7d5caaf5c19c..dc67ce453c77 100644 --- a/pkgs/by-name/ya/yaydl/package.nix +++ b/pkgs/by-name/ya/yaydl/package.nix @@ -8,14 +8,14 @@ ffmpeg, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "yaydl"; version = "0.19.0"; src = fetchFromGitHub { owner = "dertuxmalwieder"; repo = "yaydl"; - rev = "release-${version}"; + rev = "release-${finalAttrs.version}"; sha256 = "sha256-X5D4kC5P5qHLSlTa9sQUAql1zK+Iut24224wvqihfAY="; }; @@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ ]; mainProgram = "yaydl"; }; -} +}) diff --git a/pkgs/by-name/ye/yew-fmt/package.nix b/pkgs/by-name/ye/yew-fmt/package.nix index d45674b1c69f..2b274fe8f32d 100644 --- a/pkgs/by-name/ye/yew-fmt/package.nix +++ b/pkgs/by-name/ye/yew-fmt/package.nix @@ -6,14 +6,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "yew-fmt"; version = "0.6.3"; src = fetchFromGitHub { owner = "its-the-shrimp"; repo = "yew-fmt"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-bhguDpLRn51NWL/N2CT9tsNS8+RbaL37liCBeUe0ZyY="; }; @@ -25,8 +25,8 @@ rustPlatform.buildRustPackage rec { description = "Code formatter for the Yew framework"; mainProgram = "yew-fmt"; homepage = "https://github.com/its-the-shrimp/yew-fmt"; - changelog = "https://github.com/its-the-shrimp/yew-fmt/releases/tag/v${version}"; + changelog = "https://github.com/its-the-shrimp/yew-fmt/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.dandedotdev ]; }; -} +}) diff --git a/pkgs/by-name/yg/yggdrasil-jumper/package.nix b/pkgs/by-name/yg/yggdrasil-jumper/package.nix index 2b714b184c92..d03f80b28756 100644 --- a/pkgs/by-name/yg/yggdrasil-jumper/package.nix +++ b/pkgs/by-name/yg/yggdrasil-jumper/package.nix @@ -5,14 +5,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "yggdrasil-jumper"; version = "0.4.2"; src = fetchFromGitHub { owner = "one-d-wide"; repo = "yggdrasil-jumper"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-dElC+q76dE3SlVY4+aauNmeqcNdfj0mMjg51WRuywJI="; }; @@ -34,4 +34,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ one-d-wide ]; }; -} +}) diff --git a/pkgs/by-name/yo/yofi/package.nix b/pkgs/by-name/yo/yofi/package.nix index 17974eac6f77..db925945b3e7 100644 --- a/pkgs/by-name/yo/yofi/package.nix +++ b/pkgs/by-name/yo/yofi/package.nix @@ -10,14 +10,14 @@ libgcc, wayland, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "yofi"; version = "0.2.2"; src = fetchFromGitHub { owner = "l4l"; repo = "yofi"; - tag = version; + tag = finalAttrs.version; hash = "sha256-cepAZyA4RBgqeF20g6YOlZTM0aRqErw17yuQ3U24UEg="; }; @@ -61,4 +61,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ rayslash ]; mainProgram = "yofi"; }; -} +}) diff --git a/pkgs/by-name/yo/youki/package.nix b/pkgs/by-name/yo/youki/package.nix index 3c5ce7d2fed3..f57102b12194 100644 --- a/pkgs/by-name/yo/youki/package.nix +++ b/pkgs/by-name/yo/youki/package.nix @@ -11,14 +11,14 @@ stdenv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "youki"; version = "0.5.7"; src = fetchFromGitHub { owner = "containers"; repo = "youki"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-b2R9/ADoZfRSu1Qh7hImR1Y+ZX15Uhk7JFwD8ipec6o="; }; @@ -58,10 +58,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Container runtime written in Rust"; homepage = "https://containers.github.io/youki/"; - changelog = "https://github.com/containers/youki/releases/tag/v${version}"; + changelog = "https://github.com/containers/youki/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ builditluc ]; platforms = lib.platforms.linux; mainProgram = "youki"; }; -} +}) diff --git a/pkgs/by-name/yo/youtube-tui/package.nix b/pkgs/by-name/yo/youtube-tui/package.nix index d5010b41531c..a4ad7ab33654 100644 --- a/pkgs/by-name/yo/youtube-tui/package.nix +++ b/pkgs/by-name/yo/youtube-tui/package.nix @@ -12,14 +12,14 @@ mpv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "youtube-tui"; version = "0.9.3"; src = fetchFromGitHub { owner = "Siriusmart"; repo = "youtube-tui"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-a2Y0CATnKmZsYr3eUch3EUgHw41X1a2iOP0CjEJLXnc="; }; @@ -51,4 +51,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ Ruixi-rebirth ]; mainProgram = "youtube-tui"; }; -} +}) diff --git a/pkgs/by-name/yt/ytermusic/package.nix b/pkgs/by-name/yt/ytermusic/package.nix index 427862a9a177..8897f7912ad4 100644 --- a/pkgs/by-name/yt/ytermusic/package.nix +++ b/pkgs/by-name/yt/ytermusic/package.nix @@ -8,14 +8,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "ytermusic"; version = "0.1.0"; src = fetchFromGitHub { owner = "ccgauche"; repo = "ytermusic"; - tag = "beta-${version}"; + tag = "beta-${finalAttrs.version}"; hash = "sha256-nu/vedQNs5TgCG1v5qwwDTnFTyXCS2KnLVrnEhCtzCs="; }; @@ -43,9 +43,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "TUI based Youtube Music Player that aims to be as fast and simple as possible"; homepage = "https://github.com/ccgauche/ytermusic"; - changelog = "https://github.com/ccgauche/ytermusic/releases/tag/${src.tag}"; + changelog = "https://github.com/ccgauche/ytermusic/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ codebam ]; mainProgram = "ytermusic"; }; -} +}) diff --git a/pkgs/by-name/ze/zenith/package.nix b/pkgs/by-name/ze/zenith/package.nix index 1f311bfcffe4..612be65a8d60 100644 --- a/pkgs/by-name/ze/zenith/package.nix +++ b/pkgs/by-name/ze/zenith/package.nix @@ -6,14 +6,14 @@ makeWrapper, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zenith"; version = "0.14.3"; src = fetchFromGitHub { owner = "bvaisvil"; repo = "zenith"; - rev = version; + rev = finalAttrs.version; hash = "sha256-D/o8JmKLiT8LhmJ6q2h7f5vJQNXAN5aCislxwDw9yqo="; }; @@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ wegank ]; platforms = if nvidiaSupport then lib.platforms.linux else lib.platforms.unix; }; -} +}) diff --git a/pkgs/by-name/ze/zenoh-backend-filesystem/package.nix b/pkgs/by-name/ze/zenoh-backend-filesystem/package.nix index 38185e3c6c32..ba3cba96ee13 100644 --- a/pkgs/by-name/ze/zenoh-backend-filesystem/package.nix +++ b/pkgs/by-name/ze/zenoh-backend-filesystem/package.nix @@ -8,14 +8,14 @@ rocksdb, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zenoh-backend-filesystem"; version = "1.4.0"; # nixpkgs-update: no auto update src = fetchFromGitHub { owner = "eclipse-zenoh"; repo = "zenoh-backend-filesystem"; - tag = version; + tag = finalAttrs.version; hash = "sha256-aMIVBs3K9h2aVPuaU5DzOjm3xzpHJn8MnjxdCDCANCw="; }; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ markuskowa ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ze/zenoh-backend-influxdb/package.nix b/pkgs/by-name/ze/zenoh-backend-influxdb/package.nix index d22327193eb9..9bc1415c6a5a 100644 --- a/pkgs/by-name/ze/zenoh-backend-influxdb/package.nix +++ b/pkgs/by-name/ze/zenoh-backend-influxdb/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zenoh-backend-influxdb"; version = "1.4.0"; # nixpkgs-update: no auto update src = fetchFromGitHub { owner = "eclipse-zenoh"; repo = "zenoh-backend-influxdb"; - tag = version; + tag = finalAttrs.version; hash = "sha256-OwIVaWy3rgnn9Cm7sqBvFua2FOCgMQBoxPh+8HkvpB0="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ markuskowa ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ze/zenoh-backend-rocksdb/package.nix b/pkgs/by-name/ze/zenoh-backend-rocksdb/package.nix index 52a2234f4d63..1746fb0eb7b0 100644 --- a/pkgs/by-name/ze/zenoh-backend-rocksdb/package.nix +++ b/pkgs/by-name/ze/zenoh-backend-rocksdb/package.nix @@ -8,14 +8,14 @@ rocksdb, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zenoh-backend-rocksdb"; version = "1.4.0"; # nixpkgs-update: no auto update src = fetchFromGitHub { owner = "eclipse-zenoh"; repo = "zenoh-backend-rocksdb"; - tag = version; + tag = finalAttrs.version; hash = "sha256-7IXBzrtab7NNskO6JkPkXGxqnAFmVyIe7dLqbYAKyLs="; }; @@ -47,4 +47,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ markuskowa ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ze/zenoh-plugin-mqtt/package.nix b/pkgs/by-name/ze/zenoh-plugin-mqtt/package.nix index 52252ffecb8d..ecb0ce0aacc9 100644 --- a/pkgs/by-name/ze/zenoh-plugin-mqtt/package.nix +++ b/pkgs/by-name/ze/zenoh-plugin-mqtt/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zenoh-plugin-mqtt"; version = "1.4.0"; # nixpkgs-update: no auto update src = fetchFromGitHub { owner = "eclipse-zenoh"; repo = "zenoh-plugin-mqtt"; - tag = version; + tag = finalAttrs.version; hash = "sha256-ijoKL8TReNER3a9dwsPeh56l1Ze2rz6jN6L9rYQLYRU="; }; @@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.linux; mainProgram = "zenoh-bridge-mqtt"; }; -} +}) diff --git a/pkgs/by-name/ze/zenoh-plugin-webserver/package.nix b/pkgs/by-name/ze/zenoh-plugin-webserver/package.nix index 9a6426e25f9b..a8cb522bb938 100644 --- a/pkgs/by-name/ze/zenoh-plugin-webserver/package.nix +++ b/pkgs/by-name/ze/zenoh-plugin-webserver/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zenoh-plugin-webserver"; version = "1.4.0"; # nixpkgs-update: no auto update src = fetchFromGitHub { owner = "eclipse-zenoh"; repo = "zenoh-plugin-webserver"; - tag = version; + tag = finalAttrs.version; hash = "sha256-R+MLM42m3UTBFHqCAGezU4jz0Hi1+X2W1Yje7+ctl6k="; }; @@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ markuskowa ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ze/zenoh/package.nix b/pkgs/by-name/ze/zenoh/package.nix index a73b5c0f73e1..9a4aee622eeb 100644 --- a/pkgs/by-name/ze/zenoh/package.nix +++ b/pkgs/by-name/ze/zenoh/package.nix @@ -6,14 +6,14 @@ testers, zenoh, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zenoh"; version = "1.4.0"; # nixpkgs-update: no auto update src = fetchFromGitHub { owner = "eclipse-zenoh"; repo = "zenoh"; - rev = version; + rev = finalAttrs.version; hash = "sha256-XibcNrT9R8gdOnf4BtOi5Jqu+4XjeWngA3i/MXnkfn8="; }; @@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec { passthru.tests = { version = testers.testVersion { package = zenoh; - version = "v" + version; + version = "v" + finalAttrs.version; }; zenohd = nixosTests.zenohd; }; @@ -46,10 +46,10 @@ rustPlatform.buildRustPackage rec { description = "Communication protocol that combines pub/sub with key value storage and computation"; longDescription = "Zenoh unifies data in motion, data in-use, data at rest and computations. It carefully blends traditional pub/sub with geo-distributed storages, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks"; homepage = "https://zenoh.io"; - changelog = "https://github.com/eclipse-zenoh/zenoh/releases/tag/${src.rev}"; + changelog = "https://github.com/eclipse-zenoh/zenoh/releases/tag/${finalAttrs.src.rev}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ ck3d ]; mainProgram = "zenohd"; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/by-name/ze/zeronsd/package.nix b/pkgs/by-name/ze/zeronsd/package.nix index 85370279f2c8..907c83e42ea7 100644 --- a/pkgs/by-name/ze/zeronsd/package.nix +++ b/pkgs/by-name/ze/zeronsd/package.nix @@ -7,14 +7,14 @@ rustfmt, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zeronsd"; version = "0.5.2"; src = fetchFromGitHub { owner = "zerotier"; repo = "zeronsd"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-TL0bgzQgge6j1SpZCdxv/s4pBMSg4/3U5QisjkVE6BE="; }; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { license = lib.licenses.bsd3; maintainers = [ lib.maintainers.dstengele ]; }; -} +}) diff --git a/pkgs/by-name/zk/zktree/package.nix b/pkgs/by-name/zk/zktree/package.nix index f9aef10072a3..003f54d3e822 100644 --- a/pkgs/by-name/zk/zktree/package.nix +++ b/pkgs/by-name/zk/zktree/package.nix @@ -4,14 +4,14 @@ rustPlatform, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zktree"; version = "0.0.1"; src = fetchFromGitHub { owner = "alirezameskin"; repo = "zktree"; - rev = version; + rev = finalAttrs.version; sha256 = "11w86k1w5zryiq6bqr98pjhffd3l76377yz53qx0n76vc5374fk9"; }; @@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ alirezameskin ]; mainProgram = "zktree"; }; -} +}) diff --git a/pkgs/by-name/zo/zola/package.nix b/pkgs/by-name/zo/zola/package.nix index 90e53739af5d..8505e0be2f2f 100644 --- a/pkgs/by-name/zo/zola/package.nix +++ b/pkgs/by-name/zo/zola/package.nix @@ -10,14 +10,14 @@ testers, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zola"; version = "0.22.1"; src = fetchFromGitHub { owner = "getzola"; repo = "zola"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-mynoXNJE7IcP/0bMLUr/pJQbaEVEj2q/488Z4c9Tr5A="; }; @@ -47,7 +47,7 @@ rustPlatform.buildRustPackage rec { description = "Fast static site generator with everything built-in"; mainProgram = "zola"; homepage = "https://www.getzola.org/"; - changelog = "https://github.com/getzola/zola/raw/v${version}/CHANGELOG.md"; + changelog = "https://github.com/getzola/zola/raw/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dandellion @@ -55,4 +55,4 @@ rustPlatform.buildRustPackage rec { _0x4A6F ]; }; -} +}) diff --git a/pkgs/by-name/zo/zoxide/package.nix b/pkgs/by-name/zo/zoxide/package.nix index 1022fed3c33c..ac09a23bd3b1 100644 --- a/pkgs/by-name/zo/zoxide/package.nix +++ b/pkgs/by-name/zo/zoxide/package.nix @@ -9,14 +9,14 @@ libiconv, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zoxide"; version = "0.9.9"; src = fetchFromGitHub { owner = "ajeetdsouza"; repo = "zoxide"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-2scJ5/+A3ZSpIdce5GLYqxjc0so9sVsYiXNULmjMzLY="; }; @@ -42,7 +42,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Fast cd command that learns your habits"; homepage = "https://github.com/ajeetdsouza/zoxide"; - changelog = "https://github.com/ajeetdsouza/zoxide/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/ajeetdsouza/zoxide/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ ysndr @@ -53,4 +53,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "zoxide"; }; -} +}) diff --git a/pkgs/by-name/zp/zpool-auto-expand-partitions/package.nix b/pkgs/by-name/zp/zpool-auto-expand-partitions/package.nix index 99ae000a638f..d413b680ee36 100644 --- a/pkgs/by-name/zp/zpool-auto-expand-partitions/package.nix +++ b/pkgs/by-name/zp/zpool-auto-expand-partitions/package.nix @@ -7,14 +7,14 @@ util-linux, zfs, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zpool-auto-expand-partitions"; version = "0.1.1"; src = fetchFromGitHub { owner = "DeterminateSystems"; repo = "zpool-auto-expand-partitions"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-N1znZbJULEeNR4ABSrUtHHkmz08N+CZqX6Ni7jFzc4c="; }; @@ -44,4 +44,4 @@ rustPlatform.buildRustPackage rec { maintainers = [ lib.maintainers.cole-h ]; mainProgram = "zpool_part_disks"; }; -} +}) diff --git a/pkgs/by-name/zr/zram-generator/package.nix b/pkgs/by-name/zr/zram-generator/package.nix index 038c6813287a..9952bcf85764 100644 --- a/pkgs/by-name/zr/zram-generator/package.nix +++ b/pkgs/by-name/zr/zram-generator/package.nix @@ -11,14 +11,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "zram-generator"; version = "1.2.1"; src = fetchFromGitHub { owner = "systemd"; repo = "zram-generator"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-aGBvvjGKZ5biruwmJ0ITakqPhTWs9hspRIE9QirqstA="; }; @@ -77,4 +77,4 @@ rustPlatform.buildRustPackage rec { description = "Systemd unit generator for zram devices"; maintainers = with lib.maintainers; [ nickcao ]; }; -} +})