17 stdenv.mkDerivation rec {
21 src = fetchFromGitHub {
22 owner = "andmarti1424";
25 sha256 = "sha256-nNOifSYbmJjuw6c8TerIQRlhCwbs7GnzD2J7O3vs0gI=";
28 sourceRoot = "${src.name}/src";
42 ] ++ lib.optionals xlsSupport [
47 makeFlags = [ "prefix=${placeholder "out"}" ];
49 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration";
52 wrapProgram "$out/bin/sc-im" --prefix PATH : "${lib.makeBinPath [ gnuplot ]}"
56 changelog = "https://github.com/andmarti1424/sc-im/blob/${src.rev}/CHANGES";
57 homepage = "https://github.com/andmarti1424/sc-im";
58 description = "Ncurses spreadsheet program for terminal";
59 license = licenses.bsdOriginal;
60 maintainers = with maintainers; [ dotlambda ];
61 platforms = platforms.unix;