mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-02-22 03:18:02 +00:00
robots-ai-txt: init at 1.25
This commit is contained in:
parent
420135d754
commit
19da8cfaf5
1 changed files with 33 additions and 0 deletions
33
pkgs/robots-ai-txt/package.nix
Normal file
33
pkgs/robots-ai-txt/package.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchurl,
|
||||||
|
}:
|
||||||
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
pname = "ai-robots-txt";
|
||||||
|
version = "1.25";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/ai-robots-txt/ai.robots.txt/releases/download/v${finalAttrs.version}/robots.txt";
|
||||||
|
hash = "sha256-r4C+RDNpzfokBkvTG1v1D9gbu5zpC91+onQFYw05lZE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
cp $src $out
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "List of AI agents and robots to block";
|
||||||
|
homepage = "https://github.com/ai-robots-txt/ai.robots.txt";
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
maintainers = with lib.maintainers; [NotAShelf];
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
})
|
Loading…
Add table
Reference in a new issue