diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-05-23 20:54:26 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-05-26 13:43:57 +0200 |
commit | 8de756d4d14706486a18b49c5add01761b1c54fe (patch) | |
tree | 5f6820f2d6d8dc2066f3f21153633fab7c1f0007 /pkgs/applications/audio/mp3splt | |
parent | 0dd4a30ec223f40f453f9862dbf72335984825ba (diff) |
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
Diffstat (limited to 'pkgs/applications/audio/mp3splt')
-rw-r--r-- | pkgs/applications/audio/mp3splt/default.nix | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/pkgs/applications/audio/mp3splt/default.nix b/pkgs/applications/audio/mp3splt/default.nix index 08d91498cc0a1..0fa9022f67bc5 100644 --- a/pkgs/applications/audio/mp3splt/default.nix +++ b/pkgs/applications/audio/mp3splt/default.nix @@ -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 ]; + + outputs = [ "out" "man" ]; - meta = { - description = "utility to split mp3, ogg vorbis and FLAC files without decoding"; + 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; }; } |