nixpkgs/pkgs/by-name/li/linux-wallpaperengine/package.nix
Emily fbda1dbfd6 treewide: replace freeglut with libglut
Allow the macOS GLUT framework to be used automatically in many
cases. Packages that specifically search for freeglut or require its
additional APIs should still explicitly depend on it.

Deliberately skip the Haskell package set, which is mostly
automatically generated, and mupdf, which has its own fork of freeglut.
2024-06-22 18:06:51 +01:00

77 lines
1.2 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, ffmpeg
, libglut
, freeimage
, glew
, glfw
, glm
, libGL
, libpulseaudio
, libX11
, libXau
, libXdmcp
, libXext
, libXpm
, libXrandr
, libXxf86vm
, lz4
, mpv
, pkg-config
, SDL2
, SDL2_mixer
, zlib
}:
stdenv.mkDerivation {
pname = "linux-wallpaperengine";
version = "unstable-2023-09-23";
src = fetchFromGitHub {
owner = "Almamu";
repo = "linux-wallpaperengine";
# upstream lacks versioned releases
rev = "21c38d9fd1d3d89376c870cec5c5e5dc7086bc3c";
hash = "sha256-bZlMHlNKSydh9eGm5cFSEtv/RV9sA5ABs99uurblBZY=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
ffmpeg
libglut
freeimage
glew
glfw
glm
libGL
libpulseaudio
libX11
libXau
libXdmcp
libXext
libXrandr
libXpm
libXxf86vm
mpv
lz4
SDL2
SDL2_mixer.all
zlib
];
meta = {
description = "Wallpaper Engine backgrounds for Linux";
homepage = "https://github.com/Almamu/linux-wallpaperengine";
license = lib.licenses.gpl3Only;
mainProgram = "linux-wallpaperengine";
maintainers = with lib.maintainers; [ eclairevoyant ];
platforms = lib.platforms.linux;
};
}