1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/applications/editors/nano/default.nix
Eelco Dolstra 6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00

32 lines
660 B
Nix

{ stdenv, fetchurl, ncurses, gettext }:
stdenv.mkDerivation (rec {
pname = "nano";
version = "2.2.3";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnu/nano/${name}.tar.gz";
sha256 = "1vpl993xrpj8bqi1ayga8fc0j2jag90xp6rqakzwm3bxw71hmwi2";
};
buildInputs = [ ncurses gettext ];
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";
};
})