mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
various: switch buildRustPackage packages to finalAttrs pattern (#492928)
This commit is contained in:
commit
741df4d6e3
169 changed files with 599 additions and 599 deletions
|
|
@ -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.meta.mainProgram}
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
|
@ -62,4 +62,4 @@ rustPlatform.buildRustPackage rec {
|
|||
platforms = lib.platforms.linux;
|
||||
mainProgram = "amdgpu_top";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,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,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,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,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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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/authoscope.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,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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
mv $out/share/applications/software.Browsers.template.desktop $out/share/applications/software.Browsers.desktop
|
||||
substituteInPlace \
|
||||
$out/share/applications/software.Browsers.desktop \
|
||||
--replace-fail 'Exec=€ExecCommand€' 'Exec=${finalAttrs.pname} %u'
|
||||
--replace-fail 'Exec=€ExecCommand€' 'Exec=${finalAttrs.meta.mainProgram} %u'
|
||||
cp -r resources $out
|
||||
for size in 16 32 128 256 512; do
|
||||
install -m 444 \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,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
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 = "cargo-cyclonedx-${finalAttrs.version}";
|
||||
hash = "sha256-T/9eHI2P8eCZAqMTeZz1yEi5nljQWfHrdNiU3h3h74U=";
|
||||
};
|
||||
|
||||
|
|
@ -49,4 +49,4 @@ rustPlatform.buildRustPackage rec {
|
|||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ nikstur ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,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
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,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,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,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
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,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,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 = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
];
|
||||
|
||||
env = {
|
||||
ENGAGE_DOCS_LINK = "file://${placeholder "doc"}/share/doc/${finalAttrs.pname}/index.html";
|
||||
ENGAGE_DOCS_LINK = "file://${placeholder "doc"}/share/doc/engage/index.html";
|
||||
};
|
||||
|
||||
src = fetchFromGitLab {
|
||||
|
|
@ -57,7 +57,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
|
||||
${lib.getExe mdbook} build
|
||||
mkdir -p "$doc/share/doc"
|
||||
mv public "$doc/share/doc/${finalAttrs.pname}"
|
||||
mv public "$doc/share/doc/engage"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
];
|
||||
|
||||
postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
patchelf $out/bin/${finalAttrs.pname} \
|
||||
patchelf $out/bin/${finalAttrs.meta.mainProgram} \
|
||||
--add-rpath ${
|
||||
lib.makeLibraryPath [
|
||||
vulkan-loader
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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" ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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.meta.mainProgram;
|
||||
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,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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 = "jfmt.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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,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,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/mdbook-katex";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
lovesegfault
|
||||
matthiasbeyer
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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.meta.mainProgram}" --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";
|
||||
};
|
||||
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue