2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, imake
|
|
|
|
, gccmakedep
|
|
|
|
, bison
|
|
|
|
, flex
|
|
|
|
, pkg-config
|
2022-12-17 10:02:37 +00:00
|
|
|
, libXext
|
2021-12-06 16:07:01 +00:00
|
|
|
, libXmu
|
|
|
|
, libXpm
|
|
|
|
, libXp
|
2022-12-17 10:02:37 +00:00
|
|
|
, libXt
|
|
|
|
, xorgproto
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "Xaw3d";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.6.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-11-16 04:20:00 +00:00
|
|
|
url = "https://www.x.org/releases/individual/lib/libXaw3d-${version}.tar.xz";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-pBw+NxNa1hax8ou95wACr788tZow3zQUH4KdMurchkY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
dontUseImakeConfigure = true;
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config bison flex imake gccmakedep ];
|
2022-12-17 10:02:37 +00:00
|
|
|
buildInputs = [ libXext libXpm libXp ];
|
|
|
|
propagatedBuildInputs = [ libXmu libXt xorgproto ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "3D widget set based on the Athena Widget set";
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|