nixpkgs/pkgs/applications/misc/swaysettings/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

83 lines
1.4 KiB
Nix

{ lib
, fetchFromGitHub
, accountsservice
, appstream-glib
, dbus
, desktop-file-utils
, gettext
, glib
, gobject-introspection
, gsettings-desktop-schemas
, gtk-layer-shell
, gtk3
, json-glib
, libgee
, libhandy
, libpulseaudio
, libxml2
, meson
, ninja
, pantheon
, pkg-config
, python3
, stdenv
, vala
, wrapGAppsHook3
}:
stdenv.mkDerivation rec {
pname = "swaysettings";
version = "0.4.0";
src = fetchFromGitHub {
owner = "ErikReider";
repo = "SwaySettings";
rev = "v${version}";
hash = "sha256-dn3n5DOAsw0FeXBkh19A2qB/5O+RyA2/Fj5PVtMOyL0=";
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
gettext
meson
ninja
pkg-config
python3
vala
wrapGAppsHook3
gobject-introspection
];
buildInputs = [
accountsservice
dbus
glib
gsettings-desktop-schemas
gtk-layer-shell
gtk3
json-glib
libgee
libhandy
libpulseaudio
libxml2
pantheon.granite
];
postPatch = ''
patchShebangs /build/source/build-aux/meson/postinstall.py
'';
meta = with lib; {
description = "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 ];
};
}