Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
1.1 KiB
Nix
47 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
libGL,
|
|
xorg,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libprojectm";
|
|
version = "4.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "projectM-visualizer";
|
|
repo = "projectm";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-gf1k9iSDARp6/M2/Po1wdOEY6y/QG2nq5uhSFU6bxAM=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
libGL
|
|
xorg.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.
|
|
'';
|
|
};
|
|
})
|