2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, accountsservice
|
|
|
|
, appstream-glib
|
|
|
|
, dbus
|
|
|
|
, desktop-file-utils
|
|
|
|
, gettext
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, gsettings-desktop-schemas
|
2022-11-21 17:40:18 +00:00
|
|
|
, gtk-layer-shell
|
2022-07-14 12:49:19 +00:00
|
|
|
, gtk3
|
|
|
|
, json-glib
|
|
|
|
, libgee
|
|
|
|
, libhandy
|
2022-11-21 17:40:18 +00:00
|
|
|
, libpulseaudio
|
2022-07-14 12:49:19 +00:00
|
|
|
, libxml2
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pantheon
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, stdenv
|
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "swaysettings";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "0.4.0";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ErikReider";
|
|
|
|
repo = "SwaySettings";
|
|
|
|
rev = "v${version}";
|
2022-11-21 17:40:18 +00:00
|
|
|
hash = "sha256-dn3n5DOAsw0FeXBkh19A2qB/5O+RyA2/Fj5PVtMOyL0=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
python3
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
2023-08-10 07:59:29 +00:00
|
|
|
gobject-introspection
|
2022-07-14 12:49:19 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
accountsservice
|
|
|
|
dbus
|
|
|
|
glib
|
|
|
|
gsettings-desktop-schemas
|
2022-11-21 17:40:18 +00:00
|
|
|
gtk-layer-shell
|
2022-07-14 12:49:19 +00:00
|
|
|
gtk3
|
|
|
|
json-glib
|
|
|
|
libgee
|
|
|
|
libhandy
|
2022-11-21 17:40:18 +00:00
|
|
|
libpulseaudio
|
2022-07-14 12:49:19 +00:00
|
|
|
libxml2
|
|
|
|
pantheon.granite
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs /build/source/build-aux/meson/postinstall.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A GUI for configuring your sway desktop";
|
|
|
|
longDescription = ''
|
|
|
|
Sway settings enables easy configuration of a sway desktop environment
|
|
|
|
such as selection of application or icon themes.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/ErikReider/SwaySettings";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.aacebedo ];
|
|
|
|
};
|
|
|
|
}
|