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";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "unstable-2023-02-27";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "frogatto";
|
|
|
|
repo = "frogatto";
|
2023-03-04 12:14:45 +00:00
|
|
|
rev = "5ca339f4b97e5004dc07394407bf1da43fbd6204";
|
|
|
|
sha256 = "sha256-6wqCFc7DlDt0u0JnPg4amVemc9HOjsB/U4s9n7N84QA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/frogatto/modules
|
2023-03-04 12:14:45 +00:00
|
|
|
cp -ar . $out/share/frogatto/modules/frogatto4
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|