Files
nixpkgs/pkgs/by-name/fr/frogatto/data.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

33 lines
694 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "frogatto-data";
version = "unstable-2023-02-27";
src = fetchFromGitHub {
owner = "frogatto";
repo = "frogatto";
rev = "5ca339f4b97e5004dc07394407bf1da43fbd6204";
sha256 = "sha256-6wqCFc7DlDt0u0JnPg4amVemc9HOjsB/U4s9n7N84QA=";
};
installPhase = ''
mkdir -p $out/share/frogatto/modules
cp -ar . $out/share/frogatto/modules/frogatto4
'';
meta = {
homepage = "https://github.com/frogatto/frogatto";
description = "Data files to the frogatto game";
license = with lib.licenses; [
cc-by-30
unfree
];
maintainers = with lib.maintainers; [ astro ];
};
}