f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
35 lines
866 B
Nix
35 lines
866 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 = "43.05c";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DFgraphics";
|
|
repo = "Phoebus";
|
|
rev = version;
|
|
sha256 = "0wiz9rd5ypibgh8854h5n2xwksfxylaziyjpbp3p1rkm3r7kr4fd";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir $out
|
|
cp -r data raw $out
|
|
'';
|
|
|
|
passthru.dfVersion = "0.43.05";
|
|
|
|
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;
|
|
};
|
|
}
|