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

28 lines
971 B
Nix
Raw Normal View History

2020-05-16 23:36:45 +01:00
{ mkDerivation, stdenv, fetchFromGitHub, fetchpatch, pkg-config, qtscript, qmake, libjack2
}:
mkDerivation rec {
pname = "jamulus";
2020-08-01 14:29:55 +01:00
version = "3.5.9";
2020-05-16 23:36:45 +01:00
src = fetchFromGitHub {
owner = "corrados";
repo = "jamulus";
rev = "r${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}";
2020-08-01 14:29:55 +01:00
sha256 = "0h2m1sahi8cg15k6wa9m2d38va2cs3nvi0q8rpr9vak8g8d3p460";
2020-05-16 23:36:45 +01:00
};
nativeBuildInputs = [ pkg-config qmake ];
buildInputs = [ qtscript libjack2 ];
qmakeFlags = [ "CONFIG+=noupcasename" ];
meta = {
description = "Enables musicians to perform real-time jam sessions over the internet";
longDescription = "You also need to enable JACK and should enable several real-time optimizations. See project website for details";
homepage = "https://github.com/corrados/jamulus/wiki";
license = stdenv.lib.licenses.gpl2; # linked in git repo, at least
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.seb314 ];
};
}