2011-09-02 08:05:51 +00:00
|
|
|
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";
|
2014-09-02 09:48:05 +00:00
|
|
|
version = "3.8.2";
|
2011-09-02 08:05:51 +00:00
|
|
|
name="${baseName}-${version}";
|
|
|
|
url="mirror://sourceforge/${pname}/${pname}/${version}/${name}.tar.gz";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = a.fetchurl {
|
|
|
|
url = sourceInfo.url;
|
2014-09-02 09:48:05 +00:00
|
|
|
sha256 = "06vr6p9pqr5zzsxm1l9iwb2w9z8qkm971c2knh0vf5bbm6znjz35";
|
2011-09-02 08:05:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2014-09-02 09:48:05 +00:00
|
|
|
downloadPage = "http://sourceforge.net/projects/regina-rexx/files/regina-rexx/";
|
|
|
|
inherit version;
|
2011-09-02 08:05:51 +00:00
|
|
|
};
|
|
|
|
}) x
|
|
|
|
|