1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00
nixpkgs/pkgs/tools/misc/rlwrap/0.28.nix
Michael Raskin 10daad7e97 Added ttmkfdir - program to create fonts.scale for TTF fonts
svn path=/nixpkgs/trunk/; revision=10910
2008-03-02 18:40:42 +00:00

25 lines
694 B
Nix

args : with args; with builderDefs {src="";} null;
let localDefs = builderDefs {
src = /* put a fetchurl here */
fetchurl {
url = ftp://ftp.chg.ru/mirrors/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/rlwrap-0.28.tar.gz;
sha256 = "07jzhcqzb8jsmsscc28dk4md7swnhn3vyai5fpxwdj6a1kbn4y3p";
};
buildInputs = [readline ];
configureFlags = [];
} null; /* null is a terminator for sumArgs */
in with localDefs;
stdenv.mkDerivation rec {
name = "rlwrap-"+version;
builder = writeScript (name + "-builder")
(textClosure localDefs
[doConfigure doMakeInstall doForceShare doPropagate]);
meta = {
description = "
Readline wrapper for console programs.
";
inherit src;
};
}