various: switch buildRustPackage packages to finalAttrs pattern

this shouldn't create any rebuilds

the move was done with the following script
```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
    # pname
    sd -F 'pname}' 'finalAttrs.pname}' $file
    sd -F '${pname' '${finalAttrs.pname' $file
    sd -F '= pname' '= finalAttrs.pname' $file
    sd -F 'inherit pname;' 'inherit (finalAttrs) pname;' $file
    # combinations
    sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
    sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
    sd -F 'inherit version pname;' 'inherit (finalAttrs) version pname;' $file
    sd -F 'inherit pname version;' 'inherit (finalAttrs) pname version;' $file
    sd -F 'inherit pname src version;' 'inherit (finalAttrs) pname src version;' $file
    sd -F 'inherit pname version src;' 'inherit (finalAttrs) pname version src;' $file
    sd -F 'inherit src pname version;' 'inherit (finalAttrs) src pname version;' $file
    sd -F 'inherit src version pname;' 'inherit (finalAttrs) src version pname;' $file
    sd -F 'inherit version pname src;' 'inherit (finalAttrs) version pname src;' $file
    sd -F 'inherit version src pname;' 'inherit (finalAttrs) version src pname;' $file
    # meta
    sd -F '${meta' '${finalAttrs.meta' $file
    sd -F '= meta' '= finalAttrs.meta' $file
    sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
    # cargo
    sd -F 'cargoRoot}' 'finalAttrs.cargoRoot}' $file
    sd -F '${cargoRoot' '${finalAttrs.cargoRoot' $file
    sd -F '= cargoRoot' '= finalAttrs.cargoRoot' $file
    sd -F 'cargoBuildFlags}' 'finalAttrs.cargoBuildFlags}' $file
    sd -F '${cargoBuildFlags' '${finalAttrs.cargoBuildFlags' $file
    sd -F '= cargoBuildFlags' '= finalAttrs.cargoBuildFlags' $file
    # patches
    sd -F 'patches}' 'finalAttrs.patches}' $file
    sd -F '${patches' '${finalAttrs.patches' $file
    sd -F '= patches' '= finalAttrs.patches' $file
    # passthru
    sd -F 'passthru}' 'finalAttrs.passthru}' $file
    sd -F '${passthru' '${finalAttrs.passthru' $file
    sd -F '= passthru' '= finalAttrs.passthru' $file
    # *buildInputs
    sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
    sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
    sd -F 'nativeBuildInputs}' 'finalAttrs.nativeBuildInputs}' $file
    sd -F 'propagatedBuildInputs}' 'finalAttrs.propagatedBuildInputs}' $file
    # other
    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
    # 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:
- restore all files that cause merge conflicts with staging

# Conflicts:
#	pkgs/by-name/ca/cargo-chef/package.nix
#	pkgs/by-name/ca/cargo-public-api/package.nix
#	pkgs/by-name/ca/cargo-update/package.nix
#	pkgs/by-name/le/leetcode-cli/package.nix
This commit is contained in:
quantenzitrone
2026-03-06 11:50:26 +01:00
parent 2e510a6687
commit ca363a08a9
163 changed files with 590 additions and 590 deletions
+4 -4
View File
@@ -14,14 +14,14 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "amdgpu_top";
version = "0.11.2";
src = fetchFromGitHub {
owner = "Umio-Yasuno";
repo = "amdgpu_top";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-yw73bKO91O05WBQNwjcQ+AqxYgGXXC7XJzUnMx5/IWc=";
};
@@ -45,7 +45,7 @@ rustPlatform.buildRustPackage rec {
'';
postFixup = ''
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $out/bin/${pname}
patchelf --set-rpath "${lib.makeLibraryPath finalAttrs.buildInputs}" $out/bin/${finalAttrs.pname}
'';
passthru.updateScript = nix-update-script { };
@@ -62,4 +62,4 @@ rustPlatform.buildRustPackage rec {
platforms = lib.platforms.linux;
mainProgram = "amdgpu_top";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "ansi-escape-sequences-cli";
version = "0.2.2";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-55CdEw1bVgabWRbZIRe9jytwDf70Y92nITwDRQaTXaQ=";
};
@@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ phip1611 ];
mainProgram = "ansi";
};
}
})
+4 -4
View File
@@ -6,12 +6,12 @@
pkg-config,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "apkeep";
version = "0.18.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Sk8CQaMXtPPJh2nGgGthyzuvkVViQ0jtqPjAqo2dtpg=";
};
@@ -32,9 +32,9 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Command-line tool for downloading APK files from various sources";
homepage = "https://github.com/EFForg/apkeep";
changelog = "https://github.com/EFForg/apkeep/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/EFForg/apkeep/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "apkeep";
};
}
})
+4 -4
View File
@@ -4,17 +4,17 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asahi-bless";
version = "0.4.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-SNaA+CEuCBwo4c54qWGs5AdkBYb9IWY1cQ0dRd/noe8=";
};
cargoHash = "sha256-nfSJ9RkzFAWlxlfoUKk8ZmIXDJXoSyHCGgRgMy9FDkw=";
cargoDepsName = pname;
cargoDepsName = finalAttrs.pname;
meta = {
description = "Tool to select active boot partition on ARM Macs";
@@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "asahi-bless";
platforms = lib.platforms.linux;
};
}
})
+4 -4
View File
@@ -4,17 +4,17 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asahi-btsync";
version = "0.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-jp05WcwY1cWh4mBQj+3jRCZoG32OhDvTB84hOAGemX8=";
};
cargoHash = "sha256-gGWhi0T7xDIsbzfw/KL3TSneLvQaiz/2xbpHeZt1i3I=";
cargoDepsName = pname;
cargoDepsName = finalAttrs.pname;
meta = {
description = "Tool to sync Bluetooth pairing keys with macos on ARM Macs";
@@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "asahi-btsync";
platforms = lib.platforms.linux;
};
}
})
+4 -4
View File
@@ -4,17 +4,17 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asahi-nvram";
version = "0.2.3";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-zfUvPHAPrYhzgeiirGuqZaWnLBH0PHsqOUy2e972bWM=";
};
cargoHash = "sha256-NW/puo/Xoum7DjSQjBgilQcKbY3mAfVgXxUK6+1H1JI=";
cargoDepsName = pname;
cargoDepsName = finalAttrs.pname;
meta = {
description = "Tool to read and write nvram variables on ARM Macs";
@@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "asahi-nvram";
platforms = lib.platforms.linux;
};
}
})
+4 -4
View File
@@ -4,17 +4,17 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asahi-wifisync";
version = "0.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-wKd6rUUnegvl6cHODVQlllaOXuAGlmwx9gr73I/2l/c=";
};
cargoHash = "sha256-ZxgRxQyDID3mBpr8dhHScctk14Pm9V51Gn24d24JyVk=";
cargoDepsName = pname;
cargoDepsName = finalAttrs.pname;
meta = {
description = "Tool to sync Wifi passwords with macos on ARM Macs";
@@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "asahi-wifisync";
platforms = lib.platforms.linux;
};
}
})
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "asciinema-scenario";
version = "0.3.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-fnX5CIYLdFqi04PQPVIAYDGn+xXi016l8pPcIrYIhmQ=";
};
@@ -21,4 +21,4 @@ rustPlatform.buildRustPackage rec {
license = with lib.licenses; [ mit ];
mainProgram = "asciinema-scenario";
};
}
})
+5 -5
View File
@@ -10,14 +10,14 @@
zlib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "authoscope";
version = "0.8.1";
src = fetchFromGitHub {
owner = "kpcyrd";
repo = "authoscope";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-SKgb/N249s0+Rb59moBT/MeFb4zAAElCMQJto0diyUk=";
};
@@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec {
];
postInstall = ''
installManPage docs/${pname}.1
installManPage docs/${finalAttrs.pname}.1
'';
# Tests requires access to httpin.org
@@ -46,8 +46,8 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Scriptable network authentication cracker";
homepage = "https://github.com/kpcyrd/authoscope";
changelog = "https://github.com/kpcyrd/authoscope/releases/tag/v${version}";
changelog = "https://github.com/kpcyrd/authoscope/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ fab ];
};
}
})
+4 -4
View File
@@ -4,13 +4,13 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "bao";
version = "0.13.1";
src = fetchCrate {
inherit version;
pname = "${pname}_bin";
inherit (finalAttrs) version;
pname = "${finalAttrs.pname}_bin";
hash = "sha256-8h5otpu3z2Hgy0jMCITJNr8Q4iVdlR5Lea2X+WuenWs=";
};
@@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "bao";
};
}
})
+3 -3
View File
@@ -6,12 +6,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "bk";
version = "0.6.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-rSMvx/zUZqRRgj48TVVG7RwQT8e70m0kertRJysDY4Y=";
};
@@ -39,4 +39,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ vuimuich ];
mainProgram = "bk";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "book-summary";
version = "0.2.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-dxM6bqgHp4IaG03NriHvoT3al2u5Sz/I5ajlgzpjG1c=";
};
@@ -21,4 +21,4 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/dvogt23/book-summary";
license = lib.licenses.mit;
};
}
})
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-all-features";
version = "1.12.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-pD0lyI2zSOeEDk1Lch4Qf5mo8Z8Peiy2XF5iQ62vsaI=";
};
@@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-apk";
version = "0.9.6";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-1vCrM+0SNefd7FrRXnSjLhM3/MSVJfcL4k1qAstX+/A=";
};
@@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec {
];
maintainers = with lib.maintainers; [ nickcao ];
};
}
})
+4 -4
View File
@@ -7,12 +7,12 @@
zlib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-audit";
version = "0.22.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Ha2yVyu9331NaqiW91NEwCTIeW+3XPiqZzmatN5KOws=";
};
@@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec {
description = "Audit Cargo.lock files for crates with security vulnerabilities";
mainProgram = "cargo-audit";
homepage = "https://rustsec.org";
changelog = "https://github.com/rustsec/rustsec/blob/cargo-audit/v${version}/cargo-audit/CHANGELOG.md";
changelog = "https://github.com/rustsec/rustsec/blob/cargo-audit/v${finalAttrs.version}/cargo-audit/CHANGELOG.md";
license = with lib.licenses; [
mit # or
asl20
@@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec {
jk
];
};
}
})
+3 -3
View File
@@ -6,12 +6,12 @@
libz,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-bazel";
version = "0.17.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-KWcxZxzDbiBfBpr37M6HoqHMCYXq6sTVxU9KR3PIiJc=";
};
@@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ rickvanprim ];
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-binutils";
version = "0.4.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-AF1MRBH8ULnHNHT2FS/LxMH+b06QMTIZMIR8mmkn17c=";
};
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
In order for this to work, you either need to run `rustup component add llvm-tools` or install the `llvm-tools` component using your Nix library (e.g. fenix or rust-overlay)
'';
homepage = "https://github.com/rust-embedded/cargo-binutils";
changelog = "https://github.com/rust-embedded/cargo-binutils/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/rust-embedded/cargo-binutils/blob/v${finalAttrs.version}/CHANGELOG.md";
license = with lib.licenses; [
asl20
mit
@@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec {
newam
];
};
}
})
+3 -3
View File
@@ -8,12 +8,12 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-bolero";
version = "0.13.4";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-lfBpHaY2UCBMg45S4IW8fcpkGkKJoT4qqR2yq5KiXuE=";
};
@@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec {
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ ekleog ];
};
}
})
+5 -5
View File
@@ -14,13 +14,13 @@ let
# this version may need to be updated along with package version
cargoVersion = "0.93.0";
in
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-c";
version = "0.10.19";
src = fetchCrate {
inherit pname;
version = "${version}+cargo-${cargoVersion}";
inherit (finalAttrs) pname;
version = "${finalAttrs.version}+cargo-${cargoVersion}";
hash = "sha256-PrBmB+0tmU2MAUnRr+wx4g9hu0Y9i6WfR8U89bwiLVY=";
};
@@ -63,11 +63,11 @@ rustPlatform.buildRustPackage rec {
to be used by any C (and C-compatible) software.
'';
homepage = "https://github.com/lu-zero/cargo-c";
changelog = "https://github.com/lu-zero/cargo-c/releases/tag/v${version}";
changelog = "https://github.com/lu-zero/cargo-c/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
cpu
matthiasbeyer
];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-chef";
version = "0.1.75";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-FETYJrx5+yNOzMVIgJQ0yNLi2PB7cA128n8hAXIhx3E=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kkharji ];
};
}
})
+3 -3
View File
@@ -8,14 +8,14 @@
curl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-cyclonedx";
version = "0.5.7";
src = fetchFromGitHub {
owner = "CycloneDX";
repo = "cyclonedx-rust-cargo";
rev = "${pname}-${version}";
rev = "${finalAttrs.pname}-${finalAttrs.version}";
hash = "sha256-T/9eHI2P8eCZAqMTeZz1yEi5nljQWfHrdNiU3h3h74U=";
};
@@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ nikstur ];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
lib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-gra";
version = "0.6.2";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-JbBcpp/E3WlQrwdxMsbSdmIEnDTQj/1XDwAWJsniRu0=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ bot-wxt1221 ];
platforms = lib.platforms.unix;
};
}
})
+3 -3
View File
@@ -6,12 +6,12 @@
libusb1,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-hf2";
version = "0.3.3";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-0o3j7YfgNNnfbrv9Gppo24DqYlDCxhtsJHIhAV214DU=";
};
@@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec {
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ astrobeastie ];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-license";
version = "0.7.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-bOBrjChkQM6POZZn53JmJcIn1x+ygF5mthZihMskxIk=";
};
@@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-lock";
version = "11.0.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Gz459c2IWD19RGBg2TyHbI/VNCelha+R0FeNkAaHksU=";
};
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
description = "Self-contained Cargo.lock parser with graph analysis";
mainProgram = "cargo-lock";
homepage = "https://github.com/rustsec/rustsec/tree/main/cargo-lock";
changelog = "https://github.com/rustsec/rustsec/blob/cargo-lock/v${version}/cargo-lock/CHANGELOG.md";
changelog = "https://github.com/rustsec/rustsec/blob/cargo-lock/v${finalAttrs.version}/cargo-lock/CHANGELOG.md";
license = with lib.licenses; [
asl20 # or
mit
@@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-mommy";
version = "0.3.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-2WR6xUYL/bLgZlI4ADbPAtdLq0y4MoVP8Loxdu/58Wc=";
};
@@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec {
];
maintainers = with lib.maintainers; [ GoldsteinE ];
};
}
})
+4 -4
View File
@@ -7,12 +7,12 @@
openssl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-public-api";
version = "0.51.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-fnkoIXv6QYJPYtsLZldOEjOxke6YVDEds3jF5SGZGKE=";
};
@@ -32,8 +32,8 @@ rustPlatform.buildRustPackage rec {
description = "List and diff the public API of Rust library crates between releases and commits. Detect breaking API changes and semver violations";
mainProgram = "cargo-public-api";
homepage = "https://github.com/Enselic/cargo-public-api";
changelog = "https://github.com/Enselic/cargo-public-api/releases/tag/v${version}";
changelog = "https://github.com/Enselic/cargo-public-api/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ matthiasbeyer ];
};
}
})
+4 -4
View File
@@ -7,12 +7,12 @@
openssl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-rail";
version = "0.7.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-L8yh47lYvXVGOr8jDZ4Gk2rIfUnr88q9OR5/iDrJua0=";
};
@@ -60,9 +60,9 @@ rustPlatform.buildRustPackage rec {
description = "Graph-aware monorepo orchestration for Rust workspaces";
mainProgram = "cargo-rail";
homepage = "https://github.com/loadingalias/cargo-rail";
changelog = "https://github.com/loadingalias/cargo-rail/releases/tag/v${version}";
changelog = "https://github.com/loadingalias/cargo-rail/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ matthiasbeyer ];
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-run-bin";
version = "1.7.4";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-79DJ6j2sai1dTdcXf0qD97TCNZuGRSUobLGahoApMss=";
};
@@ -22,11 +22,11 @@ rustPlatform.buildRustPackage rec {
description = "Build, cache, and run binaries scoped in Cargo.toml rather than installing globally. This acts similarly to npm run and gomodrun, and allows your teams to always be running the same tooling versions";
mainProgram = "cargo-bin";
homepage = "https://github.com/dustinblackman/cargo-run-bin";
changelog = "https://github.com/dustinblackman/cargo-run-bin/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/dustinblackman/cargo-run-bin/blob/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
mightyiam
matthiasbeyer
];
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-tally";
version = "1.0.73";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-aYVo/mI4YoohwxXoIL9vpuPN526sPnQMV1PnUqJEO2U=";
};
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
description = "Graph the number of crates that depend on your crate over time";
mainProgram = "cargo-tally";
homepage = "https://github.com/dtolnay/cargo-tally";
changelog = "https://github.com/dtolnay/cargo-tally/releases/tag/${version}";
changelog = "https://github.com/dtolnay/cargo-tally/releases/tag/${finalAttrs.version}";
license = with lib.licenses; [
asl20 # or
mit
@@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-toml-lint";
version = "0.1.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-U3y9gnFvkqJmyFqRAUQorJQY0iRzAE9UUXzFmgZIyaM=";
};
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
description = "Simple linter for Cargo.toml manifests";
mainProgram = "cargo-toml-lint";
homepage = "https://github.com/fuellabs/cargo-toml-lint";
changelog = "https://github.com/fuellabs/cargo-toml-lint/releases/tag/v${version}";
changelog = "https://github.com/fuellabs/cargo-toml-lint/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
asl20 # or
mit
@@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+4 -4
View File
@@ -16,12 +16,12 @@
libxcb,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-ui";
version = "0.3.3";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-M/ljgtTHMSc7rY/a8CpKGNuOSdVDwRt6+tzPPHdpKOw=";
};
@@ -64,7 +64,7 @@ rustPlatform.buildRustPackage rec {
description = "GUI for Cargo";
mainProgram = "cargo-ui";
homepage = "https://github.com/slint-ui/cargo-ui";
changelog = "https://github.com/slint-ui/cargo-ui/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/slint-ui/cargo-ui/blob/v${finalAttrs.version}/CHANGELOG.md";
license = with lib.licenses; [
mit
asl20
@@ -74,4 +74,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
@@ -8,12 +8,12 @@
openssl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-unused-features";
version = "0.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-gdwIbbQDw/DgBV9zY2Rk/oWjPv1SS/+oFnocsMo2Axo=";
};
@@ -43,4 +43,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "unused-features";
};
}
})
+4 -4
View File
@@ -14,12 +14,12 @@
zlib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-update";
version = "18.1.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-q7o9CPz9d4cBkrrnp2JY4CZiYkKx/ebVlrS4D34RbIo=";
};
@@ -63,7 +63,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Cargo subcommand for checking and applying updates to installed executables";
homepage = "https://github.com/nabijaczleweli/cargo-update";
changelog = "https://github.com/nabijaczleweli/cargo-update/releases/tag/v${version}";
changelog = "https://github.com/nabijaczleweli/cargo-update/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
gerschtli
@@ -71,4 +71,4 @@ rustPlatform.buildRustPackage rec {
matthiasbeyer
];
};
}
})
+4 -4
View File
@@ -8,12 +8,12 @@
zlib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-workspaces";
version = "0.4.2";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-/h7v5Wq7YsNMVzLHw3QQmcknbjARpI7HFPAUGX72wZ0=";
};
@@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec {
commands and more.
'';
homepage = "https://github.com/pksunkara/cargo-workspaces";
changelog = "https://github.com/pksunkara/cargo-workspaces/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/pksunkara/cargo-workspaces/blob/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
macalinao
@@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "cargo-workspaces";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo2junit";
version = "0.1.13";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-R3a87nXCnGhdeyR7409hFR5Cj3TFUWqaLNOtlXPsvto=";
};
@@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ alekseysidorov ];
};
}
})
+3 -3
View File
@@ -3,12 +3,12 @@
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cfonts";
version = "1.3.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-rgdqQzJyb1/bYB3S1MD/53vdQ+GaxOvGHuPE6dxMRB0=";
};
@@ -21,4 +21,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ leifhelm ];
mainProgram = "cfonts";
};
}
})
+4 -4
View File
@@ -6,12 +6,12 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "changelogging";
version = "0.7.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-orTUCBHacD0MQNfhOUWdh9RxT/9YNvgfCHFDr2eNQic=";
};
@@ -25,10 +25,10 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "CLI tool for building changelogs from fragments";
homepage = "https://github.com/nekitdev/changelogging";
changelog = "https://github.com/nekitdev/changelogging/releases/tag/v${version}";
changelog = "https://github.com/nekitdev/changelogging/releases/tag/v${finalAttrs.version}";
platforms = lib.platforms.all;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.nekitdev ];
mainProgram = "changelogging";
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "checkpwn";
version = "0.5.6";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-M0Jb+8rKn4KVuumNSsM6JEbSOoBOFy9mmXiCnUnDgak=";
};
@@ -23,9 +23,9 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Check Have I Been Pwned and see if it's time for you to change passwords";
homepage = "https://github.com/brycx/checkpwn";
changelog = "https://github.com/brycx/checkpwn/releases/tag/${version}";
changelog = "https://github.com/brycx/checkpwn/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "checkpwn";
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cherrybomb";
version = "1.0.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-MHKBP102U1Ug9wZm9x4+opZgG8f6Hx03FvoLV4qaDgY=";
};
@@ -19,8 +19,8 @@ rustPlatform.buildRustPackage rec {
description = "CLI tool that helps you avoid undefined user behavior by validating your API specifications";
mainProgram = "cherrybomb";
homepage = "https://github.com/blst-security/cherrybomb";
changelog = "https://github.com/blst-security/cherrybomb/releases/tag/v${version}";
changelog = "https://github.com/blst-security/cherrybomb/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
})
+3 -3
View File
@@ -7,12 +7,12 @@
pkg-config,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "citron";
version = "0.15.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-6wJ4UfiwpV9zFuBR8SYj6eBiRqQitFs7wRe5R51Z3SA=";
};
@@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec {
platforms = lib.platforms.linux;
mainProgram = "citron";
};
}
})
+3 -3
View File
@@ -5,12 +5,12 @@
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "clang-tidy-sarif";
version = "0.8.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-ALwEsF1n6WYqITfYTn8mIyn3sxTbDux17FxKIorKkFc=";
};
@@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "clang-tidy-sarif";
license = lib.licenses.mit;
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "clini";
version = "0.1.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-+HnoYFRG7GGef5lV4CUsUzqPzFUzXDajprLu25SCMQo=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ Flakebi ];
mainProgram = "clini";
};
}
})
+3 -3
View File
@@ -6,12 +6,12 @@
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "clippy-sarif";
version = "0.8.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-pqu7jIKksjn52benebICQEhgCW59MX+RRTcHm2ufjWE=";
};
@@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "clippy-sarif";
inherit (clippy.meta) platforms;
};
}
})
+5 -5
View File
@@ -12,14 +12,14 @@
testers,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "colmena";
version = "0.4.0";
src = fetchFromGitHub {
owner = "zhaofengli";
repo = "colmena";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-01bfuSY4gnshhtqA1EJCw2CMsKkAx+dHS+sEpQ2+EAQ=";
};
@@ -57,17 +57,17 @@ rustPlatform.buildRustPackage rec {
passthru = {
# We guarantee CLI and Nix API stability for the same minor version
apiVersion = builtins.concatStringsSep "." (lib.take 2 (lib.splitVersion version));
apiVersion = builtins.concatStringsSep "." (lib.take 2 (lib.splitVersion finalAttrs.version));
tests.version = testers.testVersion { package = colmena; };
};
meta = {
description = "Simple, stateless NixOS deployment tool";
homepage = "https://colmena.cli.rs/${passthru.apiVersion}";
homepage = "https://colmena.cli.rs/${finalAttrs.passthru.apiVersion}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ zhaofengli ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
mainProgram = "colmena";
};
}
})
+3 -3
View File
@@ -4,14 +4,14 @@
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "color-lsp";
version = "0.3.0";
src = fetchFromGitHub {
owner = "huacnlee";
repo = "color-lsp";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-p58rAVznBzhBv7gVvaEjMpCrk9kFuEjUvY6U4uMXUE8=";
};
@@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "color-lsp";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "csv2svg";
version = "0.1.9";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-3VebLFkeJLK97jqoPXt4Wt6QTR0Zyu+eQV9oaLBSeHE=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = [ ];
mainProgram = "csv2svg";
};
}
})
+3 -3
View File
@@ -7,12 +7,12 @@
diffedit3,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "diffedit3";
version = "0.6.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-tlrP97XMAAnk5H5wTHPsP1DMSmDqV9wJp1n+22jUtnM=";
};
@@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "diffedit3";
maintainers = with lib.maintainers; [ thoughtpolice ];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "dotenvy";
version = "0.15.7";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-virK/TpYBmwTf5UCQCqC/df8iKYAzPBfsQ1nQkFKF2Y=";
};
@@ -29,4 +29,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ phlip9 ];
};
}
})
+3 -3
View File
@@ -7,12 +7,12 @@
dotslash,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "dotslash";
version = "0.5.7";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-VFesGum2xjknUuCwIojntdst5dmhvZb78ejJ2OG1FVI=";
};
@@ -45,4 +45,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "dotslash";
maintainers = with lib.maintainers; [ thoughtpolice ];
};
}
})
+3 -3
View File
@@ -8,12 +8,12 @@
libiconv,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "duckscript_cli";
version = "0.11.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-afxzZkmmYnprUBquH681VHMDs3Co9C71chNoKbu6lEY=";
};
@@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ mkg20001 ];
mainProgram = "duck";
};
}
})
+3 -3
View File
@@ -7,12 +7,12 @@
udev,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "elf2uf2-rs";
version = "2.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-e0i8ecjfNZxQgX5kDU1T8yAGUl4J7mbgG+ueBFsyTNA=";
};
@@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec {
moni
];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "eva";
version = "0.3.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-eX2d9h6zNbheS68j3lyhJW05JZmQN2I2MdcmiZB8Mec=";
};
@@ -24,4 +24,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "eva";
};
}
})
+3 -3
View File
@@ -13,7 +13,7 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "eww";
version = "0.6.0-unstable-2025-06-30";
@@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec {
"eww"
];
cargoTestFlags = cargoBuildFlags;
cargoTestFlags = finalAttrs.cargoBuildFlags;
# requires unstable rust features
env.RUSTC_BOOTSTRAP = 1;
@@ -76,4 +76,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "eww";
broken = stdenv.hostPlatform.isDarwin;
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "faketty";
version = "1.0.20";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-1AX2DBFOSUcORSQCo/5Vd8puE4hJU9VDfVqxcZDKrrY=";
};
@@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Wrapper to execute a command in a pty, even if redirecting the output";
homepage = "https://github.com/dtolnay/faketty";
changelog = "https://github.com/dtolnay/faketty/releases/tag/${version}";
changelog = "https://github.com/dtolnay/faketty/releases/tag/${finalAttrs.version}";
license = with lib.licenses; [
asl20 # or
mit
@@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ figsoda ];
mainProgram = "faketty";
};
}
})
+3 -3
View File
@@ -7,12 +7,12 @@
capnproto,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "flowgger";
version = "0.3.2";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-eybahv1A/AIpAXGj6/md8k+b9fu9gSchU16fnAWZP2s=";
};
@@ -38,4 +38,4 @@ rustPlatform.buildRustPackage rec {
maintainers = [ ];
mainProgram = "flowgger";
};
}
})
@@ -6,7 +6,7 @@
openssl_3,
protobuf,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "fortanix-sgx-tools";
version = "0.6.1";
nativeBuildInputs = [
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
];
buildInputs = [ openssl_3 ];
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-IVkmZs3imzj8uN8kqEzN/Oio3H+Nqzu8ORjARNx1TpQ=";
};
@@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec {
platforms = [ "x86_64-linux" ];
license = lib.licenses.mpl20;
};
}
})
+4 -4
View File
@@ -15,12 +15,12 @@
assert lib.assertMsg (
!(lib.elem "default" features || lib.elem "llvm_backend" features)
) "LLVM support has been dropped due to LLVM 12 EOL.";
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "frawk";
version = "0.4.8";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-wPnMJDx3aF1Slx5pjLfii366pgNU3FJBdznQLuUboYA=";
};
@@ -51,11 +51,11 @@ rustPlatform.buildRustPackage rec {
description = "Small programming language for writing short programs processing textual data";
mainProgram = "frawk";
homepage = "https://github.com/ezrosent/frawk";
changelog = "https://github.com/ezrosent/frawk/releases/tag/v${version}";
changelog = "https://github.com/ezrosent/frawk/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
mit # or
asl20
];
maintainers = [ ];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "french-numbers";
version = "1.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-6mcqT0RZddHlzjyZzx0JGTfCRcQ2UQ3Qlmk0VVNzsnI=";
};
@@ -27,4 +27,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "french-numbers";
maintainers = with lib.maintainers; [ samueltardieu ];
};
}
})
+4 -4
View File
@@ -14,19 +14,19 @@
gel,
testers,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gel";
version = "7.10.2";
src = fetchFromGitHub {
owner = "geldata";
repo = "gel-cli";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-Fy4J7puunqB5TeUsafnOotoWNvtTGiMJZ06YII14zIM=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
inherit (finalAttrs) pname version src;
hash = "sha256-VRZjI8C0u+6MkQgzt0PApeUtrGR5UqvnLZxityMGnDo=";
};
@@ -80,4 +80,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "gel";
};
}
})
+3 -3
View File
@@ -5,12 +5,12 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "genemichaels";
version = "0.9.5";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-KaGG2amPk/+fL7xLAfZw4SmCzXc+hS/9IkBG7G6sngI=";
};
@@ -25,4 +25,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ djacu ];
mainProgram = "genemichaels";
};
}
})
+3 -3
View File
@@ -5,12 +5,12 @@
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gh-cal";
version = "0.1.3";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-x9DekflZoXxH964isWCi6YuV3v/iIyYOuRYVgKaUBx0=";
};
@@ -26,4 +26,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ loicreynier ];
mainProgram = "gh-cal";
};
}
})
+4 -4
View File
@@ -8,12 +8,12 @@
stdenv,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gitlab-timelogs";
version = "0.7.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-DNMJczR4yaglIOcNmb2E1g+UP0VeJaIb5TvdKUcWzc0=";
};
@@ -37,11 +37,11 @@ rustPlatform.buildRustPackage rec {
gitlab-timelogs is not associated with the official GitLab project!
'';
homepage = "https://github.com/phip1611/gitlab-timelogs";
changelog = "https://github.com/phip1611/gitlab-timelogs/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/phip1611/gitlab-timelogs/blob/v${finalAttrs.version}/CHANGELOG.md";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [
blitz
phip1611
];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "globe-cli";
version = "0.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Np1f/mSMIMZU3hE0Fur8bOHhOH3rZyroGiVAqfiIs7g=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ devhell ];
mainProgram = "globe";
};
}
})
+4 -4
View File
@@ -15,14 +15,14 @@
makeWrapper,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gpustat";
version = "0.1.5";
src = fetchFromGitHub {
owner = "arduano";
repo = "gpustat";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-M9P/qfw/tp9ogkNOE3b2fD2rGFnii1/VwmqJHqXb7Mg=";
};
@@ -60,7 +60,7 @@ rustPlatform.buildRustPackage rec {
# https://github.com/emilk/egui/issues/2486
postFixup = ''
wrapProgram $out/bin/gpustat \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}:/run/opengl-driver/lib"
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}:/run/opengl-driver/lib"
'';
meta = {
@@ -71,4 +71,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "gpustat";
platforms = lib.platforms.linux;
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "grass";
version = "0.13.4";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-uk4XLF0QsH9Nhz73PmdSpwhxPdCh+DlNNqtbJtLWgNI=";
};
@@ -22,10 +22,10 @@ rustPlatform.buildRustPackage rec {
description = "Sass compiler written purely in Rust";
homepage = "https://github.com/connorskees/grass";
changelog = "https://github.com/connorskees/grass/blob/master/CHANGELOG.md#${
lib.replaceStrings [ "." ] [ "" ] version
lib.replaceStrings [ "." ] [ "" ] finalAttrs.version
}";
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "grass";
};
}
})
+5 -5
View File
@@ -11,14 +11,14 @@
cacert,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "habitat";
version = "1.6.1245";
src = fetchFromGitHub {
owner = "habitat-sh";
repo = "habitat";
rev = version;
rev = finalAttrs.version;
hash = "sha256-n2ylJSCXPnnPHadfZaRS/3vxtnvkXhiTzCyObK7hmEk=";
};
@@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec {
"-p"
"hab"
];
cargoTestFlags = cargoBuildFlags;
cargoTestFlags = finalAttrs.cargoBuildFlags;
env = {
OPENSSL_NO_VENDOR = true;
@@ -51,7 +51,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Application automation framework";
homepage = "https://www.habitat.sh";
changelog = "https://github.com/habitat-sh/habitat/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/habitat-sh/habitat/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
rushmorem
@@ -60,4 +60,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "hab";
platforms = [ "x86_64-linux" ];
};
}
})
+3 -3
View File
@@ -5,12 +5,12 @@
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "hadolint-sarif";
version = "0.8.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-7xvo194lCQpDtLgwX6rZEkwG3hYTp5czjw4GrEaivsI=";
};
@@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "hadolint-sarif";
};
}
})
+8 -8
View File
@@ -19,14 +19,14 @@
alsa-lib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "halloy";
version = "2026.2";
src = fetchFromGitHub {
owner = "squidowl";
repo = "halloy";
tag = version;
tag = finalAttrs.version;
hash = "sha256-xx4r6vdUeh0yr986+Z67xtViQA7mMpsXmTohu3jIwMs=";
};
@@ -58,7 +58,7 @@ rustPlatform.buildRustPackage rec {
desktopName = "Halloy";
comment = "IRC client written in Rust";
icon = "org.squidowl.halloy";
exec = pname;
exec = finalAttrs.pname;
terminal = false;
mimeTypes = [
"x-scheme-handler/irc"
@@ -99,11 +99,11 @@ rustPlatform.buildRustPackage rec {
APP_DIR="$out/Applications/Halloy.app/Contents"
mkdir -p "$APP_DIR/MacOS"
cp -r ${src}/assets/macos/Halloy.app/Contents/* "$APP_DIR"
cp -r ${finalAttrs.src}/assets/macos/Halloy.app/Contents/* "$APP_DIR"
substituteInPlace "$APP_DIR/Info.plist" \
--replace-fail "{{ VERSION }}" "${version}" \
--replace-fail "{{ BUILD }}" "${version}-nixpkgs"
--replace-fail "{{ VERSION }}" "${finalAttrs.version}" \
--replace-fail "{{ BUILD }}" "${finalAttrs.version}-nixpkgs"
makeWrapper "$out/bin/halloy" "$APP_DIR/MacOS/halloy"
'';
@@ -113,7 +113,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "IRC application";
homepage = "https://github.com/squidowl/halloy";
changelog = "https://github.com/squidowl/halloy/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/squidowl/halloy/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
fab
@@ -122,4 +122,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "halloy";
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "hayagriva";
version = "0.9.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-9PGo/TPk5QuiVoa5wUGyHufW/VaxqhinxS+u2JMPZBY=";
};
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Work with references: Literature database management, storage, and citation formatting";
homepage = "https://github.com/typst/hayagriva";
changelog = "https://github.com/typst/hayagriva/releases/tag/v${version}";
changelog = "https://github.com/typst/hayagriva/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
asl20
mit
@@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec {
maintainers = [ ];
mainProgram = "hayagriva";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "huniq";
version = "2.7.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-5GvHM05qY/Jj1mPYwn88Zybn6Nn5nJIaw0XP8iCcrwE=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "hvm";
version = "2.0.22";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-AD8mv47m4E6H8BVkxTExyhrR7VEnuB/KxnRl2puPnX4=";
};
@@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.asl20;
maintainers = [ ];
};
}
})
+3 -3
View File
@@ -3,12 +3,12 @@
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "i3-open-next-ws";
version = "0.1.5";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-eYHCm8jEv6Ll6/h1kcYHNxWGnVWI41ZB96Jec9oZFsY=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ quantenzitrone ];
platforms = lib.platforms.linux;
};
}
})
+3 -3
View File
@@ -8,12 +8,12 @@
stdenv,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "inputplug";
version = "0.4.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-8Gy0h0QMcittnjuKm+atIJNsY2d6Ua29oab4fkUU+wE=";
};
@@ -40,4 +40,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ jecaro ];
mainProgram = "inputplug";
};
}
})
+5 -5
View File
@@ -4,14 +4,14 @@
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "jfmt";
version = "1.2.1";
src = fetchFromGitHub {
owner = "scruffystuffs";
repo = "${pname}.rs";
rev = "v${version}";
repo = "${finalAttrs.pname}.rs";
rev = "v${finalAttrs.version}";
hash = "sha256-X3wk669G07BTPAT5xGbAfIu2Qk90aaJIi1CLmOnSG80=";
};
@@ -21,8 +21,8 @@ rustPlatform.buildRustPackage rec {
description = "CLI utility to format json files";
mainProgram = "jfmt";
homepage = "https://github.com/scruffystuffs/jfmt.rs";
changelog = "https://github.com/scruffystuffs/jfmt.rs/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/scruffystuffs/jfmt.rs/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.psibi ];
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "just-formatter";
version = "1.1.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-HTv55WquFieWmkEKX5sbBOVyYxzjcB/NrMkxbQsff90=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ vuimuich ];
mainProgram = "just-formatter";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "keepass-diff";
version = "1.2.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-CqLH5Dosp26YfqgOVcZilfo5svAEv+pAbi1zebGMnb4=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ wamserma ];
mainProgram = "keepass-diff";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "kind2";
version = "0.3.10";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-X2sjfYrSSym289jDJV3hNmcwyQCMnrabmGCUKD5wfdY=";
};
@@ -32,4 +32,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.mit;
maintainers = [ ];
};
}
})
+4 -4
View File
@@ -3,12 +3,12 @@
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "krabby";
version = "0.3.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-UcvCIazuVoqYb4iz62MrOVtQli4EqzrEpg3imv3sXHY=";
};
@@ -17,9 +17,9 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Print pokemon sprites in your terminal";
homepage = "https://github.com/yannjor/krabby";
changelog = "https://github.com/yannjor/krabby/releases/tag/v${version}";
changelog = "https://github.com/yannjor/krabby/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ ruby0b ];
mainProgram = "krabby";
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "lemmeknow";
version = "0.8.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Q82tP4xNWAooFjHeJCFmuULnWlFbgca/9Y2lm8rVXKs=";
};
@@ -18,9 +18,9 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Tool to identify anything";
homepage = "https://github.com/swanandx/lemmeknow";
changelog = "https://github.com/swanandx/lemmeknow/releases/tag/v${version}";
changelog = "https://github.com/swanandx/lemmeknow/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "lemmeknow";
};
}
})
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "license-generator";
version = "1.3.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-jp7NQfDh512oThZbLj0NbqcH7rxV2R0kDv1wsiTNf/M=";
};
@@ -22,4 +22,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ loicreynier ];
mainProgram = "license-generator";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
fetchCrate,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "loco";
version = "0.16.3";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-DdrLABMiTutIhUHvUw29DYZIT+YHLNJjoTT5kWMeAkU=";
};
@@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ sebrut ];
mainProgram = "loco";
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "lscolors";
version = "0.21.0";
src = fetchCrate {
inherit version pname;
inherit (finalAttrs) version pname;
hash = "sha256-75RE72Vy4HRRjwa7qOybnUAzxxhBUKSlKfrLrm6Ish8=";
};
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Rust library and tool to colorize paths using LS_COLORS";
homepage = "https://github.com/sharkdp/lscolors";
changelog = "https://github.com/sharkdp/lscolors/releases/tag/v${version}";
changelog = "https://github.com/sharkdp/lscolors/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
asl20 # or
mit
@@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ SuperSandro2000 ];
mainProgram = "lscolors";
};
}
})
+4 -4
View File
@@ -4,12 +4,12 @@
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "mdbook-katex";
version = "0.9.4";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-xwIW8igfxO9vsck8ktDBc7XFLuYzwqI3I4nLDTYC8JI=";
};
@@ -18,11 +18,11 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Preprocessor for mdbook, rendering LaTeX equations to HTML at build time";
mainProgram = "mdbook-katex";
homepage = "https://github.com/lzanini/${pname}";
homepage = "https://github.com/lzanini/${finalAttrs.pname}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
lovesegfault
matthiasbeyer
];
};
}
})
+4 -4
View File
@@ -6,12 +6,12 @@
openssl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "mdbook-pdf";
version = "0.1.13";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-aADHRlIVWVc43DEfZx8ha/E4FaiAoKtjHccx+LAghtU=";
};
@@ -35,11 +35,11 @@ rustPlatform.buildRustPackage rec {
description = "Backend for mdBook written in Rust for generating PDF";
mainProgram = "mdbook-pdf";
homepage = "https://github.com/HollowMan6/mdbook-pdf";
changelog = "https://github.com/HollowMan6/mdbook-pdf/releases/tag/v${version}";
changelog = "https://github.com/HollowMan6/mdbook-pdf/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
hollowman6
matthiasbeyer
];
};
}
})
+3 -3
View File
@@ -7,12 +7,12 @@
udevCheckHook,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "mdevctl";
version = "1.4.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Zh+Dj3X87tTpqT/weZMpf7f3obqikjPy9pi50ifp6wQ=";
};
@@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ edwtjo ];
platforms = lib.platforms.linux;
};
}
})
+4 -4
View File
@@ -5,13 +5,13 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "meow";
version = "2.1.5";
src = fetchCrate {
inherit version;
crateName = "${pname}-cli";
inherit (finalAttrs) version;
crateName = "${finalAttrs.pname}-cli";
sha256 = "sha256-6tf4/KRZj+1zlxnNgz3kw/HYR2QKg0kEwu+TbKah3e8=";
};
@@ -30,4 +30,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "meow";
maintainers = with lib.maintainers; [ pixelsergey ];
};
}
})
+3 -3
View File
@@ -6,12 +6,12 @@
openssl,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "movine";
version = "0.11.4";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-wa2GfV2Y8oX8G+1LbWnb2KH/+QbUYL9GXgOOVHpzbN8=";
};
@@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec {
'';
maintainers = with lib.maintainers; [ netcrns ];
};
}
})
+6 -6
View File
@@ -8,14 +8,14 @@
expect,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "nethoscope";
version = "0.1.1";
src = fetchFromGitHub {
owner = "vvilhonen";
repo = "nethoscope";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-v7GO+d4b0N3heN10+WSUJEpcShKmx4BPR1FyZoELWzc=";
};
@@ -36,10 +36,10 @@ rustPlatform.buildRustPackage rec {
doInstallCheck = true;
installCheckPhase = ''
if [[ "$(${expect}/bin/unbuffer "$out/bin/${pname}" --help 2> /dev/null | strings | grep ${version} | tr -d '\n')" == " ${version}" ]]; then
echo '${pname} smoke check passed'
if [[ "$(${expect}/bin/unbuffer "$out/bin/${finalAttrs.pname}" --help 2> /dev/null | strings | grep ${finalAttrs.version} | tr -d '\n')" == " ${finalAttrs.version}" ]]; then
echo '${finalAttrs.pname} smoke check passed'
else
echo '${pname} smoke check failed'
echo '${finalAttrs.pname} smoke check failed'
return 1
fi
'';
@@ -57,4 +57,4 @@ rustPlatform.buildRustPackage rec {
mainProgram = "nethoscope";
};
}
})
+3 -3
View File
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "nflz";
version = "1.0.2";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-c9+79zrIU/M1Rh+DiaLJzbrNSa4IKrYk1gP0dsabUiw=";
};
@@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ phip1611 ];
mainProgram = "nflz";
};
}
})
+5 -5
View File
@@ -10,15 +10,15 @@
pkg-config,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "nix-template";
version = "0.4.1";
src = fetchFromGitHub {
name = "${pname}-${version}-src";
name = "${finalAttrs.pname}-${finalAttrs.version}-src";
owner = "jonringer";
repo = "nix-template";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-42u5FmTIKHpfQ2zZQXIrFkAN2/XvU0wWnCRrQkQzcNI=";
};
@@ -48,9 +48,9 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Make creating nix expressions easy";
homepage = "https://github.com/jonringer/nix-template/";
changelog = "https://github.com/jonringer/nix-template/releases/tag/v${version}";
changelog = "https://github.com/jonringer/nix-template/releases/tag/v${finalAttrs.version}";
license = lib.licenses.cc0;
maintainers = [ ];
mainProgram = "nix-template";
};
}
})
+4 -4
View File
@@ -21,7 +21,7 @@
wrapGAppsHook3,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "oculante";
version = "0.9.2.1-unstable-2025-10-08";
@@ -76,7 +76,7 @@ rustPlatform.buildRustPackage rec {
patchFlags = [
"-p1"
"--directory=../${pname}-${version}-vendor"
"--directory=../${finalAttrs.pname}-${finalAttrs.version}-vendor"
];
postInstall = ''
@@ -98,11 +98,11 @@ rustPlatform.buildRustPackage rec {
broken = stdenv.hostPlatform.isDarwin;
description = "Minimalistic crossplatform image viewer written in Rust";
homepage = "https://github.com/woelper/oculante";
changelog = "https://github.com/woelper/oculante/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/woelper/oculante/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
mainProgram = "oculante";
maintainers = with lib.maintainers; [
dit7ya
];
};
}
})
+5 -5
View File
@@ -17,14 +17,14 @@
openssl,
webkitgtk_4_1,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "overlayed";
version = "0.6.2";
src = fetchFromGitHub {
owner = "overlayeddev";
repo = "overlayed";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-3GFg8czBf1csojXUNC51xFXJnGuXltP6D46fCt6q24I=";
};
@@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-6wN4nZQWrY0J5E+auj17B3iJ/84hzBXYA/bJsX/N5pk=";
pnpmDeps = fetchPnpmDeps {
inherit pname version src;
inherit (finalAttrs) pname version src;
pnpm = pnpm_9;
fetcherVersion = 3;
hash = "sha256-KJZuucXB7BEMnqPmgytveG/IBEzq4mgMo9ZJHPe/gVs=";
@@ -73,10 +73,10 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Modern discord voice chat overlay";
homepage = "https://github.com/overlayeddev/overlayed";
changelog = "https://github.com/overlayeddev/overlayed/releases/tag/v${version}";
changelog = "https://github.com/overlayeddev/overlayed/releases/tag/v${finalAttrs.version}";
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ bot-wxt1221 ];
license = lib.licenses.agpl3Plus;
mainProgram = "overlayed";
};
}
})
@@ -4,12 +4,12 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "paging-calculator";
version = "0.4.0";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-mTHBARrcq8cJxzh80v/fGr5vACAMyy/DhN8zpQTV0jM=";
};
@@ -26,8 +26,8 @@ rustPlatform.buildRustPackage rec {
which level of the page table.
'';
homepage = "https://github.com/phip1611/paging-calculator";
changelog = "https://github.com/phip1611/paging-calculator/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/phip1611/paging-calculator/blob/v${finalAttrs.version}/CHANGELOG.md";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ phip1611 ];
};
}
})
+3 -3
View File
@@ -8,12 +8,12 @@
zlib,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "panamax";
version = "1.0.14";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-gIgw6JMGpHNXE/PZoz3jRdmjIWy4hETYf24Nd7/Jr/g=";
};
@@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec {
];
maintainers = [ ];
};
}
})
+3 -3
View File
@@ -6,12 +6,12 @@
wasm-pack,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "perseus-cli";
version = "0.3.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-IYjLx9/4oWSXa4jhOtGw1GOHmrR7LQ6bWyN5zbOuEFs=";
};
@@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec {
license = with lib.licenses; [ mit ];
mainProgram = "perseus";
};
}
})
+3 -3
View File
@@ -12,12 +12,12 @@
libgit2 ? null,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "pijul";
version = "1.0.0-beta.9";
src = fetchCrate {
inherit version pname;
inherit (finalAttrs) version pname;
hash = "sha256-jy0mzgLw9iWuoWe2ictMTL3cHnjJ5kzs6TAK+pdm28g=";
};
@@ -55,4 +55,4 @@ rustPlatform.buildRustPackage rec {
];
mainProgram = "pijul";
};
}
})
+3 -3
View File
@@ -5,12 +5,12 @@
python3,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "pipe-rename";
version = "1.6.6";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-eZldAhqmoIkNZaI6r31hI43KCPDDeWk3fKpY3/BaUQE=";
};
@@ -35,4 +35,4 @@ rustPlatform.buildRustPackage rec {
maintainers = [ ];
mainProgram = "renamer";
};
}
})
+3 -3
View File
@@ -6,12 +6,12 @@
installShellFiles,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "preserves-tools";
version = "4.996.1";
src = fetchCrate {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-Uyh5mXCypX3TDxxJtnTe6lBoVI8aqdG56ywn7htDGUY=";
};
@@ -31,4 +31,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.asl20;
mainProgram = "preserves-tool";
};
}
})
+5 -5
View File
@@ -16,20 +16,20 @@ let
hash = "sha256-yjxld5ebm2jpfyzkw+vngBfHu5Nfh2ioLUKQQDY4KYo=";
};
in
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "probe-rs-tools";
version = "0.31.0";
src = fetchFromGitHub {
owner = "probe-rs";
repo = "probe-rs";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-ZcH2FBKsbBtTYfRQgPfOOODDpyB7VydcO7F7pq8xzD0=";
};
cargoHash = "sha256-fVmwZw34lK6eKkqNT/SW5wzeeyWg6Qp48eso6yibICE=";
buildAndTestSubdir = pname;
buildAndTestSubdir = finalAttrs.pname;
nativeBuildInputs = [
# required by libz-sys, no option for dynamic linking
@@ -76,7 +76,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "CLI tool for on-chip debugging and flashing of ARM chips";
homepage = "https://probe.rs/";
changelog = "https://github.com/probe-rs/probe-rs/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/probe-rs/probe-rs/blob/v${finalAttrs.version}/CHANGELOG.md";
license = with lib.licenses; [
asl20 # or
mit
@@ -86,4 +86,4 @@ rustPlatform.buildRustPackage rec {
newam
];
};
}
})

Some files were not shown because too many files have changed in this diff Show More