commit 30319328ce84b4c510b2cdd8862650264ebaf2d4
parent 8178f5161391ff8517a68ec45d6e69c18da09852
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Fri, 11 Feb 2022 19:23:49 +0300
Add nextvi
Diffstat:
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -373,6 +373,7 @@ lib.makeScope newScope (
libst = callPackage ./suckless/libst { };
mage = callPackage ./suckless/mage { };
makel = callPackage ./suckless/makel { };
+ nextvi = callPackage ./suckless/nextvi { };
nsxiv = callPackage ./suckless/nsxiv { };
pista = callPackage ./suckless/pista { };
saait = callPackage ./suckless/saait { };
diff --git a/pkgs/suckless/nextvi/default.nix b/pkgs/suckless/nextvi/default.nix
@@ -0,0 +1,29 @@
+{ lib, stdenv, fetchFromGitHub, memstreamHook }:
+
+stdenv.mkDerivation rec {
+ pname = "nextvi";
+ version = "2022-02-07";
+
+ src = fetchFromGitHub {
+ owner = "kyx0r";
+ repo = pname;
+ rev = "0a4a00654fead592ba4ccccfe7046f2f4546fea1";
+ hash = "sha256-3dRBQ+DdGR3iqaVOC0c3fz6+a1fdwrdgbdB1jI35ORE=";
+ };
+
+ buildPhase = ''
+ sh ./build.sh
+ '';
+
+ installPhase = ''
+ PREFIX=$out sh ./build.sh install
+ '';
+
+ meta = with lib; {
+ description = "Next version of neatvi (a small vi/ex editor)";
+ inherit (src.meta) homepage;
+ license = licenses.mit;
+ platforms = platforms.unix;
+ maintainers = [ maintainers.sikmir ];
+ };
+}