mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-10-03 07:23:32 +00:00
robots-ai-txt: rename to ai-robots-txt; update to 1.28
This commit is contained in:
parent
0b3e6433c3
commit
4cb6ed2d62
1 changed files with 8 additions and 4 deletions
|
@ -5,11 +5,11 @@
|
||||||
}:
|
}:
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "ai-robots-txt";
|
pname = "ai-robots-txt";
|
||||||
version = "1.25";
|
version = "1.28";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ai-robots-txt/ai.robots.txt/releases/download/v${finalAttrs.version}/robots.txt";
|
url = "https://github.com/ai-robots-txt/ai.robots.txt/releases/download/v${finalAttrs.version}/robots.txt";
|
||||||
hash = "sha256-r4C+RDNpzfokBkvTG1v1D9gbu5zpC91+onQFYw05lZE=";
|
hash = "sha256-Cx01MI5Rss08lLgzwoppou0nqD0HxvfUbsa1NRVp8eQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
@ -18,7 +18,11 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
cp $src $out
|
|
||||||
|
mkdir -p $out/share
|
||||||
|
|
||||||
|
# Only copy relevant files
|
||||||
|
cp .htaccess nginx-block-ai-bots.conf nginx-block-ai-bots.conf able-of-bot-metrics.md $out/share
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
@ -26,7 +30,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
meta = {
|
meta = {
|
||||||
description = "List of AI agents and robots to block";
|
description = "List of AI agents and robots to block";
|
||||||
homepage = "https://github.com/ai-robots-txt/ai.robots.txt";
|
homepage = "https://github.com/ai-robots-txt/ai.robots.txt";
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.mit;
|
||||||
maintainers = with lib.maintainers; [NotAShelf];
|
maintainers = with lib.maintainers; [NotAShelf];
|
||||||
platforms = lib.platforms.all;
|
platforms = lib.platforms.all;
|
||||||
};
|
};
|
Loading…
Add table
Add a link
Reference in a new issue