@@ -0,0 +1,24 @@
1+{ lib, stdenv, autoreconfHook, fetchFromGitHub, l-smash }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "m4acut";
5+ version = "0.1.2";
6+
7+ src = fetchFromGitHub {
8+ owner = "nu774";
9+ repo = "m4acut";
10+ rev = "v${version}";
11+ sha256 = "1hzf9f1fzmlpnxjaxhs2w22wzb28vd87ycaddnix1mmhvh3nvzkd";
12+ };
13+
14+ nativeBuildInputs = [ autoreconfHook ];
15+ buildInputs = [ l-smash ];
16+
17+ meta = with lib; {
18+ description = "Losslessly & gaplessly cut m4a (AAC in MP4) files.";
19+ homepage = "https://github.com/nu774/m4acut";
20+ license = with licenses; [ bsdOriginal zlib ];
21+ maintainers = [ maintainers.chkno ];
22+ platforms = platforms.all;
23+ };
24+}