1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python3, gtk-doc}:
3 stdenv.mkDerivation rec {
4 pname = "libsmartcols";
7 nativeBuildInputs = [ autoreconfHook pkg-config python3 gtk-doc ];
9 src = fetchFromGitHub {
13 sha256 = "0z7nv054pqhlihqiw0vk3h40j0cxk1yxf8zzh0ddmvk6834cnyxs";
16 configureFlags = [ "--disable-all-programs" "--enable-libsmartcols" ];
22 installTargets = [ "install-am" "install-pkgconfigDATA" ];
25 description = "smart column output alignment library";
26 homepage = "https://github.com/karelzak/util-linux/tree/master/libsmartcols";
27 license = lib.licenses.gpl2Plus;
28 platforms = lib.platforms.linux ++ lib.platforms.darwin;
29 maintainers = with lib.maintainers; [ rb2k ];