diff --git a/pkgs/by-name/en/enkei/package.nix b/pkgs/by-name/en/enkei/package.nix new file mode 100644 index 000000000000..e2abf1870afe --- /dev/null +++ b/pkgs/by-name/en/enkei/package.nix @@ -0,0 +1,49 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + pkg-config, + glib, + cairo, + wayland, + libGL, +}: +rustPlatform.buildRustPackage rec { + pname = "enkei"; + version = "0.9.3"; + + src = fetchFromGitHub { + owner = "fia0"; + repo = "enkei"; + rev = "v${version}"; + sha256 = "sha256-COU2JtiJcPRA3Jno0qLEIVgimYBWfn5Pgc1OMImsJtI="; + }; + + cargoHash = "sha256-nf9JM5FfXBNEKzZrfu3jphupL9PdoQLVpqGoZ/X9p5E="; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + wayland + libGL + glib + cairo + ]; + + doCheck = false; # no tests + + meta = with lib; { + description = "Wallpaper daemon and control tool for Wayland"; + longDescription = '' + Created to allow displaying dynamic wallpapers based on the specification format used for example in the `Gnome` desktop environment. + It is designed to offer a _smooth_ transition between wallpapers and gradual change over long and short periods of time. + For a fast handling `enkei` uses `OpenGL` to render images and blending them for transitions. + ''; + homepage = "https://github.com/jwuensche/enkei"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ ppenguin ]; + }; +}