1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

Adding Regina-REXX interpreter

svn path=/nixpkgs/trunk/; revision=28969
This commit is contained in:
Michael Raskin 2011-09-02 08:05:51 +00:00
parent 833eea6157
commit 32754d3c19
2 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,53 @@
x@{builderDefsPackage
, ncurses
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
baseName="Regina-REXX";
pname="regina-rexx";
version="3.5";
name="${baseName}-${version}";
url="mirror://sourceforge/${pname}/${pname}/${version}/${name}.tar.gz";
hash="0gh0k6lbhfixs44adha7lxirl3a08jabdylzr6m7mh5q5fhzv5f8";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
};
inherit (sourceInfo) name version;
inherit buildInputs;
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
configureFlags = [
"--libdir=$out/lib"
];
meta = {
description = "REXX interpreter";
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
linux;
license = a.lib.licenses.lgpl2;
};
passthru = {
updateInfo = {
downloadPage = "http://sourceforge.net/projects/regina-rexx/files/regina-rexx/";
};
};
}) x

View file

@ -2576,6 +2576,8 @@ let
inherit (gtkLibs) pango glib gtk;
};
regina = callPackage ../development/interpreters/regina {};
ruby18 = callPackage ../development/interpreters/ruby { };
#ruby19 = import ../development/interpreters/ruby/ruby-19.nix { inherit ruby18 fetchurl; };
ruby = ruby18;