xf86-video-r128: refactor, move to pkgs/by-name & rename from xorg.xf86videor128
relevant changes: - switch to GitLab source instead of release tarball
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
util-macros,
|
||||
xorg-server,
|
||||
xorgproto,
|
||||
libdrm,
|
||||
libpciaccess,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xf86-video-r128";
|
||||
version = "6.13.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
group = "xorg";
|
||||
owner = "driver";
|
||||
repo = "xf86-video-r128";
|
||||
tag = "xf86-video-r128-${finalAttrs.version}";
|
||||
hash = "sha256-f75PQ3pmWtyqeEfrMQpO31U0QOydlmQ49gJuvneRoso=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
util-macros
|
||||
xorg-server # for some autoconf macros
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xorg-server
|
||||
xorgproto
|
||||
libdrm
|
||||
libpciaccess
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { extraArgs = [ "--version-regex=xf86-video-r128-(.*)" ]; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "ATI Rage 128 video driver for the Xorg X server";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128";
|
||||
license = with lib.licenses; [
|
||||
mit
|
||||
hpndSellVariant
|
||||
];
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
@@ -136,6 +136,7 @@
|
||||
xf86-video-geode,
|
||||
xf86-video-nouveau,
|
||||
xf86-video-qxl,
|
||||
xf86-video-r128,
|
||||
xf86-video-s3virge,
|
||||
xf86-video-v4l,
|
||||
xfd,
|
||||
@@ -352,6 +353,7 @@ self: with self; {
|
||||
xf86videogeode = xf86-video-geode;
|
||||
xf86videonouveau = xf86-video-nouveau;
|
||||
xf86videoqxl = xf86-video-qxl;
|
||||
xf86videor128 = xf86-video-r128;
|
||||
xf86videos3virge = xf86-video-s3virge;
|
||||
xf86videov4l = xf86-video-v4l;
|
||||
xkeyboardconfig = xkeyboard-config;
|
||||
@@ -1216,46 +1218,6 @@ self: with self; {
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xf86videor128 = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
xorgproto,
|
||||
libdrm,
|
||||
libpciaccess,
|
||||
xorgserver,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xf86-video-r128";
|
||||
version = "6.13.0";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/driver/xf86-video-r128-6.13.0.tar.xz";
|
||||
sha256 = "0igpfgls5nx4sz8a7yppr42qi37prqmxsy08zqbxbv81q9dfs2zj";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
xorgproto
|
||||
libdrm
|
||||
libpciaccess
|
||||
xorgserver
|
||||
];
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xf86videosavage = callPackage (
|
||||
{
|
||||
|
||||
@@ -468,6 +468,7 @@ print OUT <<EOF;
|
||||
xf86-video-geode,
|
||||
xf86-video-nouveau,
|
||||
xf86-video-qxl,
|
||||
xf86-video-r128,
|
||||
xf86-video-s3virge,
|
||||
xf86-video-v4l,
|
||||
xfd,
|
||||
@@ -684,6 +685,7 @@ self: with self; {
|
||||
xf86videogeode = xf86-video-geode;
|
||||
xf86videonouveau = xf86-video-nouveau;
|
||||
xf86videoqxl = xf86-video-qxl;
|
||||
xf86videor128 = xf86-video-r128;
|
||||
xf86videos3virge = xf86-video-s3virge;
|
||||
xf86videov4l = xf86-video-v4l;
|
||||
xkeyboardconfig = xkeyboard-config;
|
||||
|
||||
@@ -23,7 +23,6 @@ mirror://xorg/individual/driver/xf86-video-neomagic-1.3.1.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-nv-2.1.23.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-omap-0.4.5.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-openchrome-0.6.0.tar.bz2
|
||||
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-sis-0.12.0.tar.gz
|
||||
|
||||
Reference in New Issue
Block a user