mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +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,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "aerc";
|
pname = "aerc";
|
||||||
version = "0.20.1";
|
version = "0.20.1";
|
||||||
|
|
||||||
src = fetchFromSourcehut {
|
src = fetchFromSourcehut {
|
||||||
owner = "~rjarry";
|
owner = "~rjarry";
|
||||||
repo = "aerc";
|
repo = "aerc";
|
||||||
rev = version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-IBTM3Ersm8yUCgiBLX8ozuvMEbfmY6eW5xvJD20UgRA=";
|
hash = "sha256-IBTM3Ersm8yUCgiBLX8ozuvMEbfmY6eW5xvJD20UgRA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ buildGoModule rec {
|
||||||
meta = {
|
meta = {
|
||||||
description = "Email client for your terminal";
|
description = "Email client for your terminal";
|
||||||
homepage = "https://aerc-mail.org/";
|
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; [
|
maintainers = with lib.maintainers; [
|
||||||
defelo
|
defelo
|
||||||
sikmir
|
sikmir
|
||||||
|
@ -100,4 +100,4 @@ buildGoModule rec {
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue