summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd/cuetools
diff options
context:
space:
mode:
authorcodyopel <codyopel@gmail.com>2015-04-24 05:21:40 -0400
committercodyopel <codyopel@gmail.com>2015-04-24 05:21:40 -0400
commit2fa244e4da5a21e54d6cb9ff61b9d800a0032a28 (patch)
tree31d6125fbd83d7fbdf8a826effd9da3e065f2ad3 /pkgs/tools/cd-dvd/cuetools
parent8d255c32ecf58cf31a160eb28de21529b48bcd08 (diff)
downloadnixpkgs-2fa244e4da5a21e54d6cb9ff61b9d800a0032a28.tar
nixpkgs-2fa244e4da5a21e54d6cb9ff61b9d800a0032a28.tar.gz
nixpkgs-2fa244e4da5a21e54d6cb9ff61b9d800a0032a28.tar.bz2
nixpkgs-2fa244e4da5a21e54d6cb9ff61b9d800a0032a28.tar.lz
nixpkgs-2fa244e4da5a21e54d6cb9ff61b9d800a0032a28.tar.xz
nixpkgs-2fa244e4da5a21e54d6cb9ff61b9d800a0032a28.tar.zst
nixpkgs-2fa244e4da5a21e54d6cb9ff61b9d800a0032a28.zip
cuetools: 1.3.1 -> 1.4.1
+ Fix autoreconf
+ Add support for cuetag.sh
Diffstat (limited to 'pkgs/tools/cd-dvd/cuetools')
-rw-r--r--pkgs/tools/cd-dvd/cuetools/default.nix27
1 files changed, 15 insertions, 12 deletions
diff --git a/pkgs/tools/cd-dvd/cuetools/default.nix b/pkgs/tools/cd-dvd/cuetools/default.nix
index 7de503adc07..bf876d52d45 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;
   };
 }