2016-05-23 18:54:26 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libmp3splt }:
|
2014-07-07 18:38:14 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-23 18:54:26 +00:00
|
|
|
pname = "mp3splt";
|
|
|
|
version = "2.6.2";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
2014-07-07 18:38:14 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-23 18:54:26 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${name}.tar.gz";
|
|
|
|
sha256 = "1aiv20gypb6r84qabz8gblk8vi42cg3x333vk2pi3fyqvl82phry";
|
2014-07-07 18:38:14 +00:00
|
|
|
};
|
|
|
|
|
2016-05-23 18:54:26 +00:00
|
|
|
configureFlags = [ "--enable-oggsplt-symlink" "--enable-flacsplt-symlink" ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libmp3splt ];
|
|
|
|
|
|
|
|
outputs = [ "out" "man" ];
|
2014-07-07 18:38:14 +00:00
|
|
|
|
2016-05-23 18:54:26 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Utility to split mp3, ogg vorbis and FLAC files without decoding";
|
2014-07-07 18:38:14 +00:00
|
|
|
homepage = http://sourceforge.net/projects/mp3splt/;
|
2016-05-23 18:54:26 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.bosu ];
|
|
|
|
platforms = platforms.unix;
|
2014-07-07 18:38:14 +00:00
|
|
|
};
|
|
|
|
}
|