Unverified Commit 317296d7 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

libxaw3d: refactor and rename from Xaw3d (#489686)

parents 71331ce7 76a98bb0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
{
  lib,
  stdenv,
  Xaw3d,
  libxaw3d,
  acl,
  alsa-lib,
  apple-sdk,
@@ -333,7 +333,7 @@ stdenv.mkDerivation (finalAttrs: {
    libwebp
  ]
  ++ lib.optionals withX [
    Xaw3d
    libxaw3d
    giflib
    libxaw
    libxpm
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
  stdenv,
  fetchurl,
  libxext,
  Xaw3d,
  libxaw3d,
  ghostscriptX,
  perl,
  pkg-config,
@@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
  nativeBuildInputs = [ pkg-config ];
  buildInputs = [
    libxext
    Xaw3d
    libxaw3d
    ghostscriptX
    perl
  ]
+64 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  fetchFromGitLab,
  autoreconfHook,
  pkg-config,
  util-macros,
  bison,
  flex,
  pkg-config,
  libxext,
  libxmu,
  libxpm,
  libxp,
  libxt,
  xorgproto,
  nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "Xaw3d";
  pname = "libxaw3d";
  version = "1.6.6";

  src = fetchurl {
    url = "https://www.x.org/releases/individual/lib/libXaw3d-${finalAttrs.version}.tar.xz";
    sha256 = "sha256-pBw+NxNa1hax8ou95wACr788tZow3zQUH4KdMurchkY=";
  src = fetchFromGitLab {
    domain = "gitlab.freedesktop.org";
    group = "xorg";
    owner = "lib";
    repo = "libxaw3d";
    tag = "libXaw3d-${finalAttrs.version}";
    hash = "sha256-7w5FnvxbztfdH7QPPqvHyJdAhTyNfe0Je4x+J80dJIY=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
    util-macros
    bison
    flex
  ];

  buildInputs = [
    libxext
    libxpm
    libxp
  ];

  propagatedBuildInputs = [
    libxmu
    libxt
    xorgproto
  ];

  passthru = {
    updateScript = nix-update-script { extraArgs = [ "--version-regex=libXaw3d-(.*)" ]; };
  };

  meta = {
    description = "3D widget set based on the Athena Widget set";
    platforms = lib.platforms.unix;
    description = "3D appearance variant of the X Athena Widget Set";
    homepage = "https://gitlab.freedesktop.org/xorg/lib/libxaw3d";
    license = lib.licenses.mit;
    maintainers = [ ];
    platforms = lib.platforms.unix;
  };
})
+2 −2
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
  libxmu,
  libxi,
  libxp,
  Xaw3d,
  libxaw3d,
  libxaw,
  libxft,
  fig2dev,
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
    libxmu
    libxi
    libxp
    Xaw3d
    libxaw3d
    libxaw
    libxft
  ];
+2 −2
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
  libxpm,
  pkg-config,
  xorgproto,
  Xaw3d,
  libxaw3d,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
    libxtst
    xorgproto
    libxi
    Xaw3d
    libxaw3d
    libxpm
  ];

Loading