blob: 6ed4a2efef60b7697dd9e7e5fbd42d1c276b1dcd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib
, stdenv
, fetchFromGitHub
, libGL
, libX11
, libXext
, libXrandr
, pkg-config
, python3
, Cocoa
}:
stdenv.mkDerivation rec {
pname = "master_me";
version = "1.2.0";
src = fetchFromGitHub {
owner = "trummerschlunk";
repo = "master_me";
rev = version;
fetchSubmodules = true;
hash = "sha256-FG3X1dOF9KRHHSnd5/zP+GrYCB2O0y+tnI5/l9tNhyE=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libGL python3 ]
++ lib.optionals stdenv.isDarwin [ Cocoa ]
++ lib.optionals stdenv.isLinux [ libX11 libXext libXrandr ];
enableParallelBuilding = true;
postPatch = ''
patchShebangs ./dpf/utils/
'';
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {
homepage = "https://github.com/trummerschlunk/master_me";
description = "automatic mastering plugin for live streaming, podcasts and internet radio";
maintainers = with maintainers; [ magnetophon ];
platforms = platforms.all;
broken = stdenv.isDarwin; # error: no type or protocol named 'NSPasteboardType'
license = licenses.gpl3Plus;
mainProgram = "master_me";
};
}
|