2011-01-01 21:28:38 +01:00
|
|
|
x@{builderDefsPackage
|
|
|
|
, ...}:
|
|
|
|
builderDefsPackage
|
|
|
|
(a :
|
|
|
|
let
|
|
|
|
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
|
|
[];
|
|
|
|
|
|
|
|
buildInputs = map (n: builtins.getAttr n x)
|
|
|
|
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
|
|
|
sourceInfo = rec {
|
|
|
|
baseName="ised";
|
2014-09-02 11:16:25 +02:00
|
|
|
version = "2.6.0";
|
2011-01-01 21:28:38 +01:00
|
|
|
name="${baseName}-${version}";
|
2013-01-14 12:00:32 +01:00
|
|
|
url="mirror://sourceforge/project/ised/${name}.tar.bz2";
|
2011-01-01 21:28:38 +01:00
|
|
|
};
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = a.fetchurl {
|
|
|
|
url = sourceInfo.url;
|
2014-09-02 11:16:25 +02:00
|
|
|
sha256 = "0rf9brqkrad8f3czpfc1bxq9ybv3nxci9276wdxas033c82cqkjs";
|
2011-01-01 21:28:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit (sourceInfo) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A numeric sequence editor";
|
|
|
|
maintainers = with a.lib.maintainers;
|
|
|
|
[
|
|
|
|
raskin
|
|
|
|
];
|
|
|
|
platforms = with a.lib.platforms;
|
|
|
|
linux;
|
|
|
|
license = a.lib.licenses.gpl3Plus;
|
2014-09-02 11:16:25 +02:00
|
|
|
inherit version;
|
2011-01-01 21:28:38 +01:00
|
|
|
};
|
|
|
|
}) x
|
|
|
|
|