summary refs log tree commit diff
path: root/pkgs/games/frogatto/data.nix
blob: ab5bbe2dd9fb025319f82e6a76264dc22deab130 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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 ];
  };
}