ised: get rid of builderDefsPackage
This commit is contained in:
parent
9ca95f700e
commit
576a5605b8
@ -1,42 +1,17 @@
|
||||
x@{builderDefsPackage
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
baseName="ised";
|
||||
version = "2.6.0";
|
||||
name="${baseName}-${version}";
|
||||
url="mirror://sourceforge/project/ised/${name}.tar.bz2";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ised-${version}";
|
||||
version = "2.6.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/ised/${name}.tar.bz2";
|
||||
sha256 = "0rf9brqkrad8f3czpfc1bxq9ybv3nxci9276wdxas033c82cqkjs";
|
||||
};
|
||||
|
||||
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;
|
||||
inherit version;
|
||||
maintainers = with stdenv.lib.maintainers; [ raskin ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
};
|
||||
}) x
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user