about summary refs log tree commit diff
path: root/pkgs/applications/graphics/komorebi/default.nix
blob: 2d099b5eb7c9616c78ff77a24339925a912f6cc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{ lib
, stdenv
, fetchFromGitHub
, meson
, vala
, pkg-config
, glib
, gtk3
, libgee
, webkitgtk
, clutter-gtk
, clutter-gst
, ninja
, wrapGAppsHook
, testers
, komorebi
}:

stdenv.mkDerivation rec {
  pname = "komorebi";
  version = "2.2.1";

  src = fetchFromGitHub {
    owner = "Komorebi-Fork";
    repo = "komorebi";
    rev = "v${version}";
    hash = "sha256-vER69dSxu4JuWNAADpkxHE/zjOMhQp+Fc21J+JHQ8xk=";
  };

  nativeBuildInputs = [
    meson
    vala
    pkg-config
    ninja
    wrapGAppsHook
  ];

  buildInputs = [
    glib
    gtk3
    libgee
    webkitgtk
    clutter-gtk
    clutter-gst
  ];

  passthru.tests.version = testers.testVersion { package = komorebi; };

  meta = with lib; {
    description = "A beautiful and customizable wallpaper manager for Linux";
    homepage = "https://github.com/Komorebi-Fork/komorebi";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ kranzes ];
    platforms = platforms.linux;
  };
}