python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libsmartcols / default.nix
blob077055cbb9a4e79007e9f78f28a2811e296fbdb0
1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python3, gtk-doc}:
3 stdenv.mkDerivation rec {
4   pname = "libsmartcols";
5   version = "2.36.1";
7   nativeBuildInputs = [ autoreconfHook pkg-config python3 gtk-doc ];
9   src = fetchFromGitHub {
10     owner = "karelzak";
11     repo = "util-linux";
12     rev = "v${version}";
13     sha256 = "0z7nv054pqhlihqiw0vk3h40j0cxk1yxf8zzh0ddmvk6834cnyxs";
14   };
16   configureFlags = [ "--disable-all-programs" "--enable-libsmartcols" ];
18   buildPhase = ''
19     make libsmartcols.la
20   '';
22   installTargets = [ "install-am" "install-pkgconfigDATA" ];
24   meta = {
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 ];
30   };