dwarf-fortress-packages.cla-theme: init at 20160128

This commit is contained in:
Nikolay Amiantov 2016-02-10 16:54:55 +03:00
parent 6352bb51f9
commit 99f4f1d7ef
2 changed files with 35 additions and 0 deletions

View file

@ -16,6 +16,7 @@ let
dwarf-fortress = callPackage ./wrapper {
themes = {
"phoebus" = phoebus-theme;
"cla" = cla-theme;
};
};
@ -28,6 +29,8 @@ let
dwarf-therapist = callPackage ./dwarf-therapist/wrapper.nix { };
phoebus-theme = callPackage ./themes/phoebus.nix { };
cla-theme = callPackage ./themes/cla.nix { };
};
in self

View file

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub }:
# On upgrade check https://github.com/fricy/Phoebus/blob/master/manifest.json
# for compatibility information.
stdenv.mkDerivation {
name = "cla-theme-20160128";
src = fetchFromGitHub {
owner = "DFgraphics";
repo = "CLA";
rev = "94088b778ed6f91cbddcd3e33aa1e5efa67f3101";
sha256 = "0rx1375x9s791k9wzvj7sxcrv4xaggibxymzirayznvavr7zcsv1";
};
installPhase = ''
mkdir $out
cp -r data raw $out
'';
passthru.dfVersion = "0.42.05";
preferLocalBuild = true;
meta = with stdenv.lib; {
description = "CLA graphics set for Dwarf Fortress";
homepage = "http://www.bay12forums.com/smf/index.php?topic=105376.0";
platforms = platforms.all;
maintainers = with maintainers; [ abbradar ];
license = licenses.free;
};
}