1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/tools/misc/bc/default.nix
2017-04-25 15:08:36 +03:00

22 lines
508 B
Nix

{stdenv, fetchurl, flex, readline, ed, texinfo}:
stdenv.mkDerivation rec {
name = "bc-1.07.1";
src = fetchurl {
url = "mirror://gnu/bc/${name}.tar.gz";
sha256 = "62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a";
};
configureFlags = [ "--with-readline" ];
buildInputs = [flex readline ed texinfo];
doCheck = true;
meta = {
description = "GNU software calculator";
homepage = http://www.gnu.org/software/bc/;
platforms = stdenv.lib.platforms.all;
};
}