Xaw3d: add license, move build tools nativeBuildInputs

+8 -5
+8 -5
pkgs/development/libraries/Xaw3d/default.nix
··· 1 - {stdenv, fetchurl, xlibsWrapper, imake, gccmakedep, libXmu, libXpm, libXp, bison, flex, pkgconfig}: 1 + { stdenv, fetchurl 2 + , imake, gccmakedep, bison, flex, pkgconfig 3 + , xlibsWrapper, libXmu, libXpm, libXp }: 2 4 3 5 stdenv.mkDerivation { 4 6 name = "Xaw3d-1.6.3"; ··· 6 8 url = https://www.x.org/releases/individual/lib/libXaw3d-1.6.3.tar.bz2; 7 9 sha256 = "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid"; 8 10 }; 9 - nativeBuildInputs = [ pkgconfig ]; 10 - buildInputs = [imake gccmakedep libXpm libXp bison flex]; 11 - propagatedBuildInputs = [xlibsWrapper libXmu]; 11 + nativeBuildInputs = [ pkgconfig bison flex imake gccmakedep ]; 12 + buildInputs = [ libXpm libXp ]; 13 + propagatedBuildInputs = [ xlibsWrapper libXmu ]; 12 14 13 - meta = { 15 + meta = with stdenv.lib; { 14 16 description = "3D widget set based on the Athena Widget set"; 15 17 platforms = stdenv.lib.platforms.unix; 18 + license = licenses.mit; 16 19 }; 17 20 }