depot/third_party/nixpkgs/pkgs/applications/graphics/komorebi/default.nix

57 lines
963 B
Nix
Raw Normal View History

{ 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;
};
}