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