mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
ptcollab: 0.3.5.1 -> 0.4.0
This commit is contained in:
parent
d89513b96a
commit
3ff497aaab
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user