nixpkgs/pkgs/games/dwarf-fortress/themes/phoebus.nix

35 lines
865 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub }:
2015-11-27 03:26:44 +00:00
# On upgrade check https://github.com/DFgraphics/Phoebus/blob/master/manifest.json
# for compatibility information.
2015-11-27 03:26:44 +00:00
stdenv.mkDerivation rec {
name = "phoebus-theme-${version}";
2018-04-12 22:36:29 +01:00
version = "44.07";
2015-11-27 03:26:44 +00:00
src = fetchFromGitHub {
owner = "DFgraphics";
repo = "Phoebus";
rev = version;
2018-04-12 22:36:29 +01:00
sha256 = "114yc0s7j57i4rq6iq295gggbgzx4qb389xip8lkzfg4dnp6klns";
2015-11-27 03:26:44 +00:00
};
installPhase = ''
mkdir $out
cp -r data raw $out
'';
2015-11-27 03:26:44 +00:00
2018-04-12 22:36:29 +01:00
passthru.dfVersion = "0.44.09";
2015-11-27 03:26:44 +00:00
preferLocalBuild = true;
2015-11-27 03:26:44 +00: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 03:26:44 +00:00
}