depot/third_party/nixpkgs/pkgs/tools/X11/xlogo/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

37 lines
912 B
Nix

{ lib
, stdenv
, fetchFromGitLab
, xorg
, autoreconfHook
, pkg-config
, xorg-autoconf
}:
stdenv.mkDerivation rec {
pname = "xlogo";
version = "1.0.6";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
group = "xorg";
owner = "app";
repo = "xlogo";
rev = "refs/tags/xlogo-${version}";
hash = "sha256-S7Z2nGQt07YBHlbA1u/+rvDwtzT381e90jieoiun+E8=";
};
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;
mainProgram = "xlogo";
};
}