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";
|
2020-12-25 13:55:36 +00:00
|
|
|
# master branch as of 2020-12-17
|
2021-06-04 09:07:49 +00:00
|
|
|
rev = "8b0f2bc8f9f172f6225b8e0d806552cb94f35e2a";
|
|
|
|
sha256 = "09nrna9l1zj2ma2bazdhdvphwy570kfz4br4xgpwq21rsjrvrqiy";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|