nixpkgs/pkgs/applications/version-management/fnc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
845 B
Nix
Raw Normal View History

{ lib, fetchurl, fetchpatch, stdenv, zlib, ncurses, libiconv }:
stdenv.mkDerivation rec {
pname = "fnc";
2022-11-26 14:50:36 +00:00
version = "0.13";
src = fetchurl {
url = "https://fnc.bsdbox.org/tarball/${version}/fnc-${version}.tar.gz";
2022-11-26 14:50:36 +00:00
sha256 = "126aklsjfqmrj0f9p1g6sdlqhwnbfhyn0lq2c9pidfnhppa7sz95";
};
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 ];
};
}