nixpkgs-suyu/pkgs/tools/misc/bc/default.nix
Lluís Batlle i Rossell 686147d0f6 Making bc use readline. I prefer bc with readline.
svn path=/nixpkgs/trunk/; revision=14919
2009-04-08 07:29:42 +00:00

15 lines
305 B
Nix

{stdenv, fetchurl, flex, readline}:
stdenv.mkDerivation {
name = "bc-1.0.6";
src = fetchurl {
url = mirror://gnu/bc/bc-1.06.tar.gz;
md5 = "d44b5dddebd8a7a7309aea6c36fda117";
};
patches = [ ./readlinefix.patch ];
configureFlags = "--with-readline";
buildInputs = [flex readline];
}