mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
aerc: use finalAttrs pattern
This commit is contained in:
parent
3567ac7304
commit
272717e36b
1 changed files with 4 additions and 4 deletions
|
@ -14,14 +14,14 @@
|
|||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "aerc";
|
||||
version = "0.20.1";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~rjarry";
|
||||
repo = "aerc";
|
||||
rev = version;
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-IBTM3Ersm8yUCgiBLX8ozuvMEbfmY6eW5xvJD20UgRA=";
|
||||
};
|
||||
|
||||
|
@ -91,7 +91,7 @@ buildGoModule rec {
|
|||
meta = {
|
||||
description = "Email client for your terminal";
|
||||
homepage = "https://aerc-mail.org/";
|
||||
changelog = "https://git.sr.ht/~rjarry/aerc/tree/${version}/item/CHANGELOG.md";
|
||||
changelog = "https://git.sr.ht/~rjarry/aerc/tree/${finalAttrs.version}/item/CHANGELOG.md";
|
||||
maintainers = with lib.maintainers; [
|
||||
defelo
|
||||
sikmir
|
||||
|
@ -100,4 +100,4 @@ buildGoModule rec {
|
|||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue