crate2nix: 0.14.1 -> 0.15.0

https://github.com/nix-community/crate2nix/releases/tag/0.15.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Domen Kožar
2026-01-28 19:28:48 +00:00
co-authored by Claude Opus 4.5
parent 88ab93e453
commit 7be7848a46
+7 -8
View File
@@ -11,18 +11,18 @@
rustPlatform.buildRustPackage rec {
pname = "crate2nix";
version = "0.14.1";
version = "0.15.0";
src = fetchFromGitHub {
owner = "nix-community";
repo = "crate2nix";
rev = version;
hash = "sha256-esWhRnt7FhiYq0CcIxw9pvH+ybOQmWBfHYMtleaMhBE=";
hash = "sha256-SUuruvw1/moNzCZosHaa60QMTL+L9huWdsCBN6XZIic=";
};
sourceRoot = "${src.name}/crate2nix";
cargoHash = "sha256-Du6RAe4Ax3KK90h6pQEtF75Wdniz+IqF2/TXHA9Ytbw=";
cargoHash = "sha256-q/nPKNXZ1eJijeTBXA6Uuz235p+Q1uilXY5a/s8btMM=";
nativeBuildInputs = [
makeWrapper
@@ -42,11 +42,10 @@ rustPlatform.buildRustPackage rec {
]
}
for shell in bash zsh fish
do
$out/bin/crate2nix completions -s $shell
installShellCompletion crate2nix.$shell || installShellCompletion --$shell _crate2nix
done
$out/bin/crate2nix completions -s bash
$out/bin/crate2nix completions -s zsh
$out/bin/crate2nix completions -s fish
installShellCompletion --bash crate2nix.bash --zsh _crate2nix --fish crate2nix.fish
'';
meta = {