mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-12 07:27:20 +00:00
commit
194e56c326
@ -1,40 +1,40 @@
|
|||||||
{ lib
|
{
|
||||||
, buildNpmPackage
|
lib,
|
||||||
, fetchFromGitHub
|
buildNpmPackage,
|
||||||
, meson
|
fetchFromGitHub,
|
||||||
, ninja
|
meson,
|
||||||
, pkg-config
|
ninja,
|
||||||
, gobject-introspection
|
pkg-config,
|
||||||
, gjs
|
gobject-introspection,
|
||||||
, glib-networking
|
gjs,
|
||||||
, gnome
|
glib-networking,
|
||||||
, gtk-layer-shell
|
gnome,
|
||||||
, libpulseaudio
|
gtk-layer-shell,
|
||||||
, libsoup_3
|
libpulseaudio,
|
||||||
, networkmanager
|
libsoup_3,
|
||||||
, upower
|
networkmanager,
|
||||||
, typescript
|
upower,
|
||||||
, wrapGAppsHook3
|
typescript,
|
||||||
, linux-pam
|
wrapGAppsHook3,
|
||||||
|
linux-pam,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage rec {
|
||||||
pname = "ags";
|
pname = "ags";
|
||||||
version = "1.8.0";
|
version = "1.8.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Aylur";
|
owner = "Aylur";
|
||||||
repo = "ags";
|
repo = "ags";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-+0us1/lawDXp6RXn4ev95a99VgpsVPi2A4jwNS2O1Uo=";
|
hash = "sha256-ebnkUaee/pnfmw1KmOZj+MP1g5wA+8BT/TPKmn4Dkwc=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
npmDepsHash = "sha256-ucWdADdMqAdLXQYKGOXHNRNM9bhjKX4vkMcQ8q/GZ20=";
|
npmDepsHash = "sha256-ucWdADdMqAdLXQYKGOXHNRNM9bhjKX4vkMcQ8q/GZ20=";
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [ (lib.mesonBool "build_types" true) ];
|
||||||
(lib.mesonBool "build_types" true)
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
@ -63,12 +63,18 @@ buildNpmPackage rec {
|
|||||||
chmod u+x ./post_install.sh && patchShebangs ./post_install.sh
|
chmod u+x ./post_install.sh && patchShebangs ./post_install.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
passthru.updateScript = nix-update-script {};
|
||||||
|
|
||||||
|
meta = {
|
||||||
homepage = "https://github.com/Aylur/ags";
|
homepage = "https://github.com/Aylur/ags";
|
||||||
description = "A EWW-inspired widget system as a GJS library";
|
description = "A EWW-inspired widget system as a GJS library";
|
||||||
license = licenses.gpl3Plus;
|
changelog = "https://github.com/Aylur/ags/releases/tag/v${version}";
|
||||||
maintainers = with maintainers; [ foo-dogsquared ];
|
license = lib.licenses.gpl3Plus;
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
|
foo-dogsquared
|
||||||
|
johnrtitor
|
||||||
|
];
|
||||||
mainProgram = "ags";
|
mainProgram = "ags";
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user