diff --git a/pkgs/tools/X11/xlogo/default.nix b/pkgs/tools/X11/xlogo/default.nix new file mode 100644 index 000000000000..c1eef3842f3f --- /dev/null +++ b/pkgs/tools/X11/xlogo/default.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, fetchFromGitLab +, xorg +, autoreconfHook +, pkg-config +, xorg-autoconf +}: + +stdenv.mkDerivation rec { + pname = "xlogo"; + version = "1.0.5"; + + src = fetchFromGitLab { + domain = "gitlab.freedesktop.org"; + group = "xorg"; + owner = "app"; + repo = "xlogo"; + rev = "refs/tags/xlogo-${version}"; + hash = "sha256-AyNFzRZtbCKkGacBCaGZZkLRTAGq5TrA2OXGqwoKq24="; + }; + + nativeBuildInputs = [ xorg-autoconf autoreconfHook pkg-config ]; + + configureFlags = [ "--with-appdefaultdir=$out/share/X11/app-defaults" ]; + + buildInputs = [ xorg.libX11 xorg.libXext xorg.libSM xorg.libXmu xorg.libXaw xorg.libXt ]; + + meta = with lib; { + description = "X Window System logo display demo"; + homepage = "https://gitlab.freedesktop.org/xorg/app/xlogo"; + maintainers = with maintainers; [ raboof ]; + platforms = platforms.unix; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 675f61751d6f..6db53ea7faa3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4345,6 +4345,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }; + xlogo = callPackage ../tools/X11/xlogo { }; + xmlbeans = callPackage ../tools/misc/xmlbeans { }; xmlsort = perlPackages.XMLFilterSort;