2017-04-23 21:15:31 +01:00
|
|
|
{stdenv, fetchurl, flex, readline, ed, texinfo}:
|
2005-10-10 01:55:07 +01:00
|
|
|
|
2010-10-05 23:08:37 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2017-04-23 21:15:31 +01:00
|
|
|
name = "bc-1.07.1";
|
2005-10-10 01:55:07 +01:00
|
|
|
src = fetchurl {
|
2010-10-05 23:08:37 +01:00
|
|
|
url = "mirror://gnu/bc/${name}.tar.gz";
|
2017-04-23 21:15:31 +01:00
|
|
|
sha256 = "62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a";
|
2005-10-10 01:55:07 +01:00
|
|
|
};
|
|
|
|
|
2010-10-05 23:08:37 +01:00
|
|
|
configureFlags = [ "--with-readline" ];
|
2009-04-08 08:29:42 +01:00
|
|
|
|
2017-04-23 21:15:31 +01:00
|
|
|
buildInputs = [flex readline ed texinfo];
|
2010-09-27 12:19:31 +01:00
|
|
|
|
2010-10-05 23:08:37 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2010-09-27 12:19:31 +01:00
|
|
|
meta = {
|
|
|
|
description = "GNU software calculator";
|
|
|
|
homepage = http://www.gnu.org/software/bc/;
|
2010-10-05 23:08:37 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2010-09-27 12:19:31 +01:00
|
|
|
};
|
2005-10-10 01:55:07 +01:00
|
|
|
}
|