nixpkgs-suyu/pkgs/games/macopix/default.nix

31 lines
738 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, gtk, openssl }:
2015-09-29 04:49:07 +02:00
stdenv.mkDerivation rec {
2021-06-22 23:44:58 +02:00
pname = "macopix";
version = "1.7.4";
2015-09-29 04:49:07 +02:00
src = fetchurl {
2021-06-22 23:44:58 +02:00
url = "http://rosegray.sakura.ne.jp/macopix/macopix-${version}.tar.bz2";
2015-09-29 04:49:07 +02:00
sha256 = "0sgnr0wrw3hglcnsyvipll7icfv69ssmyw584zfhk1rgramlkzyb";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk openssl ];
2015-09-29 04:49:07 +02:00
preConfigure = ''
# Build fails on Linux with windres.
export ac_cv_prog_WINDRES=
'';
enableParallelBuilding = true;
2019-10-30 12:34:47 +01:00
NIX_LDFLAGS = "-lX11";
2015-09-29 04:49:07 +02:00
meta = {
description = "Mascot Constructive Pilot for X";
homepage = "http://rosegray.sakura.ne.jp/macopix/index-e.html";
2021-01-15 05:31:39 +01:00
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
2015-09-29 04:49:07 +02:00
};
}