My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/games/macopix/default.nix

30 lines
738 B

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