1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

sc: Init at 2024-08-15

This commit is contained in:
claes 2024-08-28 19:31:47 +02:00
parent d5654cced1
commit 216ca848c7

View file

@ -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 ];
};
}