lazarus: 1.4.4 -> 1.6

This commit is contained in:
Michael Raskin 2016-02-20 11:36:16 +01:00
parent 13b416765d
commit a0912fd3b4

View File

@ -8,10 +8,10 @@ stdenv, fetchurl
let let
s = s =
rec { rec {
version = "1.4.4"; version = "1.6";
versionSuffix = "-0"; versionSuffix = ".0-0";
url = "mirror://sourceforge/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}${versionSuffix}.tar.gz"; url = "mirror://sourceforge/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}${versionSuffix}.tar.gz";
sha256 = "12w3xwqif96a65b0ygi4riqrp0122wsp0ykb1j7k8hjfyk91x91a"; sha256 = "1a1w9yibi0rsr51bl7csnq6mr59x0934850kiabs80nr3sz05knb";
name = "lazarus-${version}"; name = "lazarus-${version}";
}; };
buildInputs = [ buildInputs = [
@ -33,7 +33,7 @@ stdenv.mkDerivation {
"bigide" "bigide"
]; ];
preBuild = '' preBuild = ''
export makeFlags="$makeFlags LAZARUS_INSTALL_DIR=$out/lazarus/ INSTALL_PREFIX=$out/" export makeFlags="$makeFlags LAZARUS_INSTALL_DIR=$out/share/lazarus/ INSTALL_PREFIX=$out/"
export NIX_LDFLAGS="$NIX_LDFLAGS -L${stdenv.cc.cc}/lib -lXi -lX11 -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lc -lXext -lpango-1.0 -latk-1.0 -lgdk_pixbuf-2.0 -lcairo -lgcc_s" export NIX_LDFLAGS="$NIX_LDFLAGS -L${stdenv.cc.cc}/lib -lXi -lX11 -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lc -lXext -lpango-1.0 -latk-1.0 -lgdk_pixbuf-2.0 -lcairo -lgcc_s"
export LCL_PLATFORM=gtk2 export LCL_PLATFORM=gtk2
mkdir -p $out/share "$out/lazarus" mkdir -p $out/share "$out/lazarus"