diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-04-18 11:00:58 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-04-18 11:22:20 +0200 |
commit | bf414c9d4f892fd4e392a5f42016b57e84402a8b (patch) | |
tree | 08c000d609ed8e608ca542fa78360e4217f3fc36 /pkgs/development/interpreters/falcon/default.nix | |
parent | 29901451700a7382f3f9d5a0a23cd55b187e5585 (diff) | |
parent | 9de9669496a05f64ea436c01f9b66c057cd74f90 (diff) | |
download | nixlib-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar nixlib-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar.gz nixlib-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar.bz2 nixlib-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar.lz nixlib-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar.xz nixlib-bf414c9d4f892fd4e392a5f42016b57e84402a8b.tar.zst nixlib-bf414c9d4f892fd4e392a5f42016b57e84402a8b.zip |
Merge 'staging' into closure-size
- there were many easy merge conflicts - cc-wrapper needed nontrivial changes Many other problems might've been created by interaction of the branches, but stdenv and a few other packages build fine now.
Diffstat (limited to 'pkgs/development/interpreters/falcon/default.nix')
-rw-r--r-- | pkgs/development/interpreters/falcon/default.nix | 41 |
1 files changed, 14 insertions, 27 deletions
diff --git a/pkgs/development/interpreters/falcon/default.nix b/pkgs/development/interpreters/falcon/default.nix index 0b4bfacb6de5..d9ce07f16f76 100644 --- a/pkgs/development/interpreters/falcon/default.nix +++ b/pkgs/development/interpreters/falcon/default.nix @@ -1,34 +1,21 @@ -a : -let - fetchurl = a.fetchurl; +{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, zlib, sqlite }: - version = a.lib.attrByPath ["version"] "0.9.2" a; - buildInputs = with a; [ - cmake - ]; -in -rec { - src = fetchurl { - url = "http://www.falconpl.org/project_dl/_official_rel/Falcon-${version}.tar.gz"; - sha256 = "0p32syiz2nc6lmmzi0078g4nzariw5ymdjkmhw6iamc0lkkb9x3i"; - }; - - inherit buildInputs; - configureFlags = []; +stdenv.mkDerivation rec { + name = "faclon-${version}"; + version = "2013-09-19"; - /* doConfigure should be removed if not needed */ - phaseNames = ["doDeploy"]; + src = fetchFromGitHub { + owner = "falconpl"; + repo = "falcon"; + rev = "095141903c4ebab928ce803055f9bda363215c37"; + sha256 = "1x3gdcz1gqhi060ngqi0ghryf69v8bn50yrbzfad8bhblvhzzdlf"; + }; - 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"]; + buildInputs = [ cmake pkgconfig pcre zlib sqlite ]; - name = "falcon-" + version; - meta = { + meta = with stdenv.lib; { description = "Programming language with macros and syntax at once"; + license = licenses.gpl2; + maintainers = with maintainers; [ pSub ]; }; } |