nixpkgs/pkgs/applications/audio/master_me/default.nix
Ihar Hrachyshka dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00

53 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
libGL,
libX11,
libXext,
libXrandr,
pkg-config,
python3,
}:
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.hostPlatform.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.hostPlatform.isDarwin; # error: no type or protocol named 'NSPasteboardType'
license = licenses.gpl3Plus;
mainProgram = "master_me";
};
}