nixpkgs/pkgs/applications/audio/aether-lv2/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

40 lines
911 B
Nix

{ lib, stdenv, fetchFromGitHub, lv2, libX11, libGL, libGLU, mesa, cmake }:
stdenv.mkDerivation rec {
pname = "aether-lv2";
version = "1.2.1";
src = fetchFromGitHub {
owner = "Dougal-s";
repo = "aether";
rev = "v${version}";
sha256 = "0xhih4smjxn87s0f4gaab51d8594qlp0lyypzxl5lm37j1i9zigs";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
buildInputs = [
lv2 libX11 libGL libGLU mesa
];
env.NIX_CFLAGS_COMPILE = toString [
# Needed with GCC 12
"-Wno-error=array-bounds"
"-Wno-error=stringop-overflow"
];
installPhase = ''
mkdir -p $out/lib/lv2
cp -r aether.lv2 $out/lib/lv2
'';
meta = with lib; {
homepage = "https://dougal-s.github.io/Aether/";
description = "Algorithmic reverb LV2 based on Cloudseed";
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
license = licenses.mit;
};
}