···
1
-
{ fetchurl, stdenv, libmp3splt, pkgconfig }:
1
+
{ stdenv, fetchurl, pkgconfig, libmp3splt }:
stdenv.mkDerivation rec {
4
-
name = "mp3splt-2.6.1";
6
+
name = "${pname}-${version}";
7
-
url = "http://prdownloads.sourceforge.net/mp3splt/${name}.tar.gz";
8
-
sha256 = "783a903fafbcf47f06673136a78b78d32a8e616a6ae06b79b459a32090dd14f7";
10
+
url = "mirror://sourceforge/${pname}/${name}.tar.gz";
11
+
sha256 = "1aiv20gypb6r84qabz8gblk8vi42cg3x333vk2pi3fyqvl82phry";
11
-
buildInputs = [ libmp3splt pkgconfig ];
14
+
configureFlags = [ "--enable-oggsplt-symlink" "--enable-flacsplt-symlink" ];
15
+
nativeBuildInputs = [ pkgconfig ];
16
+
buildInputs = [ libmp3splt ];
14
-
description = "utility to split mp3, ogg vorbis and FLAC files without decoding";
18
+
outputs = [ "out" "man" ];
20
+
meta = with stdenv.lib; {
21
+
description = "Utility to split mp3, ogg vorbis and FLAC files without decoding";
homepage = http://sourceforge.net/projects/mp3splt/;
16
-
license = stdenv.lib.licenses.gpl2;
17
-
maintainers = [ stdenv.lib.maintainers.bosu ];
18
-
platforms = stdenv.lib.platforms.unix;
23
+
license = licenses.gpl2;
24
+
maintainers = [ maintainers.bosu ];
25
+
platforms = platforms.unix;