|
|
|
@ -1,26 +1,40 @@ |
|
|
|
|
{ mkDerivation |
|
|
|
|
, lib, stdenv |
|
|
|
|
, lib |
|
|
|
|
, stdenv |
|
|
|
|
, fetchFromGitHub |
|
|
|
|
, nix-update-script |
|
|
|
|
, qmake |
|
|
|
|
, qtbase |
|
|
|
|
, qtmultimedia |
|
|
|
|
, libvorbis |
|
|
|
|
, rtmidi |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
mkDerivation rec { |
|
|
|
|
pname = "ptcollab"; |
|
|
|
|
version = "0.3.5.1"; |
|
|
|
|
version = "0.4.0"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = "yuxshao"; |
|
|
|
|
repo = "ptcollab"; |
|
|
|
|
rev = "v${version}"; |
|
|
|
|
sha256 = "1ahfxjm1chz8k65rs7rgn4s2bgippq58fjcxl8fr21pzn718wqf1"; |
|
|
|
|
sha256 = "1yfnf47saxxj17x0vyxihr343kp7gz3fashzky79j80sqlm6ng85"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
postPatch = '' |
|
|
|
|
substituteInPlace src/editor.pro \ |
|
|
|
|
--replace '/usr/include/rtmidi' '${rtmidi}/include/rtmidi' |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake ]; |
|
|
|
|
|
|
|
|
|
buildInputs = [ qtbase qtmultimedia libvorbis ]; |
|
|
|
|
buildInputs = [ qtbase qtmultimedia libvorbis rtmidi ]; |
|
|
|
|
|
|
|
|
|
passthru = { |
|
|
|
|
updateScript = nix-update-script { |
|
|
|
|
attrPath = pname; |
|
|
|
|
}; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Experimental pxtone editor where you can collaborate with friends"; |
|
|
|
|