falcon: update to lastest git revision as the lastest release does not build

This commit is contained in:
Pascal Wittmann 2014-09-23 23:51:50 +02:00
parent c7b73b2b12
commit 3b2ba0ae42
2 changed files with 15 additions and 30 deletions

View File

@ -1,34 +1,21 @@
a : { stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, zlib, sqlite }:
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "0.9.2" a; stdenv.mkDerivation rec {
buildInputs = with a; [ name = "faclon-${version}";
cmake version = "2013-09-19";
];
in src = fetchFromGitHub {
rec { owner = "falconpl";
src = fetchurl { repo = "falcon";
url = "http://www.falconpl.org/project_dl/_official_rel/Falcon-${version}.tar.gz"; rev = "095141903c4ebab928ce803055f9bda363215c37";
sha256 = "0p32syiz2nc6lmmzi0078g4nzariw5ymdjkmhw6iamc0lkkb9x3i"; sha256 = "1x3gdcz1gqhi060ngqi0ghryf69v8bn50yrbzfad8bhblvhzzdlf";
}; };
inherit buildInputs; buildInputs = [ cmake pkgconfig pcre zlib sqlite ];
configureFlags = [];
/* doConfigure should be removed if not needed */ meta = with stdenv.lib; {
phaseNames = ["doDeploy"];
doDeploy = a.fullDepEntry (''
./build.sh -i -p $out
'') ["minInit" "addInputs" "doFixInterpreter" "defEnsureDir"];
doFixInterpreter = a.fullDepEntry (''
sed -e "s@/bin/bash@$shell@" -i build.sh
'') ["minInit" "doUnpack"];
name = "falcon-" + version;
meta = {
description = "Programming language with macros and syntax at once"; description = "Programming language with macros and syntax at once";
license = licenses.gpl2;
maintainers = with maintainers; [ pSub ];
}; };
} }

View File

@ -3135,9 +3135,7 @@ let
hhvm = callPackage ../development/compilers/hhvm { }; hhvm = callPackage ../development/compilers/hhvm { };
hiphopvm = hhvm; /* Compatibility alias */ hiphopvm = hhvm; /* Compatibility alias */
falcon = builderDefsPackage (import ../development/interpreters/falcon) { falcon = callPackage ../development/interpreters/falcon { };
inherit cmake;
};
fsharp = callPackage ../development/compilers/fsharp {}; fsharp = callPackage ../development/compilers/fsharp {};