2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, 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";
|
|
|
|
|
2014-07-07 18:38:14 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
2016-05-23 18:54:26 +00:00
|
|
|
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" ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2016-05-23 18:54:26 +00:00
|
|
|
buildInputs = [ libmp3splt ];
|
|
|
|
|
|
|
|
outputs = [ "out" "man" ];
|
2014-07-07 18:38:14 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-05-23 18:54:26 +00:00
|
|
|
description = "Utility to split mp3, ogg vorbis and FLAC files without decoding";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://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
|
|
|
};
|
|
|
|
}
|