depot/pkgs/by-name/qt/qtractor/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

84 lines
1.3 KiB
Nix

{ 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.3.0";
src = fetchurl {
url = "mirror://sourceforge/qtractor/qtractor-${version}.tar.gz";
hash = "sha256-ufQUNQvmxxAMIAWusclPzE1zkjz93guvygi6EfAEgH4=";
};
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;
};
}