mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
cargo-aoc: use finalAttrs pattern
This commit is contained in:
parent
8fffefa86b
commit
e66f38292a
1 changed files with 3 additions and 3 deletions
|
@ -5,12 +5,12 @@
|
|||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cargo-aoc";
|
||||
version = "0.3.8";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-5CjY91515GeLzmLJiGjfbBfIMPr32EA65X/rriKPWRY=";
|
||||
};
|
||||
|
||||
|
@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec {
|
|||
maintainers = with lib.maintainers; [ defelo ];
|
||||
mainProgram = "cargo-aoc";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue