2016-01-19 13:43:52 -08:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2015-11-26 19:26:44 -08:00
|
|
|
|
2016-02-10 05:53:59 -08:00
|
|
|
# On upgrade check https://github.com/DFgraphics/Phoebus/blob/master/manifest.json
|
2016-01-19 13:43:52 -08:00
|
|
|
# for compatibility information.
|
2015-11-26 19:26:44 -08:00
|
|
|
|
2016-04-29 17:03:09 -07:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "phoebus-theme-${version}";
|
2016-11-23 07:05:38 -08:00
|
|
|
version = "43.05c";
|
2015-11-26 19:26:44 -08:00
|
|
|
|
2016-01-19 13:43:52 -08:00
|
|
|
src = fetchFromGitHub {
|
2016-02-10 05:53:59 -08:00
|
|
|
owner = "DFgraphics";
|
2016-01-19 13:43:52 -08:00
|
|
|
repo = "Phoebus";
|
2016-04-29 17:03:09 -07:00
|
|
|
rev = version;
|
2016-11-23 07:05:38 -08:00
|
|
|
sha256 = "0wiz9rd5ypibgh8854h5n2xwksfxylaziyjpbp3p1rkm3r7kr4fd";
|
2015-11-26 19:26:44 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2016-01-19 13:43:52 -08:00
|
|
|
mkdir $out
|
|
|
|
cp -r data raw $out
|
|
|
|
'';
|
2015-11-26 19:26:44 -08:00
|
|
|
|
2016-08-12 17:12:55 -07:00
|
|
|
passthru.dfVersion = "0.43.05";
|
2015-11-26 19:26:44 -08:00
|
|
|
|
2016-01-19 13:43:52 -08:00
|
|
|
preferLocalBuild = true;
|
2015-11-26 19:26:44 -08:00
|
|
|
|
2016-01-19 13:43:52 -08: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-26 19:26:44 -08:00
|
|
|
}
|