1 { lib, fetchurl, fetchpatch, stdenv, zlib, ncurses, libiconv }:
3 stdenv.mkDerivation rec {
8 url = "https://fnc.bsdbox.org/tarball/${version}/fnc-${version}.tar.gz";
9 sha256 = "sha256-8up844ekIOMcPlfB2DJzR/GgJY9s/sBeYpG+YtdauvU=";
12 buildInputs = [ libiconv ncurses zlib ];
14 makeFlags = [ "PREFIX=$(out)" ];
16 env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [
18 "-Wno-error=maybe-uninitialized"
26 description = "Interactive ncurses browser for Fossil repositories";
28 An interactive ncurses browser for Fossil repositories.
30 fnc uses libfossil to create a fossil ui experience in the terminal.
32 homepage = "https://fnc.bsdbox.org";
33 license = licenses.isc;
34 platforms = platforms.all;
35 maintainers = with maintainers; [ abbe ];