Merge pull request #152274 from OPNA2608/update/ptcollab

ptcollab: 0.5.0.1 -> 0.5.0.3
This commit is contained in:
Bobby Rong 2021-12-27 10:28:04 +08:00 committed by GitHub
commit 4ae1109a91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,6 @@
, lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, qmake
, pkg-config
@ -14,25 +13,15 @@
mkDerivation rec {
pname = "ptcollab";
version = "0.5.0.1";
version = "0.5.0.3";
src = fetchFromGitHub {
owner = "yuxshao";
repo = "ptcollab";
rev = "v${version}";
sha256 = "10v310smm0df233wlh1kqv8i36lsg1m36v0flrhs2202k50d69ri";
sha256 = "sha256-8bgi621psvUlhiLyZ15tKGmGOs6HTf5/6Ru2Z9l8QIo=";
};
patches = [
# Lifts macOS version restriction
# Remove when version > 0.5.0.1
(fetchpatch {
name = "0001-ptcollab-lift-10.14-deployment-target-limitation.patch";
url = "https://github.com/yuxshao/ptcollab/commit/a9664b5953e1046e1f7da3b38744f33a7ff0ea24.patch";
sha256 = "0qgpv5hmb4504kamdgxalrhc4zb9rdxln23s7qwc7ikafg54h1fm";
})
];
nativeBuildInputs = [ qmake pkg-config ];
buildInputs = [ qtbase qtmultimedia libvorbis rtmidi ];