git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit8de756d4d14706486a18b49c5add01761b1c54fe authorJoachim Fasting <joachifm@fastmail.fm> dateMon 23 May 2016, 20:54 (11 years ago) parent0dd4a30
1 file changed+17−10
pkgs/applications/audio/mp3splt/default.nix+17−10
pkgs/applications/audio/mp3splt/default.nix+17−10
@@ -1,20 +1,27 @@
1−{ fetchurl, stdenv, libmp3splt, pkgconfig }:
1+{ stdenv, fetchurl, pkgconfig, libmp3splt }:
22
33stdenv.mkDerivation rec {
4− name = "mp3splt-2.6.1";
4+ pname = "mp3splt";
5+ version = "2.6.2";
6+ name = "${pname}-${version}";
7+
58
69 src = fetchurl {
7− url = "http://prdownloads.sourceforge.net/mp3splt/${name}.tar.gz";
8− sha256 = "783a903fafbcf47f06673136a78b78d32a8e616a6ae06b79b459a32090dd14f7";
10+ url = "mirror://sourceforge/${pname}/${name}.tar.gz";
11+ sha256 = "1aiv20gypb6r84qabz8gblk8vi42cg3x333vk2pi3fyqvl82phry";
912 };
1013
11− buildInputs = [ libmp3splt pkgconfig ];
14+ configureFlags = [ "--enable-oggsplt-symlink" "--enable-flacsplt-symlink" ];
15+ nativeBuildInputs = [ pkgconfig ];
16+ buildInputs = [ libmp3splt ];
17+
18+ outputs = [ "out" "man" ];
1219
13− meta = {
14− description = "utility to split mp3, ogg vorbis and FLAC files without decoding";
20+ meta = with stdenv.lib; {
21+ description = "Utility to split mp3, ogg vorbis and FLAC files without decoding";
1522 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;
1926 };
2027}