3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/macopix/default.nix

28 lines
690 B
Nix

{ stdenv, fetchurl, pkgconfig, gtk, openssl }:
stdenv.mkDerivation rec {
name = "macopix-1.7.4";
src = fetchurl {
url = "http://rosegray.sakura.ne.jp/macopix/${name}.tar.bz2";
sha256 = "0sgnr0wrw3hglcnsyvipll7icfv69ssmyw584zfhk1rgramlkzyb";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk openssl ];
preConfigure = ''
# Build fails on Linux with windres.
export ac_cv_prog_WINDRES=
'';
enableParallelBuilding = true;
meta = {
description = "Mascot Constructive Pilot for X";
homepage = http://rosegray.sakura.ne.jp/macopix/index-e.html;
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
};
}