blob: c718e28f43e41aca8503c3cbae1c720b552b5227 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
mkdocs,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mkdocs-redirects";
version = "1.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "mkdocs";
repo = "mkdocs-redirects";
tag = "v${version}";
hash = "sha256-YsMA00yajeGSqSB6CdKxGqyClC9Cgc3ImRBTucHEHhs=";
};
build-system = [ hatchling ];
propagatedBuildInputs = [ mkdocs ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mkdocs_redirects" ];
meta = {
description = "Open source plugin for Mkdocs page redirects";
homepage = "https://github.com/mkdocs/mkdocs-redirects";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tfc ];
};
}
|