From dbee2b8ee9e51868d4fb09d6d685a41959630f4f Mon Sep 17 00:00:00 2001 From: Jack Cummings Date: Sun, 17 Mar 2013 16:18:36 -0700 Subject: [PATCH 1/2] cuetools-1.3.1 --- pkgs/tools/cd-dvd/cuetools/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/tools/cd-dvd/cuetools/default.nix diff --git a/pkgs/tools/cd-dvd/cuetools/default.nix b/pkgs/tools/cd-dvd/cuetools/default.nix new file mode 100644 index 000000000000..fd58e3ea6e27 --- /dev/null +++ b/pkgs/tools/cd-dvd/cuetools/default.nix @@ -0,0 +1,19 @@ +{stdenv, fetchurl, automake, autoconf, flex, bison }: + +stdenv.mkDerivation { + name = "cuetools-1.3.1"; + + src = fetchurl { + url = https://github.com/svend/cuetools/archive/cuetools-1.3.1.tar.gz; + sha256 = "1cap3wl0mlcqrjywpz46003w8jws05rr3r87pzqkz1g89v9459dg"; + }; + + preConfigure = "autoreconf -fiv"; + + buildInputs = [ automake autoconf flex bison ]; + + meta = { + description = "cue and toc file parsers and utilities"; + homepage = https://github.com/svend/cuetools; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ba6f934f01e7..9af85e06f3f6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -579,6 +579,8 @@ let cowsay = callPackage ../tools/misc/cowsay { }; + cuetools = callPackage ../tools/cd-dvd/cuetools { }; + unifdef = callPackage ../development/tools/misc/unifdef { }; "unionfs-fuse" = callPackage ../tools/filesystems/unionfs-fuse { }; From 4527d677cc1430ff1cfef6e01459d8f2a2873cc3 Mon Sep 17 00:00:00 2001 From: Jack Cummings Date: Sun, 31 Mar 2013 21:43:53 -0700 Subject: [PATCH 2/2] cuetools metadata: license, maintainer, platforms --- pkgs/tools/cd-dvd/cuetools/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/cd-dvd/cuetools/default.nix b/pkgs/tools/cd-dvd/cuetools/default.nix index fd58e3ea6e27..7de503adc074 100644 --- a/pkgs/tools/cd-dvd/cuetools/default.nix +++ b/pkgs/tools/cd-dvd/cuetools/default.nix @@ -13,7 +13,10 @@ stdenv.mkDerivation { buildInputs = [ automake autoconf flex bison ]; meta = { - description = "cue and toc file parsers and utilities"; + description = "cd/dvd cue and toc file parsers and utilities"; homepage = https://github.com/svend/cuetools; + platforms = stdenv.lib.platforms.all; + license = stdenv.lib.licenses.gpl2; + maintainers = with stdenv.lib.maintainers; [ jcumming ]; }; }