xf86-video-sunffb: refactor, move to pkgs/by-name & rename from xorg.xf86videosunffb
relevant changes: - switch to GitLab source instead of release tarball
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
util-macros,
|
||||
xorg-server,
|
||||
xorgproto,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xf86-video-sunffb";
|
||||
version = "1.2.3";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
group = "xorg";
|
||||
owner = "driver";
|
||||
repo = "xf86-video-sunffb";
|
||||
tag = "xf86-video-sunffb-${finalAttrs.version}";
|
||||
hash = "sha256-wuzODH7iRBxWHzVE8v/npy1/BwS3r08GduMEDdtJd9E=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
util-macros
|
||||
xorg-server # for some autoconf macros
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xorg-server
|
||||
xorgproto
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { extraArgs = [ "--version-regex=xf86-video-sunffb-(.*)" ]; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Sun FFB video driver for the Xorg X server";
|
||||
longDescription = ''
|
||||
This driver supports Sun Creator, Creator 3D and Elite 3D video cards, which are UPA bus
|
||||
devices for UltraSPARC workstations.
|
||||
'';
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/driver/xf86-video-sunffb";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
broken = stdenv.hostPlatform.isDarwin; # never worked: https://hydra.nixos.org/job/nixpkgs/trunk/xorg.xf86videosunffb.x86_64-darwin
|
||||
};
|
||||
})
|
||||
@@ -139,6 +139,7 @@
|
||||
xf86-video-sis,
|
||||
xf86-video-sisusb,
|
||||
xf86-video-suncg6,
|
||||
xf86-video-sunffb,
|
||||
xf86-video-v4l,
|
||||
xfd,
|
||||
xfontsel,
|
||||
@@ -357,6 +358,7 @@ self: with self; {
|
||||
xf86videosis = xf86-video-sis;
|
||||
xf86videosisusb = xf86-video-sisusb;
|
||||
xf86videosuncg6 = xf86-video-suncg6;
|
||||
xf86videosunffb = xf86-video-sunffb;
|
||||
xf86videov4l = xf86-video-v4l;
|
||||
xkeyboardconfig = xkeyboard-config;
|
||||
xorgcffiles = xorg-cf-files;
|
||||
@@ -1380,42 +1382,6 @@ self: with self; {
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xf86videosunffb = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
xorgproto,
|
||||
xorgserver,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xf86-video-sunffb";
|
||||
version = "1.2.3";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/driver/xf86-video-sunffb-1.2.3.tar.xz";
|
||||
sha256 = "0pf4ddh09ww7sxpzs5gr9pxh3gdwkg3f54067cp802nkw1n8vypi";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
xorgproto
|
||||
xorgserver
|
||||
];
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xf86videosunleo = callPackage (
|
||||
{
|
||||
|
||||
@@ -471,6 +471,7 @@ print OUT <<EOF;
|
||||
xf86-video-sis,
|
||||
xf86-video-sisusb,
|
||||
xf86-video-suncg6,
|
||||
xf86-video-sunffb,
|
||||
xf86-video-v4l,
|
||||
xfd,
|
||||
xfontsel,
|
||||
@@ -689,6 +690,7 @@ self: with self; {
|
||||
xf86videosis = xf86-video-sis;
|
||||
xf86videosisusb = xf86-video-sisusb;
|
||||
xf86videosuncg6 = xf86-video-suncg6;
|
||||
xf86videosunffb = xf86-video-sunffb;
|
||||
xf86videov4l = xf86-video-v4l;
|
||||
xkeyboardconfig = xkeyboard-config;
|
||||
xorgcffiles = xorg-cf-files;
|
||||
|
||||
@@ -134,12 +134,6 @@ self: super:
|
||||
configureFlags = [ "--with-xorg-conf-dir=$(out)/share/X11/xorg.conf.d" ];
|
||||
});
|
||||
|
||||
xf86videosunffb = super.xf86videosunffb.overrideAttrs (attrs: {
|
||||
meta = attrs.meta // {
|
||||
broken = isDarwin;
|
||||
}; # never worked: https://hydra.nixos.org/job/nixpkgs/trunk/xorg.xf86videosunffb.x86_64-darwin
|
||||
});
|
||||
|
||||
xf86videosunleo = super.xf86videosunleo.overrideAttrs (attrs: {
|
||||
meta = attrs.meta // {
|
||||
broken = isDarwin;
|
||||
|
||||
@@ -27,7 +27,6 @@ mirror://xorg/individual/driver/xf86-video-qxl-0.1.6.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-r128-6.13.0.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-savage-2.4.1.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-siliconmotion-1.7.10.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-sunffb-1.2.3.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-sunleo-1.2.3.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-tdfx-1.5.0.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-trident-1.4.0.tar.xz
|
||||
|
||||
Reference in New Issue
Block a user