From 3a0a3893129d61badd11bda8c093e1553e46c99a Mon Sep 17 00:00:00 2001 From: Moritz Ulrich Date: Mon, 27 Oct 2014 01:13:23 +0100 Subject: [PATCH] Update egg2nix to 0.3. --- pkgs/development/tools/egg2nix/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/egg2nix/default.nix b/pkgs/development/tools/egg2nix/default.nix index 7b1cc682d3b..2d9fc57e88f 100644 --- a/pkgs/development/tools/egg2nix/default.nix +++ b/pkgs/development/tools/egg2nix/default.nix @@ -3,19 +3,22 @@ # Note: This mostly reimplements the default.nix already contained in # the tarball. Is there a nicer way than duplicating code? +let + version = "0.3"; +in eggDerivation { src = fetchurl { - url = "https://github.com/the-kenny/egg2nix/archive/0.2.tar.gz"; - sha256 = "051nsy30diapcl687pyfrvcyqh5h55fijqjhykra2nah30bmf0k0"; + url = "https://github.com/the-kenny/egg2nix/archive/${version}.tar.gz"; + sha256 = "1sv6v5a3a17lsyx1i9ajlvix0v8yzl0nnvv9da9c1k349w0fdijv"; }; - name = "egg2nix-0.2"; + name = "egg2nix-${version}"; buildInputs = with chickenEggs; [ matchable http-client ]; meta = { - description = "Generate nix-expression from Chicken Scheme eggs"; + description = "Generate nix-expression from CHICKEN scheme eggs"; homepage = https://github.com/the-kenny/egg2nix; license = stdenv.lib.licenses.bsd3; platforms = stdenv.lib.platforms.unix;