nixpkgs-immich/pkgs/by-name/qt/qtractor/package.nix

85 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2024-09-17 10:23:40 -06:00
{ lib
, alsa-lib
, aubio
, cmake
, dssi
, fetchurl
, flac
, libjack2
, ladspaH
, ladspaPlugins
, liblo
, libmad
, libsamplerate
, libsndfile
, libtool
, libvorbis
, lilv
, lv2
, opusfile
, pkg-config
, qt6
, rubberband
, serd
, stdenv
, sord
, sratom
, suil
}:
stdenv.mkDerivation rec {
pname = "qtractor";
version = "1.0.0";
src = fetchurl {
url = "mirror://sourceforge/qtractor/qtractor-${version}.tar.gz";
hash = "sha256-yoVxRUXUhZrIzJVWLKA6G4hBf52dvJdr7FlfM+ZHUeo=";
};
nativeBuildInputs = [
cmake
libtool
pkg-config
qt6.qttools
qt6.wrapQtAppsHook
];
buildInputs = [
alsa-lib
aubio
dssi
flac
libjack2
ladspaH
ladspaPlugins
liblo
libmad
libsamplerate
libsndfile
libtool
libvorbis
lilv
lv2
opusfile
qt6.qtbase
qt6.qtsvg
rubberband
serd
sord
sratom
suil
];
meta = with lib; {
description = "Audio/MIDI multi-track sequencer";
homepage = "https://qtractor.sourceforge.io";
changelog = let
version' = builtins.replaceStrings ["."] ["_"] version;
in "https://github.com/rncbc/qtractor/blob/qtractor_${version'}/ChangeLog";
license = licenses.gpl2Plus;
mainProgram = "qtractor";
maintainers = [ ];
platforms = platforms.linux;
};
}