about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/Xaw3d/default.nix
blob: f90be3a751e3470633ce8a6e3504059d78b7a4e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib
, stdenv
, fetchurl
, imake
, gccmakedep
, bison
, flex
, pkg-config
, libXext
, libXmu
, libXpm
, libXp
, libXt
, xorgproto
}:

stdenv.mkDerivation rec {
  pname = "Xaw3d";
  version = "1.6.5";

  src = fetchurl {
    url = "https://www.x.org/releases/individual/lib/libXaw3d-${version}.tar.xz";
    sha256 = "sha256-NIHuS2dTuI4YhW6iZcuE8rAznujDu+yWaxVrOLWEGDM=";
  };
  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;
  };
}