internalallthethings: init at 0-unstable-2025-08-03 (#431024)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
diff --git a/mkdocs.yml b/mkdocs.yml
|
||||
index 2f7f387..7ddfcf2 100644
|
||||
--- a/mkdocs.yml
|
||||
+++ b/mkdocs.yml
|
||||
@@ -53,11 +53,6 @@ markdown_extensions:
|
||||
- pymdownx.inlinehilite
|
||||
- pymdownx.snippets
|
||||
- attr_list
|
||||
- - pymdownx.emoji:
|
||||
- emoji_index: !!python/name:material.extensions.emoji.twemoji
|
||||
- emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
||||
|
||||
plugins:
|
||||
- search
|
||||
- - git-revision-date-localized
|
||||
- - social
|
||||
\ No newline at end of file
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
stdenvNoCC,
|
||||
python3Packages,
|
||||
}:
|
||||
let
|
||||
inherit (python3Packages) mkdocs mkdocs-material;
|
||||
in
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "internalallthethings";
|
||||
version = "0-unstable-2025-11-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "swisskyrepo";
|
||||
repo = "InternalAllTheThings";
|
||||
rev = "9a97b9d16e5f9834b4ef2276b6cd1b98a0748b6e";
|
||||
hash = "sha256-NaQeRmO1JtKYZyTAhKXovDi7pZ9Zbu7Yi4iHORCU67A=";
|
||||
};
|
||||
|
||||
patches = [ ./mkdocs.patch ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
mkdocs
|
||||
mkdocs-material
|
||||
];
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"doc"
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
mkdocs build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $doc/share/internalallthethings
|
||||
cp -r site/* $doc/share/internalallthethings
|
||||
|
||||
mkdir -p $out/share/internalallthethings
|
||||
rm -r mkdocs.yml site
|
||||
cp -r * $out/share/internalallthethings
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/swisskyrepo/InternalAllTheThings";
|
||||
description = "Active Directory and Internal Pentest Cheatsheets";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ felbinger ];
|
||||
platforms = mkdocs.meta.platforms;
|
||||
sourceProvenance = with lib.sourceTypes; [ fromSource ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user