1{ lib, stdenv, fetchurl, libtool, libmad, libid3tag }:
2
3stdenv.mkDerivation rec {
4 pname = "libmp3splt";
5 version = "0.9.2";
6
7 src = fetchurl {
8 url = "mirror://sourceforge/mp3splt/${pname}-${version}.tar.gz";
9 sha256 = "1p1mn2hsmj5cp40fnc8g1yfvk72p8pjxi866gjdkgjsqrr7xdvih";
10 };
11
12 outputs = [ "out" "dev" ];
13 nativeBuildInputs = [ libtool ];
14 buildInputs = [ libmad libid3tag ];
15
16 configureFlags = [ "--disable-pcre" ];
17
18 meta = with lib; {
19 homepage = "https://sourceforge.net/projects/mp3splt/";
20 description = "Utility to split mp3, ogg vorbis and FLAC files without decoding";
21 maintainers = with maintainers; [ bosu ];
22 platforms = platforms.unix;
23 license = licenses.gpl2;
24 };
25}