mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
21 lines
446 B
Nix
21 lines
446 B
Nix
{ stdenv, fetchurl, ncurses, gettext }:
|
|
|
|
stdenv.mkDerivation (rec {
|
|
pname = "nano";
|
|
version = "2.3.2";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/nano/${name}.tar.gz";
|
|
sha256 = "1s3b21h5p7r8xafw0gahswj16ai6k2vnjhmd15b491hl0x494c7z";
|
|
};
|
|
|
|
buildInputs = [ ncurses gettext ];
|
|
|
|
meta = {
|
|
homepage = http://www.nano-editor.org/;
|
|
description = "A small, user-friendly console text editor";
|
|
};
|
|
})
|