mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Adding Kona: a K interpreter
svn path=/nixpkgs/trunk/; revision=27098
This commit is contained in:
parent
db287c1b38
commit
26da7d3871
51
pkgs/development/interpreters/kona/default.nix
Normal file
51
pkgs/development/interpreters/kona/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
x@{builderDefsPackage
|
||||
, fetchgit
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
["fetchgit"];
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
in
|
||||
rec {
|
||||
srcDrv = a.fetchgit {
|
||||
url = "https://github.com/kevinlawler/kona.git";
|
||||
inherit rev;
|
||||
sha256 = "165ff5f3d1b510a1ad73ec465b4ed1b8ef44d7affa94f952781fea212c72d891";
|
||||
};
|
||||
|
||||
src = "${srcDrv}/";
|
||||
|
||||
rev = "fddc2688ef515a653fb6";
|
||||
version = "git-${rev}";
|
||||
name = "kona-${version}";
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["prepareOut" "doMakeInstall"];
|
||||
makeFlags = ["PREFIX=\$out"];
|
||||
|
||||
prepareOut = a.fullDepEntry ''
|
||||
ensureDir "$out/bin"
|
||||
'' ["minInit" "defEnsureDir"];
|
||||
|
||||
meta = {
|
||||
description = "An interpreter of K, APL-like programming language";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
license = "free-noncopyleft";
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "https://github.com/kevinlawler/kona";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
@ -2330,6 +2330,8 @@ let
|
||||
|
||||
kaffe = callPackage ../development/interpreters/kaffe { };
|
||||
|
||||
kona = callPackage ../development/interpreters/kona {};
|
||||
|
||||
lua4 = callPackage ../development/interpreters/lua-4 { };
|
||||
|
||||
lua5 = callPackage ../development/interpreters/lua-5 { };
|
||||
|
Loading…
Reference in New Issue
Block a user