commit e7050b86aa3c3dc2385540d9b0f65aabd7115769
parent 6fab73beea70643411abb6e02c14fc66a8dc4a60
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Wed, 16 Mar 2022 23:15:54 +0300
Add se
Diffstat:
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -384,6 +384,7 @@ lib.makeScope newScope (
sbase = callPackage ./suckless/sbase { };
scc = callPackage ./suckless/scc { };
scroll = callPackage ./suckless/scroll { };
+ se = callPackage ./suckless/se { };
sthkd = callPackage ./suckless/sthkd { };
svtm = callPackage ./suckless/svtm { };
xprompt = callPackage ./suckless/xprompt { };
diff --git a/pkgs/suckless/se/default.nix b/pkgs/suckless/se/default.nix
@@ -0,0 +1,25 @@
+{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
+
+stdenv.mkDerivation rec {
+ pname = "se";
+ version = "3.0.1";
+
+ src = fetchFromGitHub {
+ owner = "screen-editor";
+ repo = pname;
+ rev = "se-${version}";
+ hash = "sha256-2LyYZXaL/Q3G/StCUiY6MUXG55g2YQvkpoF/lcsifD8=";
+ };
+
+ nativeBuildInputs = [ autoreconfHook ];
+
+ buildInputs = [ ncurses ];
+
+ meta = with lib; {
+ description = "screen oriented version of the classic UNIX text editor ed";
+ inherit (src.meta) homepage;
+ license = licenses.publicDomain;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.sikmir ];
+ };
+}