47 lines
1.1 KiB
Nix
47 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
libGL,
|
|
libx11,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libprojectm";
|
|
version = "4.1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectM-visualizer";
|
|
repo = "projectm";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-g7a5Ce7dEfOBGn6wMgdwujkWSi+vLeayWHClvH5W1wY=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
libGL
|
|
libx11
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = {
|
|
description = "Cross-platform Milkdrop-compatible Music Visualization Library";
|
|
homepage = "https://github.com/projectM-visualizer/projectm";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = with lib.maintainers; [ fgaz ];
|
|
platforms = lib.platforms.all;
|
|
longDescription = ''
|
|
The open-source project that reimplements the esteemed Winamp Milkdrop by
|
|
Geiss in a more modern, cross-platform reusable library.
|
|
Read an audio input and produces mesmerizing visuals, detecting tempo, and
|
|
rendering advanced equations into a limitless array of user-contributed visualizations.
|
|
'';
|
|
};
|
|
})
|