From b5d5648d817695555174ea8675cc5df01cb87497 Mon Sep 17 00:00:00 2001 From: Alexandre Acebedo Date: Fri, 1 Jul 2022 07:08:15 +0200 Subject: [PATCH 1/2] maintainers: add aacebedo --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index c5cd933d0bbd..ff6c009468ff 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -139,6 +139,12 @@ githubId = 241628; name = "Adam Russell"; }; + aacebedo = { + email = "alexandre@acebedo.fr"; + github = "aacebedo"; + githubId = 1217680; + name = "Alexandre Acebedo"; + }; aadibajpai = { email = "hello@aadibajpai.com"; github = "aadibajpai"; From 4cb1c832e4e8060b9c1ffa2cf80a943a92409c06 Mon Sep 17 00:00:00 2001 From: Alexandre Acebedo Date: Fri, 1 Jul 2022 07:12:58 +0200 Subject: [PATCH 2/2] swaysettings: init at 0.3.0 --- .../misc/swaysettings/default.nix | 78 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 80 insertions(+) create mode 100644 pkgs/applications/misc/swaysettings/default.nix diff --git a/pkgs/applications/misc/swaysettings/default.nix b/pkgs/applications/misc/swaysettings/default.nix new file mode 100644 index 000000000000..ae0e76bed54c --- /dev/null +++ b/pkgs/applications/misc/swaysettings/default.nix @@ -0,0 +1,78 @@ +{ lib +, fetchFromGitHub +, accountsservice +, appstream-glib +, dbus +, desktop-file-utils +, gettext +, glib +, gobject-introspection +, gsettings-desktop-schemas +, gtk3 +, json-glib +, libgee +, libhandy +, libxml2 +, meson +, ninja +, pantheon +, pkg-config +, python3 +, stdenv +, vala +, wrapGAppsHook +}: + +stdenv.mkDerivation rec { + pname = "swaysettings"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "ErikReider"; + repo = "SwaySettings"; + rev = "v${version}"; + hash = "sha256-2bbB+37t6chbdnOSpIolAsy7aD9i1UizWqkcF8Frfsk="; + }; + + nativeBuildInputs = [ + appstream-glib + desktop-file-utils + gettext + meson + ninja + pkg-config + python3 + vala + wrapGAppsHook + ]; + + buildInputs = [ + accountsservice + dbus + glib + gobject-introspection + gsettings-desktop-schemas + gtk3 + json-glib + libgee + libhandy + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a475cee96b9a..e93f1aadfc29 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -35842,4 +35842,6 @@ with pkgs; mictray = callPackage ../tools/audio/mictray { }; swift-corelibs-libdispatch = callPackage ../development/libraries/swift-corelibs-libdispatch { }; + + swaysettings = callPackage ../applications/misc/swaysettings { }; }