2016-01-19 22:43:52 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2015-11-27 04:26:44 +01:00
|
|
|
|
2016-02-10 14:53:59 +01:00
|
|
|
# On upgrade check https://github.com/DFgraphics/Phoebus/blob/master/manifest.json
|
2016-01-19 22:43:52 +01:00
|
|
|
# for compatibility information.
|
2015-11-27 04:26:44 +01:00
|
|
|
|
2016-01-19 22:43:52 +01:00
|
|
|
stdenv.mkDerivation {
|
2016-02-10 14:53:59 +01:00
|
|
|
name = "phoebus-theme-20160128";
|
2015-11-27 04:26:44 +01:00
|
|
|
|
2016-01-19 22:43:52 +01:00
|
|
|
src = fetchFromGitHub {
|
2016-02-10 14:53:59 +01:00
|
|
|
owner = "DFgraphics";
|
2016-01-19 22:43:52 +01:00
|
|
|
repo = "Phoebus";
|
2016-02-10 14:53:59 +01:00
|
|
|
rev = "52b19b69c7323f9002ad195ecd68ac02ff0099a2";
|
|
|
|
sha256 = "1pw5l5v7l1bvxzjf4fivmagpmghffvz0wlws2ksc7d5vy48ybcmg";
|
2015-11-27 04:26:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2016-01-19 22:43:52 +01:00
|
|
|
mkdir $out
|
|
|
|
cp -r data raw $out
|
|
|
|
'';
|
2015-11-27 04:26:44 +01:00
|
|
|
|
2016-01-19 22:43:52 +01:00
|
|
|
passthru.dfVersion = "0.42.05";
|
2015-11-27 04:26:44 +01:00
|
|
|
|
2016-01-19 22:43:52 +01:00
|
|
|
preferLocalBuild = true;
|
2015-11-27 04:26:44 +01:00
|
|
|
|
2016-01-19 22:43:52 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Phoebus graphics set for Dwarf Fortress";
|
|
|
|
homepage = "http://www.bay12forums.com/smf/index.php?topic=137096.0";
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ a1russell abbradar ];
|
|
|
|
# https://github.com/fricy/Phoebus/issues/5
|
|
|
|
license = licenses.free;
|
|
|
|
};
|
2015-11-27 04:26:44 +01:00
|
|
|
}
|