2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "frogatto-data";
|
2021-06-04 09:07:49 +00:00
|
|
|
version = "unstable-2021-05-24";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "frogatto";
|
|
|
|
repo = "frogatto";
|
2021-12-06 16:07:01 +00:00
|
|
|
# master branch as of 2021-11-29
|
|
|
|
rev = "82d3dafa0cfeaad016a427bdbc729eb9509748f1";
|
|
|
|
sha256 = "0fmwn584xl0vafcsh72b4xnryfqyjxk5zhmymg5i8rzp6h03n8xq";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/frogatto/modules
|
|
|
|
cp -ar . $out/share/frogatto/modules/frogatto
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/frogatto/frogatto";
|
|
|
|
description = "Data files to the frogatto game";
|
|
|
|
license = with licenses; [ cc-by-30 unfree ];
|
|
|
|
maintainers = with maintainers; [ astro ];
|
|
|
|
};
|
|
|
|
}
|