2022-05-03 00:53:35 +00:00
|
|
|
{ lib, fetchurl, fetchpatch, stdenv, zlib, ncurses, libiconv }:
|
2022-03-27 18:13:27 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fnc";
|
2022-05-10 08:52:01 +00:00
|
|
|
version = "0.12";
|
2022-03-27 18:13:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://fnc.bsdbox.org/tarball/${version}/fnc-${version}.tar.gz";
|
2022-05-10 08:52:01 +00:00
|
|
|
sha256 = "05cg8id4d1ia8y60y3x23167bl1rn2fdpkf1jfj3aklhlihvkbxd";
|
2022-03-27 18:13:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libiconv ncurses zlib ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Interactive ncurses browser for Fossil repositories";
|
|
|
|
longDescription = ''
|
|
|
|
An interactive ncurses browser for Fossil repositories.
|
|
|
|
|
|
|
|
fnc uses libfossil to create a fossil ui experience in the terminal.
|
|
|
|
'';
|
|
|
|
homepage = "https://fnc.bsdbox.org";
|
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ abbe ];
|
|
|
|
};
|
|
|
|
}
|