2021-02-16 15:36:31 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, cairo
|
|
|
|
, gdk-pixbuf
|
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
2022-05-09 14:18:15 +00:00
|
|
|
, wayland-scanner
|
2021-02-16 15:36:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "oguri";
|
|
|
|
version = "unstable-2020-12-19";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vilhalmer";
|
|
|
|
repo = pname;
|
|
|
|
rev = "6937fee10a9b0ef3ad8f94f606c0e0d9e7dec564";
|
|
|
|
sha256 = "sXNvpI/YPDPd2cXQAfRO4ut21gSCXxbo1DpaZmHJDYQ=";
|
|
|
|
};
|
|
|
|
|
2022-05-09 14:18:15 +00:00
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ pkg-config meson ninja wayland-scanner ];
|
2021-02-16 15:36:31 +00:00
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
gdk-pixbuf
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/vilhalmer/oguri/";
|
|
|
|
description = "A very nice animated wallpaper daemon for Wayland compositors";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2023-02-17 13:21:27 +00:00
|
|
|
inherit (wayland.meta) platforms;
|
|
|
|
broken = stdenv.isDarwin; # this should be enfoced by wayland platforms in the future
|
2021-02-16 15:36:31 +00:00
|
|
|
};
|
|
|
|
}
|