audiobookshelf: 2.18.1 -> 2.19.0 (#378967)
[NixPkgs.git] / pkgs / by-name / sp / spice-up / package.nix
blob48b1bce684c3dcdefb05904bfe6e614961440cdb
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   nix-update-script,
6   meson,
7   ninja,
8   pkg-config,
9   python3,
10   vala,
11   wrapGAppsHook3,
12   glib,
13   gtk3,
14   json-glib,
15   libevdev,
16   libgee,
17   libgudev,
18   libsoup_2_4,
19   pantheon,
22 stdenv.mkDerivation rec {
23   pname = "spice-up";
24   version = "1.9.1";
26   src = fetchFromGitHub {
27     owner = "Philip-Scott";
28     repo = "Spice-up";
29     rev = version;
30     sha256 = "sha256-FI6YMbqZfaU19k8pS2eoNCnX8O8F99SHHOxMwHC5fTc=";
31   };
33   nativeBuildInputs = [
34     meson
35     ninja
36     pkg-config
37     python3
38     vala
39     wrapGAppsHook3
40   ];
42   buildInputs = [
43     glib
44     gtk3
45     json-glib
46     libevdev
47     libgee
48     libgudev
49     libsoup_2_4
50     pantheon.granite
51   ];
53   postPatch = ''
54     chmod +x meson/post_install.py
55     patchShebangs meson/post_install.py
56   '';
58   passthru = {
59     updateScript = nix-update-script { };
60   };
62   meta = with lib; {
63     description = "Create simple and beautiful presentations";
64     homepage = "https://github.com/Philip-Scott/Spice-up";
65     maintainers =
66       with maintainers;
67       [
68         samdroid-apps
69         xiorcale
70       ]
71       ++ teams.pantheon.members;
72     platforms = platforms.linux;
73     # The COPYING file has GPLv3; some files have GPLv2+ and some have GPLv3+
74     license = licenses.gpl3Plus;
75     mainProgram = "com.github.philip_scott.spice-up";
76   };