diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2009-07-14 09:08:05 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2009-07-14 09:08:05 +0000 |
commit | cf03c27fb7ba7dc3ee709f4b483306afc4f9256a (patch) | |
tree | be69ebda3f78c2e8e5e1db24d1a6b3f61803a7f8 /pkgs/development/compilers/fpc/default.nix | |
parent | 2ec77fdc7e537ac356735e2f46b8657ee0026505 (diff) |
Update FPC and Lazarus
svn path=/nixpkgs/trunk/; revision=16343
Diffstat (limited to 'pkgs/development/compilers/fpc/default.nix')
-rw-r--r-- | pkgs/development/compilers/fpc/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/compilers/fpc/default.nix b/pkgs/development/compilers/fpc/default.nix index 6fa0f13278721..dc45f2996565f 100644 --- a/pkgs/development/compilers/fpc/default.nix +++ b/pkgs/development/compilers/fpc/default.nix @@ -4,12 +4,13 @@ if args ? startFPC && args.startFPC != null then with args; -stdenv.mkDerivation { - name = "fpc-2.2.2"; +stdenv.mkDerivation rec { + version = "2.2.4"; + name = "fpc-${version}"; src = fetchurl { - url = ftp://freepascal.stack.nl/pub/fpc/dist/source-2.2.2/fpcbuild-2.2.2.tar.gz; - sha256 = "0d73b119e029382052fc6615034c4b5ee3ec66fa6cc45648f1f07cfb2c1058f1"; + url = "http://downloads.sourceforge.net/sourceforge/freepascal/fpcbuild-${version}.tar.gz"; + sha256 = "1kxljnivww4riqff8vxann7s135cv634ly3i61rfs1wzwc4lz9bp"; }; buildInputs = [startFPC gawk]; @@ -26,7 +27,7 @@ stdenv.mkDerivation { postInstall = '' ln -fs $out/lib/fpc/*/ppc386 $out/bin mkdir -p $out/lib/fpc/etc/ - $out/lib/fpc/*/samplecfg $out/lib/fpc/2.2.0 $out/lib/fpc/etc/ + $out/lib/fpc/*/samplecfg $out/lib/fpc/${version} $out/lib/fpc/etc/ ''; meta = { |