3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/meters_lv2/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
1.1 KiB
Nix
Raw Normal View History

2022-01-06 13:58:57 +00:00
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, lv2
, libGLU
, libGL
, gtk2
, cairo
, pango
, fftwFloat
, libjack2
}:
stdenv.mkDerivation rec {
pname = "meters.lv2";
2019-04-04 02:21:55 +01:00
version = "0.9.10";
robtkVersion = "0.6.2";
2014-12-06 19:20:24 +00:00
nativeBuildInputs = [ pkg-config ];
2019-11-10 16:44:34 +00:00
buildInputs = [ lv2 libGLU libGL gtk2 cairo pango fftwFloat libjack2 ];
2014-12-06 19:20:24 +00:00
2022-01-06 13:58:57 +00:00
src = fetchFromGitHub {
owner = "x42";
repo = "meters.lv2";
rev = "v${version}";
sha256 = "sha256-u2KIsaia0rAteQoEh6BLNCiRHFufHYF95z6J/EMgeSE=";
};
robtkSrc = fetchFromGitHub {
owner = "x42";
repo = "robtk";
rev = "v${robtkVersion}";
sha256 = "sha256-zeRMobfKW0+wJwYVem74tglitkI6DSoK75Auywcu4Tw=";
};
2014-12-06 19:20:24 +00:00
2022-01-06 13:58:57 +00:00
postUnpack = ''
rm -rf $sourceRoot/robtk/
ln -s ${robtkSrc} $sourceRoot/robtk
'';
2014-12-06 19:20:24 +00:00
meter_VERSION = version;
2022-01-06 13:58:57 +00:00
enableParallelBuilding = true;
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {
description = "Collection of audio level meters with GUI in LV2 plugin format";
homepage = "https://x42.github.io/meters.lv2/";
maintainers = with maintainers; [ ehmry ];
license = licenses.gpl2;
platforms = platforms.linux;
};
2014-12-06 19:20:24 +00:00
}