50 lines
795 B
Nix
50 lines
795 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
imake,
|
|
gccmakedep,
|
|
bison,
|
|
flex,
|
|
pkg-config,
|
|
libXext,
|
|
libXmu,
|
|
libXpm,
|
|
libXp,
|
|
libXt,
|
|
xorgproto,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "Xaw3d";
|
|
version = "1.6.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.x.org/releases/individual/lib/libXaw3d-${version}.tar.xz";
|
|
sha256 = "sha256-pBw+NxNa1hax8ou95wACr788tZow3zQUH4KdMurchkY=";
|
|
};
|
|
dontUseImakeConfigure = true;
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
bison
|
|
flex
|
|
imake
|
|
gccmakedep
|
|
];
|
|
buildInputs = [
|
|
libXext
|
|
libXpm
|
|
libXp
|
|
];
|
|
propagatedBuildInputs = [
|
|
libXmu
|
|
libXt
|
|
xorgproto
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "3D widget set based on the Athena Widget set";
|
|
platforms = lib.platforms.unix;
|
|
license = licenses.mit;
|
|
};
|
|
}
|