ptcollab: 0.3.5.1 -> 0.4.0
This commit is contained in:
parent
d89513b96a
commit
3ff497aaab
@ -1,26 +1,40 @@
|
|||||||
{ mkDerivation
|
{ mkDerivation
|
||||||
, lib, stdenv
|
, lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, nix-update-script
|
||||||
, qmake
|
, qmake
|
||||||
, qtbase
|
, qtbase
|
||||||
, qtmultimedia
|
, qtmultimedia
|
||||||
, libvorbis
|
, libvorbis
|
||||||
|
, rtmidi
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "ptcollab";
|
pname = "ptcollab";
|
||||||
version = "0.3.5.1";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "yuxshao";
|
owner = "yuxshao";
|
||||||
repo = "ptcollab";
|
repo = "ptcollab";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1ahfxjm1chz8k65rs7rgn4s2bgippq58fjcxl8fr21pzn718wqf1";
|
sha256 = "1yfnf47saxxj17x0vyxihr343kp7gz3fashzky79j80sqlm6ng85";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/editor.pro \
|
||||||
|
--replace '/usr/include/rtmidi' '${rtmidi}/include/rtmidi'
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake ];
|
nativeBuildInputs = [ qmake ];
|
||||||
|
|
||||||
buildInputs = [ qtbase qtmultimedia libvorbis ];
|
buildInputs = [ qtbase qtmultimedia libvorbis rtmidi ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script {
|
||||||
|
attrPath = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Experimental pxtone editor where you can collaborate with friends";
|
description = "Experimental pxtone editor where you can collaborate with friends";
|
||||||
|
Loading…
Reference in New Issue
Block a user