xosd-xft: init at 1.1.0 (#412244)

authored by Yohann Boniface and committed by GitHub 9be006e9 8282ff35

+47
+47
pkgs/by-name/xo/xosd-xft/package.nix
···
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + versionCheckHook, 6 + nix-update-script, 7 + pkg-config, 8 + xorg, 9 + }: 10 + 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "xosd-xft"; 13 + version = "1.1.0"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "kdmurthy"; 17 + repo = "libxosd-xft"; 18 + tag = finalAttrs.version; 19 + hash = "sha256-hsI7KMDmqGoGExSI3K7JiKNoiwZMNLubekuEEgkmQTg="; 20 + }; 21 + 22 + nativeBuildInputs = [ 23 + pkg-config 24 + ]; 25 + buildInputs = with xorg; [ 26 + libXft 27 + libXrandr 28 + libXinerama 29 + ]; 30 + 31 + nativeInstallCheckInputs = [ 32 + versionCheckHook 33 + ]; 34 + doInstallCheck = true; 35 + versionCheckProgram = "${placeholder "out"}/bin/osd-echo"; 36 + versionCheckProgramArg = "--help"; 37 + 38 + updateScript = nix-update-script { }; 39 + 40 + meta = { 41 + description = "Show text content with Xft/TTF fonts on X11 display"; 42 + homepage = "https://github.com/kdmurthy/libxosd-xft"; 43 + license = lib.licenses.gpl3Plus; 44 + maintainers = with lib.maintainers; [ ulysseszhan ]; 45 + platforms = lib.platforms.linux; 46 + }; 47 + })