mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
ags_1: move to finalAttrs
This commit is contained in:
parent
e6ca2b65ca
commit
43bf9e325c
1 changed files with 4 additions and 4 deletions
|
@ -20,14 +20,14 @@
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage (finalAttrs: {
|
||||||
pname = "ags";
|
pname = "ags";
|
||||||
version = "1.8.2";
|
version = "1.8.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Aylur";
|
owner = "Aylur";
|
||||||
repo = "ags";
|
repo = "ags";
|
||||||
rev = "v${version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-ebnkUaee/pnfmw1KmOZj+MP1g5wA+8BT/TPKmn4Dkwc=";
|
hash = "sha256-ebnkUaee/pnfmw1KmOZj+MP1g5wA+8BT/TPKmn4Dkwc=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
@ -68,7 +68,7 @@ buildNpmPackage rec {
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/Aylur/ags";
|
homepage = "https://github.com/Aylur/ags";
|
||||||
description = "EWW-inspired widget system as a GJS library";
|
description = "EWW-inspired widget system as a GJS library";
|
||||||
changelog = "https://github.com/Aylur/ags/releases/tag/v${version}";
|
changelog = "https://github.com/Aylur/ags/releases/tag/v${finalAttrs.version}";
|
||||||
license = lib.licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
maintainers = with lib.maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
foo-dogsquared
|
foo-dogsquared
|
||||||
|
@ -77,4 +77,4 @@ buildNpmPackage rec {
|
||||||
mainProgram = "ags";
|
mainProgram = "ags";
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue