Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 50 lines 795 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 imake, 6 gccmakedep, 7 bison, 8 flex, 9 pkg-config, 10 libXext, 11 libXmu, 12 libXpm, 13 libXp, 14 libXt, 15 xorgproto, 16}: 17 18stdenv.mkDerivation rec { 19 pname = "Xaw3d"; 20 version = "1.6.6"; 21 22 src = fetchurl { 23 url = "https://www.x.org/releases/individual/lib/libXaw3d-${version}.tar.xz"; 24 sha256 = "sha256-pBw+NxNa1hax8ou95wACr788tZow3zQUH4KdMurchkY="; 25 }; 26 dontUseImakeConfigure = true; 27 nativeBuildInputs = [ 28 pkg-config 29 bison 30 flex 31 imake 32 gccmakedep 33 ]; 34 buildInputs = [ 35 libXext 36 libXpm 37 libXp 38 ]; 39 propagatedBuildInputs = [ 40 libXmu 41 libXt 42 xorgproto 43 ]; 44 45 meta = with lib; { 46 description = "3D widget set based on the Athena Widget set"; 47 platforms = lib.platforms.unix; 48 license = licenses.mit; 49 }; 50}