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";
|
2022-04-15 01:41:22 +00:00
|
|
|
version = "unstable-2022-04-13";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "frogatto";
|
|
|
|
repo = "frogatto";
|
2022-04-15 01:41:22 +00:00
|
|
|
rev = "655493961c4ad57ba9cccdc24d23a2ded294b5f2";
|
|
|
|
sha256 = "0irn7p61cs8nm7dxsx84b2c3wryf2h12k2kclywdhy6xmh53w8k1";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|