diff --git a/flake.lock b/flake.lock index bc862a0..92d0308 100644 Binary files a/flake.lock and b/flake.lock differ diff --git a/npins/sources.json b/npins/sources.json index 092bff8..b4a18ba 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -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", diff --git a/pkgs/robots-ai-txt/package.nix b/pkgs/robots-ai-txt/package.nix new file mode 100644 index 0000000..f4c66e0 --- /dev/null +++ b/pkgs/robots-ai-txt/package.nix @@ -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; + }; +})