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";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.6.5";
|
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";
|
|
|
|
sha256 = "sha256-NIHuS2dTuI4YhW6iZcuE8rAznujDu+yWaxVrOLWEGDM=";
|
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;
|
|
|
|
};
|
|
|
|
}
|