mp3splt: 2.6.1 -> 2.6.2

Do some refactoring while we're at it:
- multiple outputs
- also install oggsplt and flacsplt symlinks
- meta cleanups
This commit is contained in:
Joachim Fasting 2016-05-23 20:54:26 +02:00
parent 0dd4a30ec2
commit 8de756d4d1
No known key found for this signature in database
GPG key ID: 4330820E1E04DCF4

View file

@ -1,20 +1,27 @@
{ fetchurl, stdenv, libmp3splt, pkgconfig }:
{ stdenv, fetchurl, pkgconfig, libmp3splt }:
stdenv.mkDerivation rec {
name = "mp3splt-2.6.1";
pname = "mp3splt";
version = "2.6.2";
name = "${pname}-${version}";
src = fetchurl {
url = "http://prdownloads.sourceforge.net/mp3splt/${name}.tar.gz";
sha256 = "783a903fafbcf47f06673136a78b78d32a8e616a6ae06b79b459a32090dd14f7";
url = "mirror://sourceforge/${pname}/${name}.tar.gz";
sha256 = "1aiv20gypb6r84qabz8gblk8vi42cg3x333vk2pi3fyqvl82phry";
};
buildInputs = [ libmp3splt pkgconfig ];
configureFlags = [ "--enable-oggsplt-symlink" "--enable-flacsplt-symlink" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libmp3splt ];
meta = {
description = "utility to split mp3, ogg vorbis and FLAC files without decoding";
outputs = [ "out" "man" ];
meta = with stdenv.lib; {
description = "Utility to split mp3, ogg vorbis and FLAC files without decoding";
homepage = http://sourceforge.net/projects/mp3splt/;
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.bosu ];
platforms = stdenv.lib.platforms.unix;
license = licenses.gpl2;
maintainers = [ maintainers.bosu ];
platforms = platforms.unix;
};
}