git.iko.soy/typeable/nixpkgs
on master help sign in
Merge branch 'master' into staging

Another couple thousand rebuilds.

commit304391b2f208ff109a0384fe9a0efef4d92d785a authorVladimír Čunát <vcunat@gmail.com> dateSat 17 Jun 2017, 09:58 (9 years ago) parentbfd865dada9e94
10 files changed+382−12
pkgs/applications/audio/ardour/default.nix+3−3 pkgs/applications/editors/atom/default.nix+3−3 pkgs/development/compilers/kotlin/default.nix+2−2 pkgs/development/libraries/gtk+/3.x.nix+2 pkgs/development/tools/build-managers/sbt/scala-native.nix+14 pkgs/games/ltris/default.nix+22 pkgs/games/ltris/gcc5_compliance.diff+299 pkgs/os-specific/linux/ply/default.nix+28 pkgs/tools/misc/clipster/default.nix+4−4 pkgs/top-level/all-packages.nix+5
pkgs/applications/audio/ardour/default.nix+3−3
@@ -16,7 +16,7 @@ let
1616 # "git describe" when _not_ on an annotated tag(!): MAJOR.MINOR-REV-HASH.
1717
1818 # Version to build.
19− tag = "5.8";
19+ tag = "5.10";
2020
2121in
2222
@@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
2525
2626 src = fetchgit {
2727 url = "git://git.ardour.org/ardour/ardour.git";
28− rev = "e5c6f16126e0901654b09ecce990554b1ff73833";
29− sha256 = "1lcvslrcw6g4kp9w0h1jx46x6ilz4nzz0k2yrw4gd545k1rwx0c1";
28+ rev = "9c629c0c76808cc3e8f05e43bc760f849566dce6";
29+ sha256 = "062igiaaj18kbismrpzbafyq1ryyqj3lh0ajqqs2s8ms675x33sl";
3030 };
3131
3232 buildInputs =
pkgs/applications/editors/atom/default.nix+3−3
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "atom-${version}";
5− version = "1.17.2";
5+ version = "1.18.0";
66
77 src = fetchurl {
88 url = "https://github.com/atom/atom/releases/download/v${version}/atom-amd64.deb";
9− sha256 = "05lf9f5c9l111prx7d76cr5h8h340vm7vb8hra5rdrqhjpdvwhhn";
9+ sha256 = "07hssch8sfyp5sji91lx4v62m8zmy9j971i968p747dwfp6g0my6";
1010 name = "${name}.deb";
1111 };
1212
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 buildCommand = ''
1616 mkdir -p $out/usr/
17− ar p $src data.tar.gz | tar -C $out -xz ./usr
17+ ar p $src data.tar.xz | tar -C $out -xJ ./usr
1818 substituteInPlace $out/usr/share/applications/atom.desktop \
1919 --replace /usr/share/atom $out/bin
2020 mv $out/usr/* $out/
pkgs/development/compilers/kotlin/default.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, makeWrapper, jre, unzip }:
22
33stdenv.mkDerivation rec {
4− version = "1.1.2";
4+ version = "1.1.2-5";
55 name = "kotlin-${version}";
66
77 src = fetchurl {
88 url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
9− sha256 = "0kngyv5qjjpd93i1b8gn1vw6r8p52lfjrqa2f13nf06v9aqk0vfb";
9+ sha256 = "0whfnn7wf8nil9lb8hl9bccjrzwf9zpbf8pz607zg9x3q8g01p9d";
1010 };
1111
1212 propagatedBuildInputs = [ jre ] ;
pkgs/development/libraries/gtk+/3.x.nix+2
@@ -65,6 +65,8 @@ stdenv.mkDerivation rec {
6565 --replace '-L${gmp.dev}/lib' '-L${gmp.out}/lib'
6666 # The updater is needed for nixos env and it's tiny.
6767 moveToOutput bin/gtk-update-icon-cache "$out"
68+ # Launcher
69+ moveToOutput bin/gtk-launch "$out"
6870 '';
6971
7072 meta = with stdenv.lib; {
pkgs/development/tools/build-managers/sbt/scala-native.nixnew file+14
@@ -0,0 +1,14 @@
1+{ lib, sbt, makeWrapper, boehmgc, libunwind, re2, llvmPackages, zlib }:
2+
3+sbt.overrideDerivation(old: {
4+ nativeBuildInputs = [ makeWrapper ];
5+
6+ postFixup = ''
7+ wrapProgram $out/bin/sbt \
8+ --set CLANG_PATH "${llvmPackages.clang}/bin/clang" \
9+ --set CLANGPP_PATH "${llvmPackages.clang}/bin/clang" \
10+ --set CPATH "${lib.makeSearchPathOutput "dev" "include" [ re2 zlib boehmgc libunwind llvmPackages.libcxxabi llvmPackages.libcxx ]}/c++/v1" \
11+ --set LIBRARY_PATH "${lib.makeLibraryPath [ re2 zlib boehmgc libunwind llvmPackages.libcxxabi llvmPackages.libcxx ]}" \
12+ --set NIX_CFLAGS_LINK "-lc++abi -lc++"
13+ '';
14+})
pkgs/games/ltris/default.nixnew file+22
@@ -0,0 +1,22 @@
1+{ stdenv, fetchurl, SDL, SDL_mixer }:
2+
3+stdenv.mkDerivation rec {
4+ name = "ltris-${version}";
5+ version = "1.0.19";
6+ buildInputs = [ SDL SDL_mixer ];
7+
8+ src = fetchurl {
9+ url = "mirror://sourceforge/lgames/${name}.tar.gz";
10+ sha256 = "1895wv1fqklrj4apkz47rnkcfhfav7zjknskw6p0886j35vrwslg";
11+ };
12+
13+ patchPhase = "patch -p0 < ${./gcc5_compliance.diff}";
14+
15+ meta = with stdenv.lib; {
16+ description = "Tetris clone from the LGames series";
17+ homepage = http://lgames.sourceforge.net/LBreakout2/;
18+ license = licenses.gpl2;
19+ maintainers = [ maintainers.ciil ];
20+ platforms = platforms.linux;
21+ };
22+}
pkgs/games/ltris/gcc5_compliance.diffnew file+299
@@ -0,0 +1,299 @@
1+Index: ChangeLog
2+===================================================================
3+--- ChangeLog (revision 163)
4++++ ChangeLog (revision 164)
5+@@ -1,3 +1,5 @@
6++- removed all inline keywords to work with GCC 5 (2015/05/16 MS)
7++
8+ 1.0.19:
9+ - removed link to lib math as not needed (2013/10/29 MS)
10+ - reset key states when unpausing to prevent unwanted movement (2013/10/29 MS)
11+Index: src/bowl.c
12+===================================================================
13+--- src/bowl.c (revision 163)
14++++ src/bowl.c (revision 164)
15+@@ -333,7 +333,7 @@
16+ Set a tile contents and pixel contents.
17+ ====================================================================
18+ */
19+-inline void bowl_set_tile( Bowl *bowl, int x, int y, int tile_id )
20++void bowl_set_tile( Bowl *bowl, int x, int y, int tile_id )
21+ {
22+ int i, j = y * bowl->block_size;
23+ bowl->contents[x][y] = tile_id;
24+Index: src/sdl.c
25+===================================================================
26+--- src/sdl.c (revision 163)
27++++ src/sdl.c (revision 164)
28+@@ -244,7 +244,7 @@
29+ #endif
30+
31+ /* return full path of bitmap */
32+-inline void get_full_bmp_path( char *full_path, char *file_name )
33++void get_full_bmp_path( char *full_path, char *file_name )
34+ {
35+ sprintf(full_path, "%s/gfx/%s", SRC_DIR, file_name );
36+ }
37+@@ -330,7 +330,7 @@
38+ /*
39+ lock surface
40+ */
41+-inline void lock_surf(SDL_Surface *sur)
42++void lock_surf(SDL_Surface *sur)
43+ {
44+ if (SDL_MUSTLOCK(sur))
45+ SDL_LockSurface(sur);
46+@@ -339,7 +339,7 @@
47+ /*
48+ unlock surface
49+ */
50+-inline void unlock_surf(SDL_Surface *sur)
51++void unlock_surf(SDL_Surface *sur)
52+ {
53+ if (SDL_MUSTLOCK(sur))
54+ SDL_UnlockSurface(sur);
55+@@ -666,7 +666,7 @@
56+ /*
57+ lock font surface
58+ */
59+-inline void lock_font(Font *fnt)
60++void lock_font(Font *fnt)
61+ {
62+ if (SDL_MUSTLOCK(fnt->pic))
63+ SDL_LockSurface(fnt->pic);
64+@@ -675,7 +675,7 @@
65+ /*
66+ unlock font surface
67+ */
68+-inline void unlock_font(Font *fnt)
69++void unlock_font(Font *fnt)
70+ {
71+ if (SDL_MUSTLOCK(fnt->pic))
72+ SDL_UnlockSurface(fnt->pic);
73+@@ -905,7 +905,7 @@
74+ /*
75+ update rectangle (0,0,0,0)->fullscreen
76+ */
77+-inline void refresh_screen(int x, int y, int w, int h)
78++void refresh_screen(int x, int y, int w, int h)
79+ {
80+ SDL_UpdateRect(sdl.screen, x, y, w, h);
81+ }
82+@@ -1055,7 +1055,7 @@
83+ /*
84+ lock surface
85+ */
86+-inline void lock_screen()
87++void lock_screen()
88+ {
89+ if (SDL_MUSTLOCK(sdl.screen))
90+ SDL_LockSurface(sdl.screen);
91+@@ -1064,7 +1064,7 @@
92+ /*
93+ unlock surface
94+ */
95+-inline void unlock_screen()
96++void unlock_screen()
97+ {
98+ if (SDL_MUSTLOCK(sdl.screen))
99+ SDL_UnlockSurface(sdl.screen);
100+@@ -1073,7 +1073,7 @@
101+ /*
102+ flip hardware screens (double buffer)
103+ */
104+-inline void flip_screen()
105++void flip_screen()
106+ {
107+ SDL_Flip(sdl.screen);
108+ }
109+@@ -1132,7 +1132,7 @@
110+ /*
111+ get milliseconds since last call
112+ */
113+-inline int get_time()
114++int get_time()
115+ {
116+ int ms;
117+ cur_time = SDL_GetTicks();
118+@@ -1148,7 +1148,7 @@
119+ /*
120+ reset timer
121+ */
122+-inline void reset_timer()
123++void reset_timer()
124+ {
125+ last_time = SDL_GetTicks();
126+ }
127+Index: src/sdl.h
128+===================================================================
129+--- src/sdl.h (revision 163)
130++++ src/sdl.h (revision 164)
131+@@ -41,8 +41,8 @@
132+ SDL_Surface* load_surf(char *fname, int f);
133+ SDL_Surface* create_surf(int w, int h, int f);
134+ void free_surf( SDL_Surface **surf );
135+-inline void lock_surf(SDL_Surface *sur);
136+-inline void unlock_surf(SDL_Surface *sur);
137++void lock_surf(SDL_Surface *sur);
138++void unlock_surf(SDL_Surface *sur);
139+ void blit_surf(void);
140+ void alpha_blit_surf(int alpha);
141+ void fill_surf(int c);
142+@@ -86,8 +86,8 @@
143+ Font* load_fixed_font(char *fname, int off, int len, int w);
144+ void free_font(Font **sfnt);
145+ int write_text(Font *sfnt, SDL_Surface *dest, int x, int y, char *str, int alpha);
146+-inline void lock_font(Font *sfnt);
147+-inline void unlock_font(Font *sfnt);
148++void lock_font(Font *sfnt);
149++void unlock_font(Font *sfnt);
150+ SDL_Rect last_write_rect(Font *fnt);
151+ int text_width(Font *fnt, char *str);
152+
153+@@ -132,14 +132,14 @@
154+ char** get_mode_names( int *count );
155+ int set_video_mode( Video_Mode mode );
156+ void hardware_cap();
157+-inline void refresh_screen( int x, int y, int w, int h );
158++void refresh_screen( int x, int y, int w, int h );
159+ void refresh_rects();
160+ void add_refresh_rect(int x, int y, int w, int h);
161+ int wait_for_key();
162+ void wait_for_click();
163+-inline void lock_screen();
164+-inline void unlock_screen();
165+-inline void flip_screen();
166++void lock_screen();
167++void unlock_screen();
168++void flip_screen();
169+ void fade_screen( int type, int ms );
170+ void take_screenshot( int i );
171+
172+@@ -148,8 +148,8 @@
173+ SDL_Cursor* create_cursor( int width, int height, int hot_x, int hot_y, char *source );
174+
175+ /* timer */
176+-inline int get_time();
177+-inline void reset_timer();
178++int get_time();
179++void reset_timer();
180+
181+ #ifdef __cplusplus
182+ };
183+Index: src/tools.c
184+===================================================================
185+--- src/tools.c (revision 163)
186++++ src/tools.c (revision 164)
187+@@ -23,7 +23,7 @@
188+ #include "ltris.h"
189+
190+ /* compares to strings and returns true if their first strlen(str1) chars are equal */
191+-inline int strequal( char *str1, char *str2 )
192++int strequal( char *str1, char *str2 )
193+ {
194+ if ( strlen( str1 ) != strlen( str2 ) ) return 0;
195+ return ( !strncmp( str1, str2, strlen( str1 ) ) );
196+@@ -30,7 +30,7 @@
197+ }
198+
199+ /* set delay to ms milliseconds */
200+-inline void delay_set( Delay *delay, int ms )
201++void delay_set( Delay *delay, int ms )
202+ {
203+ delay->limit = ms;
204+ delay->cur = 0;
205+@@ -37,13 +37,13 @@
206+ }
207+
208+ /* reset delay ( cur = 0 )*/
209+-inline void delay_reset( Delay *delay )
210++void delay_reset( Delay *delay )
211+ {
212+ delay->cur = 0;
213+ }
214+
215+ /* check if times out and reset */
216+-inline int delay_timed_out( Delay *delay, int ms )
217++int delay_timed_out( Delay *delay, int ms )
218+ {
219+ delay->cur += ms;
220+ if ( delay->cur >= delay->limit ) {
221+@@ -56,12 +56,12 @@
222+ }
223+
224+ /* set timer so that we have a time out next call of delay_timed_out() */
225+-inline void delay_force_time_out( Delay *delay )
226++void delay_force_time_out( Delay *delay )
227+ {
228+ delay->cur = delay->limit;
229+ }
230+
231+-inline void goto_tile( int *x, int *y, int d )
232++void goto_tile( int *x, int *y, int d )
233+ {
234+ /* 0 -up, clockwise, 5 - left up */
235+ switch ( d ) {
236+@@ -326,24 +326,24 @@
237+ the target value until reached when counter_update() is called.
238+ ====================================================================
239+ */
240+-inline void counter_set( Counter *counter, double value )
241++void counter_set( Counter *counter, double value )
242+ {
243+ counter->value = value;
244+ counter->approach = value;
245+ }
246+-inline void counter_add( Counter *counter, double add )
247++void counter_add( Counter *counter, double add )
248+ {
249+ counter->value += add;
250+ }
251+-inline double counter_get_approach( Counter counter )
252++double counter_get_approach( Counter counter )
253+ {
254+ return counter.approach;
255+ }
256+-inline double counter_get( Counter counter )
257++double counter_get( Counter counter )
258+ {
259+ return counter.value;
260+ }
261+-inline void counter_update( Counter *counter, int ms )
262++void counter_update( Counter *counter, int ms )
263+ {
264+ double change;
265+ if ( counter->approach == counter->value ) return;
266+Index: src/tools.h
267+===================================================================
268+--- src/tools.h (revision 163)
269++++ src/tools.h (revision 164)
270+@@ -33,7 +33,7 @@
271+ #define VEC_DIST( vec1, vec2 ) ( sqrt( ( vec1.x - vec2.x ) * ( vec1.x - vec2.x ) + ( vec1.y - vec2.y ) * ( vec1.y - vec2.y ) ) )
272+
273+ /* compares to strings and returns true if their first strlen(str1) chars are equal */
274+-inline int strequal( char *str1, char *str2 );
275++int strequal( char *str1, char *str2 );
276+
277+ /* delete lines */
278+ void delete_lines( char **lines, int line_number );
279+@@ -45,16 +45,16 @@
280+ } Delay;
281+
282+ /* set delay to ms milliseconds */
283+-inline void delay_set( Delay *delay, int ms );
284++void delay_set( Delay *delay, int ms );
285+
286+ /* reset delay ( cur = 0 )*/
287+-inline void delay_reset( Delay *delay );
288++void delay_reset( Delay *delay );
289+
290+ /* check if time's out ( add ms milliseconds )and reset */
291+-inline int delay_timed_out( Delay *delay, int ms );
292++int delay_timed_out( Delay *delay, int ms );
293+
294+ /* set timer so that we have a time out next call of delay_timed_out() */
295+-inline void delay_force_time_out( Delay *delay );
296++void delay_force_time_out( Delay *delay );
297+
298+ /* return distance betwteen to map positions */
299+ int get_dist( int x1, int y1, int x2, int y2 );
pkgs/os-specific/linux/ply/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ stdenv, kernel, fetchFromGitHub, autoreconfHook, yacc, flex, bison }:
2+let
3+ version = "1.0.beta1-9e810b1";
4+in stdenv.mkDerivation {
5+ name = "ply-${version}";
6+ nativeBuildInputs = [ autoreconfHook flex yacc ];
7+
8+ src = fetchFromGitHub {
9+ owner = "iovisor";
10+ repo = "ply";
11+ rev = "9e810b157ba079c32c430a7d4c6034826982056e";
12+ sha256 = "15cp6iczawaqlhsa0af6i37zn5iq53kh6ya8s2hzd018yd7mhg50";
13+ };
14+
15+ preAutoreconf = ''
16+ # ply wants to install header fails to its build directory
17+ xz -d < ${kernel.src} | tar -xf -
18+ configureFlagsArray+=(--with-kerneldir=$(echo $(pwd)/linux-*))
19+ ./autogen.sh --prefix=$out
20+ '';
21+
22+ meta = with stdenv.lib; {
23+ description = "dynamic Tracing in Linux";
24+ homepage = https://wkz.github.io/ply/;
25+ license = [ licenses.gpl2 ];
26+ maintainers = with maintainers; [ mic92 mbbx6spp ];
27+ };
28+}
pkgs/tools/misc/clipster/default.nix+4−4
@@ -1,14 +1,14 @@
11{fetchFromGitHub , stdenv, makeWrapper, python3, gtk3, libwnck3 }:
22
33stdenv.mkDerivation rec {
4− name = "clipster-unstable-${version}";
5− version = "2017-02-27";
4+ name = "clipster-${version}";
5+ version = "1.0.1";
66
77 src = fetchFromGitHub {
88 owner = "mrichar1";
99 repo = "clipster";
10− rev = "dfa75b52ee3a41fff7534aca165dc0e6a24a3680";
11− sha256 = "0d7ak6wpvvgz7cwvfzy2shkfiw6gr8l703xyjpiayjbnr2s79k5j";
10+ rev = "${version}";
11+ sha256 = "0y0igi5r5x2gxglm0aarn2mhdfn6whakm6359i3h0wkn6qw1p1l2";
1212 };
1313
1414 pythonEnv = python3.withPackages(ps: with ps; [ pygobject3 ]);
pkgs/top-level/all-packages.nix+5
@@ -2967,6 +2967,8 @@ with pkgs;
29672967
29682968 lshw = callPackage ../tools/system/lshw { };
29692969
2970+ ltris = callPackage ../games/ltris { };
2971+
29702972 lxc = callPackage ../os-specific/linux/lxc { };
29712973 lxcfs = callPackage ../os-specific/linux/lxcfs { };
29722974 lxd = callPackage ../tools/admin/lxd { };
@@ -7064,6 +7066,7 @@ with pkgs;
70647066 scons = callPackage ../development/tools/build-managers/scons { };
70657067
70667068 sbt = callPackage ../development/tools/build-managers/sbt { };
7069+ sbt-with-scala-native = callPackage ../development/tools/build-managers/sbt/scala-native.nix { };
70677070 simpleBuildTool = sbt;
70687071
70697072 shards = callPackage ../development/tools/build-managers/shards { };
@@ -12010,6 +12013,8 @@ with pkgs;
1201012013 nvidia_x11_beta = nvidiaPackages.beta;
1201112014 nvidia_x11 = nvidiaPackages.stable;
1201212015
12016+ ply = callPackage ../os-specific/linux/ply { };
12017+
1201312018 rtl8723bs = callPackage ../os-specific/linux/rtl8723bs { };
1201412019
1201512020 rtl8812au = callPackage ../os-specific/linux/rtl8812au { };