Xaw3d: add license, move build tools nativeBuildInputs

This commit is contained in:
Jörg Thalheim 2018-08-19 09:18:16 +01:00
parent 1afba8790b
commit e180e018fe

View File

@ -1,4 +1,6 @@
{stdenv, fetchurl, xlibsWrapper, imake, gccmakedep, libXmu, libXpm, libXp, bison, flex, pkgconfig}:
{ stdenv, fetchurl
, imake, gccmakedep, bison, flex, pkgconfig
, xlibsWrapper, libXmu, libXpm, libXp }:
stdenv.mkDerivation {
name = "Xaw3d-1.6.3";
@ -6,12 +8,13 @@ stdenv.mkDerivation {
url = https://www.x.org/releases/individual/lib/libXaw3d-1.6.3.tar.bz2;
sha256 = "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [imake gccmakedep libXpm libXp bison flex];
propagatedBuildInputs = [xlibsWrapper libXmu];
nativeBuildInputs = [ pkgconfig bison flex imake gccmakedep ];
buildInputs = [ libXpm libXp ];
propagatedBuildInputs = [ xlibsWrapper libXmu ];
meta = {
meta = with stdenv.lib; {
description = "3D widget set based on the Athena Widget set";
platforms = stdenv.lib.platforms.unix;
license = licenses.mit;
};
}