Skip to content

Commit c95f3a3

Browse files
committedJun 11, 2017
sdcc: 3.5.0 -> 3.6.0
* requires texinfo * --std=c99 unneeded, fixed upstream * can build with nixpkgs default boost (v1.62), so let's do that
1 parent 4a90156 commit c95f3a3

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed
 

‎pkgs/development/compilers/sdcc/default.nix

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
{ stdenv, fetchurl, bison, flex, boost, gputils ? null }:
1+
{ stdenv, fetchurl, bison, flex, boost, texinfo, gputils ? null }:
22

33
stdenv.mkDerivation rec {
4-
version = "3.5.0";
4+
version = "3.6.0";
55
name = "sdcc-${version}";
66

77
src = fetchurl {
88
url = "mirror://sourceforge/sdcc/sdcc-src-${version}.tar.bz2";
9-
sha256 = "1aazz0yynr694q0rich7r03qls0zvsjc00il14pb4i22c78phagq";
9+
sha256 = "0x53gh5yrrfjvlnkk29mjn8hq4v52alrsf7c8nsyzzq13sqwwpg8";
1010
};
1111

1212
# TODO: remove this comment when gputils != null is tested
13-
buildInputs = [ bison flex boost gputils ];
13+
buildInputs = [ bison flex boost texinfo gputils ];
1414

1515
configureFlags = ''
1616
${if gputils == null then "--disable-pic14-port --disable-pic16-port" else ""}
1717
'';
1818

19-
NIX_CFLAGS_COMPILE = "--std=c99"; # http://sourceforge.net/p/sdcc/code/9106/
20-
2119
meta = with stdenv.lib; {
2220
description = "Small Device C Compiler";
2321
longDescription = ''

‎pkgs/top-level/all-packages.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -5808,7 +5808,7 @@ with pkgs;
58085808

58095809
scalafmt = callPackage ../development/tools/scalafmt { };
58105810

5811-
sdcc = callPackage ../development/compilers/sdcc { boost = boost159; };
5811+
sdcc = callPackage ../development/compilers/sdcc { };
58125812

58135813
serpent = callPackage ../development/compilers/serpent { };
58145814

0 commit comments

Comments
 (0)
Please sign in to comment.