fcad0b0a5a
Some of these should be longDescriptions, but most others just shouldn't contain newlines. E.g. write description = "Bla"; and not description = '' Bla ''; This pollutes "nix-env -qa --description" output. svn path=/nixpkgs/trunk/; revision=14310
23 lines
896 B
Nix
23 lines
896 B
Nix
args : with args; with builderDefs;
|
|
let localDefs = builderDefs.passthru.function ((rec {
|
|
src = /* put a fetchurl here */
|
|
fetchurl {
|
|
url = mirror://sourceforge/dict/dictd-1.9.15.tar.gz;
|
|
sha256 = "0p41yf72l0igmshz6vxy3hm51z25600vrnb9j2jpgws4c03fqnac";
|
|
};
|
|
|
|
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";
|
|
inherit src;
|
|
};
|
|
}
|