34 lines
868 B
Nix
34 lines
868 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
# On upgrade check https://github.com/DFgraphics/Phoebus/blob/master/manifest.json
|
|
# for compatibility information.
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "phoebus-theme-${version}";
|
|
version = "42.06a";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DFgraphics";
|
|
repo = "Phoebus";
|
|
rev = version;
|
|
sha256 = "1mkj882mf1lvjs2b7jxfazym9fl1y20slbfi1lgqzbp1872aaxi0";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir $out
|
|
cp -r data raw $out
|
|
'';
|
|
|
|
passthru.dfVersion = "0.42.06";
|
|
|
|
preferLocalBuild = true;
|
|
|
|
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;
|
|
};
|
|
}
|