2021-11-09 19:53:19 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, imake
|
|
|
|
, gccmakedep
|
|
|
|
, bison
|
|
|
|
, flex
|
|
|
|
, pkg-config
|
|
|
|
, xlibsWrapper
|
|
|
|
, libXmu
|
|
|
|
, libXpm
|
|
|
|
, libXp
|
|
|
|
}:
|
2005-11-12 17:05:51 +00:00
|
|
|
|
2021-11-09 19:42:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "Xaw3d";
|
|
|
|
version = "1.6.3";
|
|
|
|
|
2005-11-12 17:05:51 +00:00
|
|
|
src = fetchurl {
|
2021-11-09 19:42:54 +00:00
|
|
|
url = "https://www.x.org/releases/individual/lib/libXaw3d-${version}.tar.bz2";
|
2018-06-24 17:26:59 +00:00
|
|
|
sha256 = "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid";
|
2005-11-12 17:05:51 +00:00
|
|
|
};
|
2018-11-28 20:22:10 +00:00
|
|
|
dontUseImakeConfigure = true;
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config bison flex imake gccmakedep ];
|
2018-08-19 08:18:16 +00:00
|
|
|
buildInputs = [ libXpm libXp ];
|
|
|
|
propagatedBuildInputs = [ xlibsWrapper libXmu ];
|
2013-10-05 14:22:46 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "3D widget set based on the Athena Widget set";
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2018-08-19 08:18:16 +00:00
|
|
|
license = licenses.mit;
|
2013-10-05 14:22:46 +00:00
|
|
|
};
|
2005-11-12 17:05:51 +00:00
|
|
|
}
|