2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2021-01-19 21:20:11 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-01-02 10:47:16 +00:00
|
|
|
pname = "frogatto-data";
|
2021-05-30 20:22:02 +01:00
|
|
|
version = "unstable-2021-05-24";
|
2021-01-19 21:20:11 +00:00
|
|
|
|
2019-01-02 10:47:16 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "frogatto";
|
|
|
|
repo = "frogatto";
|
2020-12-19 21:00:25 +00:00
|
|
|
# master branch as of 2020-12-17
|
2021-05-30 20:22:02 +01:00
|
|
|
rev = "8b0f2bc8f9f172f6225b8e0d806552cb94f35e2a";
|
|
|
|
sha256 = "09nrna9l1zj2ma2bazdhdvphwy570kfz4br4xgpwq21rsjrvrqiy";
|
2019-01-02 10:47:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/frogatto/modules
|
|
|
|
cp -ar . $out/share/frogatto/modules/frogatto
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/frogatto/frogatto";
|
2019-01-02 10:47:16 +00:00
|
|
|
description = "Data files to the frogatto game";
|
|
|
|
license = with licenses; [ cc-by-30 unfree ];
|
|
|
|
maintainers = with maintainers; [ astro ];
|
|
|
|
};
|
|
|
|
}
|