summary refs log tree commit diff
path: root/pkgs/applications/audio/m4acut/default.nix
blob: f3ceee9227c4ac221c3b2bddc24ea2aa45e8a3e1 (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
{ 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;
  };
}