depot/third_party/nixpkgs/pkgs/games/frogatto/data.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
716 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "frogatto-data";
version = "unstable-2018-12-18";
src = fetchFromGitHub {
owner = "frogatto";
repo = "frogatto";
# master branch as of 2018-12-18
rev = "8f261b5d3fca3c88e6a534316a28378cf687d3e5";
sha256 = "0nyfwfyy5gxp61ydna299nq9p5wra9mk0bf1drdngg6bwws1hrqx";
};
installPhase = ''
mkdir -p $out/share/frogatto/modules
cp -ar . $out/share/frogatto/modules/frogatto
'';
meta = with stdenv.lib; {
homepage = "https://github.com/frogatto/frogatto";
description = "Data files to the frogatto game";
license = with licenses; [ cc-by-30 unfree ];
maintainers = with maintainers; [ astro ];
};
}