-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3Packages.mkdocs-material-insiders: init at 9.5.36-insiders-4.53.13 #343788
Closed
mahtaran
wants to merge
4
commits into
NixOS:master
from
mahtaran:package/python3Packages/mkdocs-material/9.5.36-insiders-4.53.13
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
2e214d0
maintainers: add mahtaran
mahtaran 4e2056d
python3Packages.mkdocs-git-committers-plugin-2: init at 2.3.0
mahtaran b30ee24
python3Packages.mkdocs-material-insiders: init at 9.5.36-insiders-4.5…
mahtaran 4d6a272
python3Packages.mkdocs-material-insiders: 9.5.36-insiders-4.53.13 -> …
mahtaran File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12653,6 +12653,17 @@ | |
githubId = 24735185; | ||
name = "Mahmoud Ayman"; | ||
}; | ||
mahtaran = { | ||
email = "[email protected]"; | ||
github = "mahtaran"; | ||
githubId = 22727323; | ||
name = "Luka Leer"; | ||
keys = [ | ||
{ | ||
fingerprint = "C7FF B72E 0527 423A D470 E132 AA82 C4EB CB16 82E0"; | ||
} | ||
]; | ||
}; | ||
majesticmullet = { | ||
email = "[email protected]"; | ||
github = "MajesticMullet"; | ||
|
43 changes: 43 additions & 0 deletions
43
pkgs/development/python-modules/mkdocs-git-committers-plugin-2/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
# Evaluation | ||
lib, | ||
buildPythonPackage, | ||
fetchFromGitHub, | ||
pythonAtLeast, | ||
|
||
# Dependencies | ||
gitpython, | ||
mkdocs, | ||
requests, | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "mkdocs-git-committers-plugin-2"; | ||
version = "2.3.0"; | ||
format = "setuptools"; | ||
|
||
disabled = !pythonAtLeast "3.8"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "ojacques"; | ||
repo = "mkdocs-git-committers-plugin-2"; | ||
rev = "refs/tags/${version}"; | ||
hash = "sha256-+Ua2oX8PrfTROAhXNjcKdjIajVfvP3D3ToddFfj5N6A="; | ||
}; | ||
|
||
propagatedBuildInputs = [ | ||
gitpython | ||
mkdocs | ||
requests | ||
]; | ||
|
||
pythonImportsCheck = [ "mkdocs_git_committers_plugin_2" ]; | ||
|
||
meta = { | ||
description = "MkDocs plugin for displaying a list of contributors on each page"; | ||
homepage = "https://github.com/ojacques/mkdocs-git-committers-plugin-2"; | ||
changelog = "https://github.com/ojacques/mkdocs-git-committers-plugin-2/releases/tag/${version}"; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ mahtaran ]; | ||
}; | ||
} |
103 changes: 103 additions & 0 deletions
103
pkgs/development/python-modules/mkdocs-material-insiders/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
{ | ||
# Evaluation | ||
lib, | ||
buildPythonPackage, | ||
fetchFromGitHub, | ||
pythonAtLeast, | ||
|
||
# Build | ||
hatchling, | ||
hatch-requirements-txt, | ||
hatch-nodejs-version, | ||
trove-classifiers, | ||
|
||
# Dependencies | ||
jinja2, | ||
markdown, | ||
mkdocs, | ||
mkdocs-material-extensions, | ||
pygments, | ||
pymdown-extensions, | ||
babel, | ||
colorama, | ||
mergedeep, | ||
paginate, | ||
regex, | ||
requests, | ||
|
||
# Optional dependencies | ||
mkdocs-minify-plugin, | ||
mkdocs-redirects, | ||
mkdocs-rss-plugin, | ||
mkdocs-git-committers-plugin-2, | ||
mkdocs-git-revision-date-localized-plugin, | ||
pillow, | ||
cairosvg, | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "mkdocs-material"; | ||
version = "9.5.38-insiders-4.53.13"; | ||
pyproject = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "squidfunk"; | ||
repo = "mkdocs-material-insiders"; | ||
private = true; | ||
rev = "refs/tags/${version}"; | ||
hash = "sha256-obfepPMQnq8m3P4/kT0nPlIF8w441xqhAWOFro7cHhU="; | ||
}; | ||
|
||
disabled = !pythonAtLeast "3.8"; | ||
|
||
nativeBuildInputs = [ | ||
hatchling | ||
hatch-requirements-txt | ||
hatch-nodejs-version | ||
trove-classifiers | ||
]; | ||
|
||
propagatedBuildInputs = [ | ||
jinja2 | ||
markdown | ||
mkdocs | ||
mkdocs-material-extensions | ||
pygments | ||
pymdown-extensions | ||
babel | ||
colorama | ||
mergedeep | ||
paginate | ||
regex | ||
requests | ||
]; | ||
|
||
passthru.optional-dependencies = { | ||
recommended = [ | ||
mkdocs-minify-plugin | ||
mkdocs-redirects | ||
mkdocs-rss-plugin | ||
]; | ||
|
||
git = [ | ||
mkdocs-git-committers-plugin-2 | ||
mkdocs-git-revision-date-localized-plugin | ||
]; | ||
|
||
imaging = [ | ||
pillow | ||
cairosvg | ||
]; | ||
}; | ||
|
||
pythonImportsCheck = [ "material" ]; | ||
|
||
meta = { | ||
changelog = "https://github.com/squidfunk/mkdocs-material-insiders/blob/${version}/CHANGELOG"; | ||
description = "Sponsor's edition of Material for MkDocs"; | ||
downloadPage = "https://github.com/squidfunk/mkdocs-material-insiders"; | ||
homepage = "https://squidfunk.github.io/mkdocs-material/insiders"; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ mahtaran ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit rusty on Python packaging, since those are not libraries could they not go under the by-name overlay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little unsure myself, but since they don't expose any binaries and their counterparts are also listed here, I figured this would be the correct location? Not too sure, though.