nixos-config/pkgs/purr-data/default.nix

32 lines
762 B
Nix
Raw Permalink Normal View History

2025-01-15 06:00:12 +00:00
{ stdenv, lib, fetchFromGitHub, bison, fftw, libtool, libjack2, bluez, udev
, wget, }:
2025-01-05 10:53:54 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "pd-l2ork";
version = "20241224";
src = fetchFromGitHub {
owner = "pd-l2ork";
repo = "pd-l2ork";
rev = finalAttrs.version;
hash = "sha256-A+ETptD1R+Pb4r2qgD0YxV7KYeAb9iLBwENhYQyjBc4=";
};
2025-01-15 06:00:12 +00:00
nativeBuildInputs = [ libtool ];
2025-01-05 10:53:54 +00:00
2025-01-15 06:00:12 +00:00
buildInputs = [ bison fftw libjack2 bluez udev wget ];
2025-01-05 10:53:54 +00:00
preBuild = ''
patchShebangs l2ork_addons/*.sh
'';
2025-01-15 06:00:12 +00:00
buildFlags = [ "prefix=${placeholder "out"}" ];
2025-01-05 10:53:54 +00:00
meta = with lib; {
homepage = "http://l2ork.music.vt.edu/";
description = "Pure Data flavor based on Purr Data";
license = licenses.bsd3;
platforms = platforms.linux ++ platforms.darwin;
};
})