nixpkgs/pkgs/applications/audio/ptcollab/default.nix

45 lines
910 B
Nix
Raw Normal View History

2020-11-03 20:24:10 +00:00
{ mkDerivation
2021-04-17 21:07:53 +00:00
, lib
, stdenv
2020-11-03 20:24:10 +00:00
, fetchFromGitHub
2021-04-17 21:07:53 +00:00
, nix-update-script
2020-11-03 20:24:10 +00:00
, qmake
2021-06-16 08:52:00 +00:00
, pkg-config
2020-11-03 20:24:10 +00:00
, qtbase
, qtmultimedia
, libvorbis
2021-04-17 21:07:53 +00:00
, rtmidi
2020-11-03 20:24:10 +00:00
}:
mkDerivation rec {
pname = "ptcollab";
2021-10-18 07:29:19 +00:00
version = "0.5.0";
2020-11-03 20:24:10 +00:00
src = fetchFromGitHub {
owner = "yuxshao";
repo = "ptcollab";
rev = "v${version}";
2021-10-18 07:29:19 +00:00
sha256 = "sha256-sN3O8m+ib6Chb/RXTFbNWW6PnrolCHpmC/avRX93AH4=";
2020-11-03 20:24:10 +00:00
};
2021-06-16 08:52:00 +00:00
nativeBuildInputs = [ qmake pkg-config ];
2020-11-03 20:24:10 +00:00
2021-04-17 21:07:53 +00:00
buildInputs = [ qtbase qtmultimedia libvorbis rtmidi ];
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
2020-11-03 20:24:10 +00:00
meta = with lib; {
2020-11-03 20:24:10 +00:00
description = "Experimental pxtone editor where you can collaborate with friends";
homepage = "https://yuxshao.github.io/ptcollab/";
license = licenses.mit;
maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.all;
# Requires Qt5.15
broken = stdenv.hostPlatform.isDarwin;
};
}