blob: fb1c6ef011f08f3693a19a97ce51a5b7e9f707a2 (
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
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
regex,
}:
buildPythonPackage rec {
pname = "backrefs";
version = "6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "facelessuser";
repo = "backrefs";
tag = version;
hash = "sha256-MeQsEKHIB7WnITMUtRP4vLLr2DjvrorKHKWxgd07qko=";
};
build-system = [
hatchling
];
pythonImportsCheck = [ "backrefs" ];
nativeCheckInputs = [
pytestCheckHook
regex
];
meta = {
description = "Wrapper around re or regex that adds additional back references";
homepage = "https://github.com/facelessuser/backrefs";
changelog = "https://github.com/facelessuser/backrefs/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|