3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/dict/1.9.15.nix
Michael Raskin 3b2f272341 Added dict and working on adding dictionaries
svn path=/nixpkgs/trunk/; revision=10976
2008-03-06 04:39:05 +00:00

25 lines
715 B
Nix

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";
};
buildInputs = [flex bison which];
configureFlags = [ " --datadir=/var/run/current-system/share/dictd " ];
}) args null; /* null is a terminator for sumArgs */
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;
};
}