diff options
Diffstat (limited to 'pkgs/servers/dict/1.9.15.nix')
-rw-r--r-- | pkgs/servers/dict/1.9.15.nix | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/pkgs/servers/dict/1.9.15.nix b/pkgs/servers/dict/1.9.15.nix index 4eb5c6cb0b30b..e31a2769be624 100644 --- a/pkgs/servers/dict/1.9.15.nix +++ b/pkgs/servers/dict/1.9.15.nix @@ -1,24 +1,24 @@ -args : with args; with builderDefs {src="";} null; - let localDefs = builderDefs (rec { - src = /* put a fetchurl here */ - fetchurl { - url = ftp://ftp.dict.org/pub/dict/dictd-1.9.15.tar.gz; - sha256 = "0p41yf72l0igmshz6vxy3hm51z25600vrnb9j2jpgws4c03fqnac"; - }; +args : with args; with builderDefs; + let localDefs = builderDefs.meta.function ((rec { + src = /* put a fetchurl here */ + fetchurl { + url = ftp://ftp.dict.org/pub/dict/dictd-1.9.15.tar.gz; + sha256 = "0p41yf72l0igmshz6vxy3hm51z25600vrnb9j2jpgws4c03fqnac"; + }; - buildInputs = [flex bison which]; - configureFlags = [ " --datadir=/var/run/current-system/share/dictd " ]; - }) args null; /* null is a terminator for sumArgs */ - in with localDefs; + buildInputs = [flex bison which]; + configureFlags = [ " --datadir=/var/run/current-system/share/dictd " ]; + }) // args); + in with localDefs; stdenv.mkDerivation rec { - name = "dict-"+version; - builder = writeScript (name + "-builder") - (textClosure localDefs - [doConfigure doMakeInstall doForceShare doPropagate]); - meta = { - description = " - Dict protocol server and client. + name = "dict-"+version; + builder = writeScript (name + "-builder") + (textClosure localDefs + [doConfigure doMakeInstall doForceShare doPropagate]); + meta = { + description = " + Dict protocol server and client. "; - inherit src; - }; + inherit src; + }; } |