From c1469fba93a2ac42068f49dbc4ca74c124f417b9 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 26 Aug 2010 18:43:37 +0000 Subject: [PATCH] pkgs/development/libraries/tecla: enable Hydra build on all platforms svn path=/nixpkgs/trunk/; revision=23470 --- pkgs/development/libraries/tecla/default.nix | 23 +++++++++++--------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/pkgs/development/libraries/tecla/default.nix b/pkgs/development/libraries/tecla/default.nix index 53989bcefb54..bf420be3d38f 100644 --- a/pkgs/development/libraries/tecla/default.nix +++ b/pkgs/development/libraries/tecla/default.nix @@ -1,18 +1,21 @@ { stdenv, fetchurl }: -stdenv.mkDerivation rec -{ +stdenv.mkDerivation rec { name = "tecla-1.6.1"; - meta = - { - homepage = "http://www.astro.caltech.edu/~mcs/tecla/"; - description = "Tecla command-line editing library"; - license = "as-is"; - }; - src = fetchurl - { + + src = fetchurl { url = "http://www.astro.caltech.edu/~mcs/tecla/lib${name}.tar.gz"; sha256 = "18crv6q5f9g0cg6ry5h9dsa10inhpslklrv20h70f58lpm3jknr1"; }; + configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3"; + + meta = { + homepage = "http://www.astro.caltech.edu/~mcs/tecla/"; + description = "Tecla command-line editing library"; + license = "as-is"; + + platforms = stdenv.lib.platforms.all; + maintainers = [ stdenv.lib.maintainers.simons ]; + }; }