mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
26 lines
673 B
Nix
26 lines
673 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 = 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 ];
|
|
};
|
|
}
|