Add '26.nix'

This commit is contained in:
NaiJi ✨ 2022-04-19 20:40:07 +00:00
parent 76c7c1ad26
commit ae75baf9d4
1 changed files with 26 additions and 0 deletions

26
26.nix Normal file
View File

@ -0,0 +1,26 @@
let
#dummyfunctions
fetchurl = x: x;
ncurses = "ncurses";
gettext = "gettext";
in
rec {
pname = "nano";
version = "2.3.6";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnu/nano/${name}.tar.gz";
sha256 = "a74bf3f18b12c1c777ae737c0e463152439e381aba8720b4bc67449f36a09534";
};
buildInputs = [ ncurses gettext ];
configureFlags = "sysconfdir=/etc";
meta = {
homepage = http://www.nano-editor.org/;
description = "A small, user-friendly console text editor";
};
}