mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 03:53:56 +00:00
python3Packages.mkdocs: 1.3.0 -> 1.4.2
This commit is contained in:
parent
5d043b25c7
commit
bf5f0d590c
@ -4,7 +4,11 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
# runtime deps
|
||||
|
||||
# buildtime
|
||||
, hatchling
|
||||
|
||||
# runtime deps
|
||||
, click
|
||||
, ghp-import
|
||||
, importlib-metadata
|
||||
@ -15,7 +19,8 @@
|
||||
, pyyaml
|
||||
, pyyaml-env-tag
|
||||
, watchdog
|
||||
# testing deps
|
||||
|
||||
# testing deps
|
||||
, babel
|
||||
, mock
|
||||
, unittestCheckHook
|
||||
@ -23,16 +28,26 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs";
|
||||
version = "1.3.0";
|
||||
version = "1.4.2";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-S4xkr3jS5GvkMu8JnEGfqhmkxy3FtZZb7Rbuniltudg=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-/NxiKbCd2acYcNe5ww3voM9SGVE2IDqknngqApkDbNs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "Markdown >=3.2.1, <3.4" "Markdown"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
jinja2
|
||||
|
Loading…
Reference in New Issue
Block a user