2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libmp3splt }:
|
2014-07-07 20:38:14 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-23 20:54:26 +02:00
|
|
|
pname = "mp3splt";
|
|
|
|
version = "2.6.2";
|
|
|
|
|
2014-07-07 20:38:14 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
2016-05-23 20:54:26 +02:00
|
|
|
sha256 = "1aiv20gypb6r84qabz8gblk8vi42cg3x333vk2pi3fyqvl82phry";
|
2014-07-07 20:38:14 +02:00
|
|
|
};
|
|
|
|
|
2016-05-23 20:54:26 +02:00
|
|
|
configureFlags = [ "--enable-oggsplt-symlink" "--enable-flacsplt-symlink" ];
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2016-05-23 20:54:26 +02:00
|
|
|
buildInputs = [ libmp3splt ];
|
|
|
|
|
|
|
|
outputs = [ "out" "man" ];
|
2014-07-07 20:38:14 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-05-23 20:54:26 +02:00
|
|
|
description = "Utility to split mp3, ogg vorbis and FLAC files without decoding";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://sourceforge.net/projects/mp3splt/";
|
2016-05-23 20:54:26 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.bosu ];
|
|
|
|
platforms = platforms.unix;
|
2014-07-07 20:38:14 +02:00
|
|
|
};
|
|
|
|
}
|