2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libmp3splt }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mp3splt";
|
|
|
|
version = "2.6.2";
|
|
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1aiv20gypb6r84qabz8gblk8vi42cg3x333vk2pi3fyqvl82phry";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-oggsplt-symlink" "--enable-flacsplt-symlink" ];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libmp3splt ];
|
|
|
|
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Utility to split mp3, ogg vorbis and FLAC files without decoding";
|
|
|
|
homepage = "https://sourceforge.net/projects/mp3splt/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.bosu ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|