xfsinfo: 1.0.7 -> 1.0.8, refactor & move to pkgs/by-name from xorg namespace
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
xorgproto,
|
||||
libfs,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xfsinfo";
|
||||
version = "1.0.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/app/xfsinfo-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-roBZK2Bj2pKOPQyBAjcJsvopoE/NpJ9sNjrFedl/I6I=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
xorgproto
|
||||
libfs
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/app/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "X font server information utility";
|
||||
longDescription = ''
|
||||
xfsinfo is a utility for displaying information about an X font server.
|
||||
It is used to examine the capabilities of a server, the predefined values for various
|
||||
parameters used in communicating between clients and the server, and the font catalogues and
|
||||
alternate servers that are available.
|
||||
'';
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/app/xfsinfo";
|
||||
license = with lib.licenses; [
|
||||
mitOpenGroup
|
||||
hpndSellVariant
|
||||
];
|
||||
mainProgram = "xfsinfo";
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
@@ -39,6 +39,7 @@
|
||||
xcursor-themes,
|
||||
xdriinfo,
|
||||
xev,
|
||||
xfsinfo,
|
||||
xkeyboard-config,
|
||||
xlsatoms,
|
||||
xlsclients,
|
||||
@@ -79,6 +80,7 @@ self: with self; {
|
||||
xcursorgen
|
||||
xdriinfo
|
||||
xev
|
||||
xfsinfo
|
||||
xlsatoms
|
||||
xlsclients
|
||||
xlsfonts
|
||||
@@ -5888,42 +5890,6 @@ self: with self; {
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xfsinfo = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
libFS,
|
||||
xorgproto,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xfsinfo";
|
||||
version = "1.0.7";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/app/xfsinfo-1.0.7.tar.xz";
|
||||
sha256 = "0x48p4hk0lds2s8nwzgfl616r99s28ydx02zs7p1fxxs3i2wmwwj";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
libFS
|
||||
xorgproto
|
||||
];
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xgamma = callPackage (
|
||||
{
|
||||
|
||||
@@ -332,6 +332,7 @@ print OUT <<EOF;
|
||||
xcursor-themes,
|
||||
xdriinfo,
|
||||
xev,
|
||||
xfsinfo,
|
||||
xkeyboard-config,
|
||||
xlsatoms,
|
||||
xlsclients,
|
||||
@@ -372,6 +373,7 @@ self: with self; {
|
||||
xcursorgen
|
||||
xdriinfo
|
||||
xev
|
||||
xfsinfo
|
||||
xlsatoms
|
||||
xlsclients
|
||||
xlsfonts
|
||||
|
||||
@@ -1112,7 +1112,6 @@ self: super:
|
||||
xfd = addMainProgram super.xfd { };
|
||||
xfontsel = addMainProgram super.xfontsel { };
|
||||
xfs = addMainProgram super.xfs { };
|
||||
xfsinfo = addMainProgram super.xfsinfo { };
|
||||
xgamma = addMainProgram super.xgamma { };
|
||||
xgc = addMainProgram super.xgc { };
|
||||
xhost = addMainProgram super.xhost { };
|
||||
|
||||
@@ -28,7 +28,6 @@ mirror://xorg/individual/app/xeyes-1.3.0.tar.xz
|
||||
mirror://xorg/individual/app/xfd-1.1.4.tar.xz
|
||||
mirror://xorg/individual/app/xfontsel-1.1.1.tar.xz
|
||||
mirror://xorg/individual/app/xfs-1.2.2.tar.xz
|
||||
mirror://xorg/individual/app/xfsinfo-1.0.7.tar.xz
|
||||
mirror://xorg/individual/app/xgamma-1.0.7.tar.xz
|
||||
mirror://xorg/individual/app/xgc-1.0.6.tar.xz
|
||||
mirror://xorg/individual/app/xhost-1.0.10.tar.xz
|
||||
|
||||
Reference in New Issue
Block a user