mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
1bd2f3e93e
svn path=/nixpkgs/trunk/; revision=10730
30 lines
675 B
Nix
30 lines
675 B
Nix
args: with args;
|
|
stdenv.mkDerivation (rec {
|
|
pname = "nano";
|
|
version = "2.0.7";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/nano/${name}.tar.gz";
|
|
sha256 = "5dc783c412c4d1ff463c450d2a2f9e1ea53a43d9ba1dda92bbf5182f60db532f";
|
|
};
|
|
buildInputs = [ncurses gettext];
|
|
# configureFlags = "--enable-tiny";
|
|
configureFlags = "
|
|
--disable-browser
|
|
--disable-help
|
|
--disable-justify
|
|
--disable-mouse
|
|
--disable-operatingdir
|
|
--disable-speller
|
|
--disable-tabcomp
|
|
--disable-wrapping
|
|
";
|
|
|
|
meta = {
|
|
homepage = http://www.nano-editor.org/;
|
|
description = "A small, user-friendly console text editor";
|
|
};
|
|
})
|