mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
31f5dd3f36
- remove trailing whitespace - use spaces for indentation
27 lines
710 B
Nix
27 lines
710 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "frogatto-data";
|
|
version = "unstable-2018-12-18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "frogatto";
|
|
repo = "frogatto";
|
|
# master branch as of 2020-12-17
|
|
rev = "c1d0813b3b755a4e232369b6791397ad058efc16";
|
|
sha256 = "1fhaidd35392zzavp93r6ihyansgkc3m1ilz71ia1zl4n3fbsxjg";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/frogatto/modules
|
|
cp -ar . $out/share/frogatto/modules/frogatto
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/frogatto/frogatto";
|
|
description = "Data files to the frogatto game";
|
|
license = with licenses; [ cc-by-30 unfree ];
|
|
maintainers = with maintainers; [ astro ];
|
|
};
|
|
}
|