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