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