2ea8997135
GitOrigin-RevId: 5bc8b980b9178ef9a4bb622320cf34e59ea2ea10
44 lines
910 B
Nix
44 lines
910 B
Nix
{ mkDerivation
|
|
, lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, qmake
|
|
, pkg-config
|
|
, qtbase
|
|
, qtmultimedia
|
|
, libvorbis
|
|
, rtmidi
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "ptcollab";
|
|
version = "0.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "yuxshao";
|
|
repo = "ptcollab";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-AeIjc+FoFsTcyWl261GvyySIHP107rL4JkuMXFhnPbk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake pkg-config ];
|
|
|
|
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";
|
|
homepage = "https://yuxshao.github.io/ptcollab/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ OPNA2608 ];
|
|
platforms = platforms.all;
|
|
# Requires Qt5.15
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
}
|