Skip to content

Commit

Permalink
bc: 1.06 -> 1.07.1
Browse files Browse the repository at this point in the history
  • Loading branch information
armijnhemel authored and dezgeg committed Apr 25, 2017
1 parent 45470c6 commit b553075
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
14 changes: 4 additions & 10 deletions pkgs/tools/misc/bc/default.nix
@@ -1,21 +1,15 @@
{stdenv, fetchurl, flex, readline}:
{stdenv, fetchurl, flex, readline, ed, texinfo}:

stdenv.mkDerivation rec {
name = "bc-1.06";
name = "bc-1.07.1";
src = fetchurl {
url = "mirror://gnu/bc/${name}.tar.gz";
sha256 = "0cqf5jkwx6awgd2xc2a0mkpxilzcfmhncdcfg7c9439wgkqxkxjf";
sha256 = "62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a";
};

patches = [ ./readlinefix.patch ];

preConfigure = ''
sed -i 's/program.*save/static &/' bc/load.c
'';

configureFlags = [ "--with-readline" ];

buildInputs = [flex readline];
buildInputs = [flex readline ed texinfo];

doCheck = true;

Expand Down
11 changes: 0 additions & 11 deletions pkgs/tools/misc/bc/readlinefix.patch

This file was deleted.

0 comments on commit b553075

Please sign in to comment.