From 2fa244e4da5a21e54d6cb9ff61b9d800a0032a28 Mon Sep 17 00:00:00 2001 From: codyopel Date: Fri, 24 Apr 2015 05:21:40 -0400 Subject: cuetools: 1.3.1 -> 1.4.1 + Fix autoreconf + Add support for cuetag.sh --- pkgs/tools/cd-dvd/cuetools/default.nix | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'pkgs/tools/cd-dvd') diff --git a/pkgs/tools/cd-dvd/cuetools/default.nix b/pkgs/tools/cd-dvd/cuetools/default.nix index 7de503adc0745..bf876d52d45a8 100644 --- a/pkgs/tools/cd-dvd/cuetools/default.nix +++ b/pkgs/tools/cd-dvd/cuetools/default.nix @@ -1,22 +1,25 @@ -{stdenv, fetchurl, automake, autoconf, flex, bison }: +{ stdenv, fetchurl, autoreconfHook +, bison, flac, flex, id3v2, vorbisTools +}: -stdenv.mkDerivation { - name = "cuetools-1.3.1"; +stdenv.mkDerivation rec { + name = "cuetools-${version}"; + version = "1.4.1"; src = fetchurl { - url = https://github.com/svend/cuetools/archive/cuetools-1.3.1.tar.gz; - sha256 = "1cap3wl0mlcqrjywpz46003w8jws05rr3r87pzqkz1g89v9459dg"; + url = "https://github.com/svend/cuetools/archive/${version}.tar.gz"; + sha256 = "01xi3rvdmil9nawsha04iagjylqr1l9v9vlzk99scs8c207l58i4"; }; - preConfigure = "autoreconf -fiv"; + nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ automake autoconf flex bison ]; + buildInputs = [ bison flac flex id3v2 vorbisTools ]; - meta = { - description = "cd/dvd cue and toc file parsers and utilities"; + meta = with stdenv.lib; { + description = "A set of utilities for working with cue files and toc files"; homepage = https://github.com/svend/cuetools; - platforms = stdenv.lib.platforms.all; - license = stdenv.lib.licenses.gpl2; - maintainers = with stdenv.lib.maintainers; [ jcumming ]; + license = licenses.gpl2; + maintainers = with maintainers; [ codyopel jcumming ]; + platforms = platforms.all; }; } -- cgit 1.4.1