narsil: bbc8fc5efd779ec885045f9b8d903d0df1bec1b2 -> f5ec6bd6b8013f2a2b74fc45b6f4c5374...
[NixPkgs.git] / pkgs / by-name / sw / swaysettings / package.nix
blob099b9eb3c694a06d62d021ab5663441a5212389a
2   lib,
3   fetchFromGitHub,
4   accountsservice,
5   appstream-glib,
6   dbus,
7   desktop-file-utils,
8   gettext,
9   glib,
10   gobject-introspection,
11   gsettings-desktop-schemas,
12   gtk-layer-shell,
13   gtk3,
14   json-glib,
15   libgee,
16   libhandy,
17   libpulseaudio,
18   libxml2,
19   meson,
20   ninja,
21   pantheon,
22   pkg-config,
23   python3,
24   stdenv,
25   vala,
26   wrapGAppsHook3,
29 stdenv.mkDerivation rec {
30   pname = "swaysettings";
31   version = "0.4.0";
33   src = fetchFromGitHub {
34     owner = "ErikReider";
35     repo = "SwaySettings";
36     rev = "v${version}";
37     hash = "sha256-dn3n5DOAsw0FeXBkh19A2qB/5O+RyA2/Fj5PVtMOyL0=";
38   };
40   nativeBuildInputs = [
41     appstream-glib
42     desktop-file-utils
43     gettext
44     meson
45     ninja
46     pkg-config
47     python3
48     vala
49     wrapGAppsHook3
50     gobject-introspection
51   ];
53   buildInputs = [
54     accountsservice
55     dbus
56     glib
57     gsettings-desktop-schemas
58     gtk-layer-shell
59     gtk3
60     json-glib
61     libgee
62     libhandy
63     libpulseaudio
64     libxml2
65     pantheon.granite
66   ];
68   postPatch = ''
69     patchShebangs build-aux/meson/postinstall.py
70   '';
72   meta = with lib; {
73     description = "GUI for configuring your sway desktop";
74     longDescription = ''
75       Sway settings enables easy configuration of a sway desktop environment
76       such as selection of application or icon themes.
77     '';
78     homepage = "https://github.com/ErikReider/SwaySettings";
79     license = licenses.gpl3Plus;
80     platforms = platforms.linux;
81     maintainers = [ maintainers.aacebedo ];
82   };