Skip to content

Commit 95c123d

Browse files
committed
libsmartcols: init at v2.36.1
1 parent 674a998 commit 95c123d

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, python3 }:
2+
3+
stdenv.mkDerivation rec {
4+
name = "libsmartcols";
5+
version = "v2.36.1";
6+
7+
nativeBuildInputs = [ autoreconfHook pkgconfig python3 ];
8+
9+
src = fetchFromGitHub {
10+
owner = "karelzak";
11+
repo = "util-linux";
12+
rev = version;
13+
sha256 = "0z7nv054pqhlihqiw0vk3h40j0cxk1yxf8zzh0ddmvk6834cnyxs";
14+
};
15+
16+
configureFlags = [ "--disable-all-programs" "--enable-libsmartcols" ];
17+
18+
buildPhase = ''
19+
make libsmartcols.la
20+
'';
21+
22+
installTargets = [ "install-am" "install-pkgconfigDATA" ];
23+
24+
meta = {
25+
description = "smart column output alignment library";
26+
homepage = https://github.com/karelzak/util-linux/tree/master/libsmartcols;
27+
license = stdenv.lib.licenses.gpl2Plus;
28+
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
29+
maintainers = with stdenv.lib.maintainers; [ rb2k ];
30+
};
31+
}
32+

pkgs/top-level/all-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5174,6 +5174,8 @@ in
51745174

51755175
libcryptui = callPackage ../development/libraries/libcryptui { };
51765176

5177+
libsmartcols = callPackage ../development/libraries/libsmartcols { };
5178+
51775179
libsmi = callPackage ../development/libraries/libsmi { };
51785180

51795181
libgen-cli = callPackage ../tools/misc/libgen-cli { };

0 commit comments

Comments
 (0)