mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
lazarus: 1.4.4 -> 1.6
This commit is contained in:
parent
13b416765d
commit
a0912fd3b4
1 changed files with 4 additions and 4 deletions
|
@ -8,10 +8,10 @@ stdenv, fetchurl
|
|||
let
|
||||
s =
|
||||
rec {
|
||||
version = "1.4.4";
|
||||
versionSuffix = "-0";
|
||||
version = "1.6";
|
||||
versionSuffix = ".0-0";
|
||||
url = "mirror://sourceforge/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}${versionSuffix}.tar.gz";
|
||||
sha256 = "12w3xwqif96a65b0ygi4riqrp0122wsp0ykb1j7k8hjfyk91x91a";
|
||||
sha256 = "1a1w9yibi0rsr51bl7csnq6mr59x0934850kiabs80nr3sz05knb";
|
||||
name = "lazarus-${version}";
|
||||
};
|
||||
buildInputs = [
|
||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation {
|
|||
"bigide"
|
||||
];
|
||||
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 LCL_PLATFORM=gtk2
|
||||
mkdir -p $out/share "$out/lazarus"
|
||||
|
|
Loading…
Reference in a new issue