fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchurl, cmake, coreutils, dbus, freetype, glib, gnused
2, libpthreadstubs, pango, pkgconfig, libpulseaudio, which }:
3
4stdenv.mkDerivation rec {
5 name = "squeak-${version}";
6 version = "4.10.2.2614";
7
8 src = fetchurl {
9 sha256 = "0bpwbnpy2sb4gylchfx50sha70z36bwgdxraym4vrr93l8pd3dix";
10 url = "http://squeakvm.org/unix/release/Squeak-${version}-src.tar.gz";
11 };
12
13 buildInputs = [ coreutils dbus freetype glib gnused libpthreadstubs
14 pango libpulseaudio which ];
15 nativeBuildInputs = [ cmake pkgconfig ];
16
17 postPatch = ''
18 for i in squeak.in squeak.sh.in; do
19 substituteInPlace unix/cmake/$i --replace "PATH=" \
20 "PATH=${coreutils}/bin:${gnused}/bin:${which}/bin #"
21 done
22 '';
23
24 configurePhase = ''
25 unix/cmake/configure --prefix=$out --enable-mpg-{mmx,pthreads}
26 '';
27
28 enableParallelBuilding = true;
29
30 meta = with stdenv.lib; {
31 description = "Smalltalk programming language and environment";
32 longDescription = ''
33 Squeak is a full-featured implementation of the Smalltalk programming
34 language and environment based on (and largely compatible with) the
35 original Smalltalk-80 system. Squeak has very powerful 2- and 3-D
36 graphics, sound, video, MIDI, animation and other multimedia
37 capabilities. It also includes a customisable framework for creating
38 dynamic HTTP servers and interactively extensible Web sites.
39 '';
40 homepage = http://squeakvm.org/;
41 downloadPage = http://squeakvm.org/unix/index.html;
42 license = with licenses; [ asl20 mit ];
43 platforms = platforms.linux;
44 maintainers = with maintainers; [ nckx ];
45 };
46}