diff --git a/pkgs/by-name/ba/bacon/package.nix b/pkgs/by-name/ba/bacon/package.nix index f7332c40c442..337f7e8a6aaa 100644 --- a/pkgs/by-name/ba/bacon/package.nix +++ b/pkgs/by-name/ba/bacon/package.nix @@ -23,19 +23,19 @@ let ]; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "bacon"; - version = "3.10.0"; + version = "3.11.0"; src = fetchFromGitHub { owner = "Canop"; repo = "bacon"; - tag = "v${version}"; - hash = "sha256-FU7hIMAJIXD/pJ9FZSPkO1CQhmmSWwaewGyogGdZoeI="; + tag = "v${finalAttrs.version}"; + hash = "sha256-yFU4U1TWoumg61Vs6F5Gqz22VuI2Qs0IRz/TPGBYX4E="; }; useFetchCargoVendor = true; - cargoHash = "sha256-+lk4YrJ7zI6t24y76kODfUok5Ibu3fFxpLIUQZQqgcw="; + cargoHash = "sha256-g8DWFhgguxPked7kCCsmUPXzRqu5DaPopoxORBl4/1o="; buildFeatures = lib.optionals withSound [ "sound" @@ -62,11 +62,11 @@ rustPlatform.buildRustPackage rec { description = "Background rust code checker"; mainProgram = "bacon"; homepage = "https://github.com/Canop/bacon"; - changelog = "https://github.com/Canop/bacon/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/Canop/bacon/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ FlorianFranzen matthiasbeyer ]; }; -} +})