depot/third_party/nixpkgs/pkgs/tools/X11/xlogo/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

36 lines
885 B
Nix

{ 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;
};
}