Skip to content

Commit

Permalink
master_me: init at 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed Jul 13, 2023
1 parent bf3e7b8 commit 060a390
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
45 changes: 45 additions & 0 deletions pkgs/applications/audio/master_me/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{ 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;
sha256 = "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;
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28759,6 +28759,10 @@ with pkgs;

masterpdfeditor4 = libsForQt5.callPackage ../applications/misc/masterpdfeditor4 { };

master_me = callPackage ../applications/audio/master_me {
inherit (darwin.apple_sdk.frameworks) Cocoa;
};

pdfstudio2021 = callPackage ../applications/misc/pdfstudio {
year = "2021";
};
Expand Down

0 comments on commit 060a390

Please sign in to comment.