Files
nixpkgs/pkgs/by-name/li/libcava/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

39 lines
898 B
Nix

{
cava,
fetchFromGitHub,
nix-update-script,
meson,
ninja,
}:
cava.overrideAttrs (old: rec {
pname = "libcava";
# fork may not be updated when we update upstream
version = "0.10.4";
src = fetchFromGitHub {
owner = "LukashonakV";
repo = "cava";
tag = version;
hash = "sha256-9eTDqM+O1tA/3bEfd1apm8LbEcR9CVgELTIspSVPMKM=";
};
nativeBuildInputs = old.nativeBuildInputs ++ [
meson
ninja
];
# Automatically enable all optional dependencies
# (instead, Nix sets this option to "enabled" which
# forces all optional dependencies to be required
# or disabled individually)
mesonAutoFeatures = "auto";
dontVersionCheck = true; # no `bin/cava`
passthru.updateScript = nix-update-script { };
meta = old.meta // {
homepage = "https://github.com/LukashonakV/cava";
description = "Fork of CAVA to build it as a shared library";
};
})