Compare commits

...

6 commits

Author SHA1 Message Date
NotAShelf
064d9bc935 [CI]: update npins
Some checks are pending
Checks / check (NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure) (push) Waiting to run
Checks / check (nix run .#alejandra-custom -- -c . -e ./npins) (push) Waiting to run
Checks / build (push) Blocked by required conditions
2025-02-19 01:43:10 +00:00
NotAShelf
0e24e55960 [CI]: update npins 2025-02-18 01:42:51 +00:00
NotAShelf
f20e02c975 [CI]: update npins 2025-02-17 01:46:08 +00:00
NotAShelf
c8d4536611 [CI]: update flake inputs 2025-02-16 00:56:40 +00:00
NotAShelf
027fbb613e [CI]: update npins 2025-02-14 01:42:35 +00:00
19da8cfaf5
robots-ai-txt: init at 1.25 2025-02-13 19:09:57 +03:00
3 changed files with 37 additions and 4 deletions

BIN
flake.lock generated

Binary file not shown.

View file

@ -51,9 +51,9 @@
"url": "https://codeberg.org/dnkl/fuzzel.git"
},
"branch": "master",
"revision": "5396fa1dc8bfe218041c53cb5c76d7658d136a9f",
"revision": "36471ffa94114f17496af668fb062b385b3dffe9",
"url": null,
"hash": "1n1pc0l8vf2ld2f58h1lbscpas5iyqrwpj3bpimkicrnw2rs0qfj"
"hash": "0lskx6rfq76idgmdbgqdby0z59dylm3j44v8pb59nnjb8wr9wpcn"
},
"mov-cli": {
"type": "GitRelease",
@ -73,8 +73,8 @@
"nixpkgs": {
"type": "Channel",
"name": "nixpkgs-unstable",
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre751383.b2243f41e860/nixexprs.tar.xz",
"hash": "1j7j5dg1hwy7r8c61ghxshiq0k5cq0852b5730h0w5knmhlfj2a4"
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre755223.632f04521e84/nixexprs.tar.xz",
"hash": "13aw89p6riwmaq21gc2pby9kzkx523psin41yi4wldha03mkxkis"
},
"rat": {
"type": "GitRelease",

View 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;
};
})