2015-09-29 04:49:07 +02:00
|
|
|
{ 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";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk openssl ];
|
2015-09-29 04:49:07 +02:00
|
|
|
|
2017-11-21 05:27:10 +01: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";
|
2019-02-10 14:14:33 +01:00
|
|
|
|
2015-09-29 04:49:07 +02:00
|
|
|
meta = {
|
|
|
|
description = "Mascot Constructive Pilot for X";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://rosegray.sakura.ne.jp/macopix/index-e.html";
|
2015-09-29 04:49:07 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-09-29 04:49:07 +02:00
|
|
|
};
|
|
|
|
}
|