1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 07:26:54 +00:00
nixpkgs/pkgs/development/interpreters/falcon/default.nix
Bjørn Forsman 083d0890f5 More description fixes
* Remove package name
* Start with upper case letter
* Remove trailing period

Also reword some descriptions and move some long descriptions to
longDescription.

I'm not touching generated packages.
2013-10-06 12:01:38 +02:00

35 lines
817 B
Nix

a :
let
fetchurl = a.fetchurl;
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 = [];
/* doConfigure should be removed if not needed */
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";
};
}