tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
distcc: 2016-02-24 -> 2021-03-11
Michael Livshin
4 years ago
dacdfa87
123db833
+6
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
misc
distcc
default.nix
+6
-6
pkgs/development/tools/misc/distcc/default.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub, popt, avahi, pkg-config, python3, gtk2, runCommand
1
1
+
{ lib, stdenv, fetchFromGitHub, popt, avahi, pkg-config, python3, gtk3, runCommand
2
2
, gcc, autoconf, automake, which, procps, libiberty_static
3
3
, runtimeShell
4
4
, sysconfDir ? "" # set this parameter to override the default value $out/etc
···
7
7
8
8
let
9
9
name = "distcc";
10
10
-
version = "2016-02-24";
10
10
+
version = "2021-03-11";
11
11
distcc = stdenv.mkDerivation {
12
12
name = "${name}-${version}";
13
13
src = fetchFromGitHub {
14
14
owner = "distcc";
15
15
repo = "distcc";
16
16
-
rev = "b2fa4e21b4029e13e2c33f7b03ca43346f2cecb8";
17
17
-
sha256 = "1vj31wcdas8wy52hy6749mlrca9v6ynycdiigx5ay8pnya9z73c6";
16
16
+
rev = "de21b1a43737fbcf47967a706dab4c60521dbbb1";
17
17
+
sha256 = "0zjba1090awxkmgifr9jnjkxf41zhzc4f6mrnbayn3v6s77ca9x4";
18
18
};
19
19
20
20
nativeBuildInputs = [ pkg-config ];
21
21
-
buildInputs = [popt avahi pkg-config python3 gtk2 autoconf automake which procps libiberty_static];
21
21
+
buildInputs = [popt avahi pkg-config python3 gtk3 autoconf automake which procps libiberty_static];
22
22
preConfigure =
23
23
''
24
24
export CPATH=$(ls -d ${gcc.cc}/lib/gcc/*/${gcc.cc.version}/plugin/include)
···
30
30
${if static then "LDFLAGS=-static" else ""}
31
31
--with${if static == true || popt == null then "" else "out"}-included-popt
32
32
--with${if avahi != null then "" else "out"}-avahi
33
33
-
--with${if gtk2 != null then "" else "out"}-gtk
33
33
+
--with${if gtk3 != null then "" else "out"}-gtk
34
34
--without-gnome
35
35
--enable-rfc2553
36
36
--disable-Werror # a must on gcc 4.6