···1-{ stdenv, fetchurl, cmake, pkgconfig, gtk3, perl, vte, pcre2, glib , makeWrapper }:
000000000023stdenv.mkDerivation rec {
4 pname = "sakura";
5- version = "3.7.0";
67 src = fetchurl {
8- url = "https://launchpad.net/sakura/trunk/${version}/+download/${pname}-${version}.tar.gz";
9- sha256 = "15gskj5yv5qs3cj4ps43735kfx2nzjlhq4dk9ghirl8lvhhxsm5m";
10 };
1112- nativeBuildInputs = [ cmake perl pkgconfig ];
1314- buildInputs = [ makeWrapper gtk3 vte pcre2 glib ];
1516- # Wrapper sets path to gsettings-schemata so sakura knows where to find colorchooser, fontchooser ...
17- postInstall = "wrapProgram $out/bin/sakura --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/";
00001819 meta = with stdenv.lib; {
020 description = "A terminal emulator based on GTK and VTE";
21- homepage = "https://www.pleyades.net/david/projects/sakura";
22- license = licenses.gpl2;
23- maintainers = with maintainers; [ astsmtl codyopel ];
24- platforms = platforms.linux;
25 longDescription = ''
26 sakura is a terminal emulator based on GTK and VTE. It's a terminal
27 emulator with few dependencies, so you don't need a full GNOME desktop
···32 terminals in one window and adds a contextual menu with some basic
33 options. No more no less.
34 '';
35- };
00036}
···1+{ stdenv
2+, fetchurl
3+, cmake
4+, pkgconfig
5+, gtk3
6+, perl
7+, vte
8+, pcre2
9+, glib
10+, makeWrapper
11+}:
1213stdenv.mkDerivation rec {
14 pname = "sakura";
15+ version = "3.7.1";
1617 src = fetchurl {
18+ url = "https://launchpad.net/${pname}/trunk/${version}/+download/${pname}-${version}.tar.bz2";
19+ sha256 = "sha256-cppODnUKQpS9kFkkOqxU3yqAElAVn8VQtQsP4Carkos=";
20 };
2122+ nativeBuildInputs = [ cmake perl pkgconfig makeWrapper ];
2324+ buildInputs = [ gtk3 vte pcre2 glib ];
2526+ # Set path to gsettings-schemata so sakura knows
27+ # where to find colorchooser, fontchooser etc.
28+ postInstall = ''
29+ wrapProgram $out/bin/sakura \
30+ --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/
31+ '';
3233 meta = with stdenv.lib; {
34+ homepage = "https://www.pleyades.net/david/projects/sakura";
35 description = "A terminal emulator based on GTK and VTE";
000036 longDescription = ''
37 sakura is a terminal emulator based on GTK and VTE. It's a terminal
38 emulator with few dependencies, so you don't need a full GNOME desktop
···43 terminals in one window and adds a contextual menu with some basic
44 options. No more no less.
45 '';
46+ license = licenses.gpl2Only;
47+ maintainers = with maintainers; [ astsmtl codyopel AndersonTorres ];
48+ platforms = platforms.linux;
49+ };
50}
···55 test "$?" == 124 && echo "ok")
56 '';
5758- meta = {
59 description = "Launcher for Pharo distributions";
060 longDescription = ''
61-62 Pharo's goal is to deliver a clean, innovative, free open-source
63 Smalltalk-inspired environment. By providing a stable and small
64 core system, excellent dev tools, and maintained releases, Pharo
···75 access it very rapidly from your OS application launcher. As a
76 result, launching any image is never more than 3 clicks away.
77 '';
78- homepage = "http://pharo.org";
79- license = stdenv.lib.licenses.mit;
80 maintainers = [ ];
81 platforms = pharo.meta.platforms;
82 };
···55 test "$?" == 124 && echo "ok")
56 '';
5758+ meta = with stdenv.lib; {
59 description = "Launcher for Pharo distributions";
60+ homepage = "https://pharo.org";
61 longDescription = ''
062 Pharo's goal is to deliver a clean, innovative, free open-source
63 Smalltalk-inspired environment. By providing a stable and small
64 core system, excellent dev tools, and maintained releases, Pharo
···75 access it very rapidly from your OS application launcher. As a
76 result, launching any image is never more than 3 clicks away.
77 '';
78+ license = licenses.mit;
079 maintainers = [ ];
80 platforms = pharo.meta.platforms;
81 };
+30-10
pkgs/development/pharo/vm/build-vm-legacy.nix
···1-{ stdenv, fetchurl, cmake, bash, unzip, glibc, openssl, gcc, libGLU, libGL, freetype, xorg, alsaLib, cairo, libuuid, makeWrapper, ... }:
000000000000000023{ name, src, ... }:
4···1011 hardeningDisable = [ "format" "pic" ];
1213- # Building
0000000014 preConfigure = ''
15 cd build/
16 '';
···46 ln -s "${pharo-share}/lib/"*.sources $prefix/lib/$name
47 '';
4849- LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ cairo libGLU libGL freetype openssl libuuid alsaLib xorg.libICE xorg.libSM ];
50- nativeBuildInputs = [ unzip cmake gcc makeWrapper ];
51- buildInputs = [ bash glibc openssl libGLU libGL freetype xorg.libX11 xorg.libICE xorg.libSM alsaLib cairo pharo-share ];
52-53- meta = {
54 description = "Clean and innovative Smalltalk-inspired environment";
055 longDescription = ''
56 Pharo's goal is to deliver a clean, innovative, free open-source
57 Smalltalk-inspired environment. By providing a stable and small core
···65 Please fill bug reports on http://bugs.pharo.org under the 'Ubuntu
66 packaging (ppa:pharo/stable)' project.
67 '';
68- homepage = "http://pharo.org";
69- license = stdenv.lib.licenses.mit;
70- maintainers = [ stdenv.lib.maintainers.lukego ];
71 # Pharo VM sources are packaged separately for darwin (OS X)
72 platforms = stdenv.lib.filter
73 (system: with stdenv.lib.systems.elaborate { inherit system; };
···1+{ stdenv
2+, fetchurl
3+, cmake
4+, bash
5+, unzip
6+, glibc
7+, openssl
8+, gcc
9+, libGLU
10+, libGL
11+, freetype
12+, xorg
13+, alsaLib
14+, cairo
15+, libuuid
16+, makeWrapper
17+, ... }:
1819{ name, src, ... }:
20···2627 hardeningDisable = [ "format" "pic" ];
2829+ nativeBuildInputs = [ unzip cmake gcc makeWrapper ];
30+31+ buildInputs = [ bash glibc openssl libGLU libGL freetype
32+ xorg.libX11 xorg.libICE xorg.libSM alsaLib cairo pharo-share ];
33+34+ LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath
35+ [ cairo libGLU libGL freetype openssl libuuid alsaLib
36+ xorg.libICE xorg.libSM ];
37+38 preConfigure = ''
39 cd build/
40 '';
···70 ln -s "${pharo-share}/lib/"*.sources $prefix/lib/$name
71 '';
7273+ meta = with stdenv.lib; {
000074 description = "Clean and innovative Smalltalk-inspired environment";
75+ homepage = "https://pharo.org";
76 longDescription = ''
77 Pharo's goal is to deliver a clean, innovative, free open-source
78 Smalltalk-inspired environment. By providing a stable and small core
···86 Please fill bug reports on http://bugs.pharo.org under the 'Ubuntu
87 packaging (ppa:pharo/stable)' project.
88 '';
89+ license = licenses.mit;
90+ maintainers = [ maintainers.lukego ];
091 # Pharo VM sources are packaged separately for darwin (OS X)
92 platforms = stdenv.lib.filter
93 (system: with stdenv.lib.systems.elaborate { inherit system; };
+28-28
pkgs/development/pharo/vm/build-vm.nix
···46 # while the VM depends on <= gcc48:
47 "stackprotector" ];
4800000000000000000000000000049 # Regenerate the configure script.
50 # Unnecessary? But the build breaks without this.
51 autoreconfPhase = ''
···123 ln -s ${libgit2}/lib/libgit2.so* "$out/"
124 '';
125126- enableParallelBuilding = true;
127-128- # gcc 4.8 used for the build:
129- #
130- # gcc5 crashes during compilation; gcc >= 4.9 produces a
131- # binary that crashes when forking a child process. See:
132- # http://forum.world.st/OSProcess-fork-issue-with-Debian-built-VM-td4947326.html
133- #
134- # (stack protection is disabled above for gcc 4.8 compatibility.)
135- nativeBuildInputs = [ autoreconfHook ];
136- buildInputs = [
137- bash
138- unzip
139- glibc
140- openssl
141- gcc48
142- libGLU libGL
143- freetype
144- xorg.libX11
145- xorg.libICE
146- xorg.libSM
147- alsaLib
148- cairo
149- pharo-share
150- libuuid
151- ];
152-153 meta = with stdenv.lib; {
154 description = "Clean and innovative Smalltalk-inspired environment";
0155 longDescription = ''
156 Pharo's goal is to deliver a clean, innovative, free open-source
157 Smalltalk-inspired environment. By providing a stable and small core
···165 Please fill bug reports on http://bugs.pharo.org under the 'Ubuntu
166 packaging (ppa:pharo/stable)' project.
167 '';
168- homepage = "http://pharo.org";
169 license = licenses.mit;
170 maintainers = [ maintainers.lukego ];
171 platforms = [ "i686-linux" "x86_64-linux" ];
···46 # while the VM depends on <= gcc48:
47 "stackprotector" ];
4849+ # gcc 4.8 used for the build:
50+ #
51+ # gcc5 crashes during compilation; gcc >= 4.9 produces a
52+ # binary that crashes when forking a child process. See:
53+ # http://forum.world.st/OSProcess-fork-issue-with-Debian-built-VM-td4947326.html
54+ #
55+ # (stack protection is disabled above for gcc 4.8 compatibility.)
56+ nativeBuildInputs = [ autoreconfHook ];
57+ buildInputs = [
58+ bash
59+ unzip
60+ glibc
61+ openssl
62+ gcc48
63+ libGLU libGL
64+ freetype
65+ xorg.libX11
66+ xorg.libICE
67+ xorg.libSM
68+ alsaLib
69+ cairo
70+ pharo-share
71+ libuuid
72+ ];
73+74+ enableParallelBuilding = true;
75+76 # Regenerate the configure script.
77 # Unnecessary? But the build breaks without this.
78 autoreconfPhase = ''
···150 ln -s ${libgit2}/lib/libgit2.so* "$out/"
151 '';
152000000000000000000000000000153 meta = with stdenv.lib; {
154 description = "Clean and innovative Smalltalk-inspired environment";
155+ homepage = "https://pharo.org";
156 longDescription = ''
157 Pharo's goal is to deliver a clean, innovative, free open-source
158 Smalltalk-inspired environment. By providing a stable and small core
···166 Please fill bug reports on http://bugs.pharo.org under the 'Ubuntu
167 packaging (ppa:pharo/stable)' project.
168 '';
0169 license = licenses.mit;
170 maintainers = [ maintainers.lukego ];
171 platforms = [ "i686-linux" "x86_64-linux" ];