From d5654cced13e5d91750ac2d43e4a16c4ba702205 Mon Sep 17 00:00:00 2001 From: claes Date: Wed, 28 Aug 2024 19:08:10 +0200 Subject: [PATCH 1/2] maintainers: add claes --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index dd9b75ff8584..7c3965b0e28d 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3812,6 +3812,12 @@ githubId = 199180; name = "Claes Wallin"; }; + claes = { + email = "claes.holmerson@gmail.com"; + github = "claes"; + githubId = 43564; + name = "Claes Holmerson"; + }; clebs = { email = "borja.clemente@gmail.com"; github = "clebs"; From 216ca848c79183d297837560a587518a97c0a3bd Mon Sep 17 00:00:00 2001 From: claes Date: Wed, 28 Aug 2024 19:31:47 +0200 Subject: [PATCH 2/2] sc: Init at 2024-08-15 --- pkgs/by-name/sc/sc/package.nix | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 pkgs/by-name/sc/sc/package.nix diff --git a/pkgs/by-name/sc/sc/package.nix b/pkgs/by-name/sc/sc/package.nix new file mode 100644 index 000000000000..a1b9a59dec5b --- /dev/null +++ b/pkgs/by-name/sc/sc/package.nix @@ -0,0 +1,47 @@ +{ + stdenv, + fetchFromGitHub, + ncurses, + bison, + lib, +}: +stdenv.mkDerivation { + pname = "sc"; + version = "2024-08-15"; + + src = fetchFromGitHub { + repo = "sc"; + owner = "n-t-roff"; + rev = "e029bc0fb5fa29da1fd23b04fa2a97039a96d2ba"; + hash = "sha256-JQY+ixHL+TpP4YRpgB9GP4jO5+PBMS/v5Ad3Ux0+yuQ="; + }; + + buildInputs = [ ncurses ]; + + nativeBuildInputs = [ bison ]; + + installFlags = [ "prefix=$(out)" ]; + + # Non-standard configure script + configurePhase = "./configure"; + + outputs = [ + "out" + "man" + ]; + + meta = { + description = "Curses-based spreadsheet calculator."; + + longDescription = '' + This is a fork of the old sc-7.16 application with attention paid to + reduced compiler warnings, bugfixes, and functionality improvements + (e.g. mouse suport, configurability via .scrc). + See CHANGES-git or README.md for a full list of changes. + ''; + + homepage = "https://github.com/n-t-roff/sc"; + license = lib.licenses.unlicense; + maintainers = [ lib.maintainers.claes ]; + }; +}