git.iko.soy/typeable/nixpkgs
on master help sign in
Add squeak 4.10.2.2614: a Smalltalk environment
commit69c0eff66128826decce9e8d7f1aca2ed1426aba authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateMon 27 Apr 2015, 19:28 (12 years ago) parent19366a1
2 files changed+46
pkgs/development/compilers/squeak/default.nix+44 pkgs/top-level/all-packages.nix+2
pkgs/development/compilers/squeak/default.nixnew file+44
@@ -0,0 +1,44 @@
1+{ stdenv, fetchurl, cmake, coreutils, freetype, gnused, pkgconfig, which }:
2+
3+let version = "4.10.2.2614"; in
4+stdenv.mkDerivation rec {
5+ name = "squeak-${version}";
6+
7+ src = fetchurl {
8+ sha256 = "0bpwbnpy2sb4gylchfx50sha70z36bwgdxraym4vrr93l8pd3dix";
9+ url = "http://squeakvm.org/unix/release/Squeak-${version}-src.tar.gz";
10+ };
11+
12+ meta = with stdenv.lib; {
13+ inherit version;
14+ description = "Smalltalk programming language and environment";
15+ longDescription = ''
16+ Squeak is a full-featured implementation of the Smalltalk programming
17+ language and environment based on (and largely compatible with) the
18+ original Smalltalk-80 system. Squeak has very powerful 2- and 3-D
19+ graphics, sound, video, MIDI, animation and other multimedia
20+ capabilities. It also includes a customisable framework for creating
21+ dynamic HTTP servers and interactively extensible Web sites.
22+ '';
23+ homepage = http://squeakvm.org/;
24+ downloadPage = http://squeakvm.org/unix/index.html;
25+ license = with licenses; [ asl20 mit ];
26+ platforms = with platforms; linux;
27+ maintainers = with maintainers; [ nckx ];
28+ };
29+
30+ buildInputs = [ cmake coreutils freetype gnused pkgconfig which ];
31+
32+ postPatch = ''
33+ for i in squeak.in squeak.sh.in; do
34+ substituteInPlace unix/cmake/$i --replace "PATH=" \
35+ "PATH=${coreutils}/bin:${gnused}/bin:${which}/bin #"
36+ done
37+ '';
38+
39+ configurePhase = ''
40+ unix/cmake/configure --prefix=$out --enable-mpg-{mmx,pthreads}
41+ '';
42+
43+ enableParallelBuilding = true;
44+}
pkgs/top-level/all-packages.nix+2
@@ -4385,6 +4385,8 @@ let
43854385
43864386 sqldeveloper = callPackage ../development/tools/database/sqldeveloper { };
43874387
4388+ squeak = callPackage ../development/compilers/squeak { };
4389+
43884390 stalin = callPackage ../development/compilers/stalin { };
43894391
43904392 strategoPackages = recurseIntoAttrs strategoPackages018;