depot/third_party/nixpkgs/pkgs/by-name/ko/komorebi/package.nix

56 lines
1,013 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
meson,
vala,
pkg-config,
glib,
gtk3,
libgee,
webkitgtk_4_0,
clutter-gtk,
clutter-gst,
ninja,
wrapGAppsHook3,
testers,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "komorebi";
version = "2.2.1";
src = fetchFromGitHub {
owner = "Komorebi-Fork";
repo = "komorebi";
rev = "v${finalAttrs.version}";
hash = "sha256-vER69dSxu4JuWNAADpkxHE/zjOMhQp+Fc21J+JHQ8xk=";
};
nativeBuildInputs = [
meson
vala
pkg-config
ninja
wrapGAppsHook3
];
buildInputs = [
glib
gtk3
libgee
webkitgtk_4_0
clutter-gtk
clutter-gst
];
passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
meta = with lib; {
description = "Beautiful and customizable wallpaper manager for Linux";
homepage = "https://github.com/Komorebi-Fork/komorebi";
license = licenses.gpl3Only;
maintainers = with maintainers; [ kranzes ];
platforms = platforms.linux;
};
})