depot/third_party/nixpkgs/pkgs/by-name/m4/m4acut/package.nix

25 lines
668 B
Nix

{ lib, stdenv, autoreconfHook, fetchFromGitHub, l-smash }:
stdenv.mkDerivation rec {
pname = "m4acut";
version = "0.1.2";
src = fetchFromGitHub {
owner = "nu774";
repo = "m4acut";
rev = "v${version}";
sha256 = "1hzf9f1fzmlpnxjaxhs2w22wzb28vd87ycaddnix1mmhvh3nvzkd";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ l-smash ];
meta = with lib; {
description = "Losslessly & gaplessly cut m4a (AAC in MP4) files";
homepage = "https://github.com/nu774/m4acut";
license = with licenses; [ bsdOriginal zlib ];
maintainers = [ maintainers.chkno ];
platforms = platforms.all;
mainProgram = "m4acut";
};
}