about summary refs log tree commit diff
path: root/pkgs/by-name/og/oguri/package.nix
blob: b7cc17014ed3e0b275f8b7e25447e01854309c95 (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
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, meson
, ninja
, cairo
, gdk-pixbuf
, wayland
, wayland-protocols
, wayland-scanner
}:

stdenv.mkDerivation rec {
  pname = "oguri";
  version = "unstable-2020-12-19";

  src = fetchFromGitHub {
    owner = "vilhalmer";
    repo = pname;
    rev = "6937fee10a9b0ef3ad8f94f606c0e0d9e7dec564";
    sha256 = "sXNvpI/YPDPd2cXQAfRO4ut21gSCXxbo1DpaZmHJDYQ=";
  };

  strictDeps = true;
  nativeBuildInputs = [ pkg-config meson ninja wayland-scanner ];
  buildInputs = [
    cairo
    gdk-pixbuf
    wayland
    wayland-protocols
  ];

  meta = with lib; {
    homepage = "https://github.com/vilhalmer/oguri/";
    description = "Very nice animated wallpaper daemon for Wayland compositors";
    license = licenses.mit;
    maintainers = with maintainers; [ AndersonTorres ];
    inherit (wayland.meta) platforms;
    broken = stdenv.hostPlatform.isDarwin; # this should be enfoced by wayland platforms in the future
  };
}