blob: 22f6c60a4126835d2e98bc441bfbbde96897d274 (
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
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hatch-mypyc,
pytestCheckHook,
result,
}:
buildPythonPackage (finalAttrs: {
pname = "crossandra";
version = "2.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "trag1c";
repo = "crossandra";
tag = finalAttrs.version;
hash = "sha256-xKMySbt+Bf+6BGyIKsmYHTZTl25HxlG8hY/HuUtDjSM=";
};
build-system = [
hatchling
hatch-mypyc
];
dependencies = [ result ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "crossandra" ];
meta = {
changelog = "https://github.com/trag1c/crossandra/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "Fast and simple enum/regex-based tokenizer with decent configurability";
license = lib.licenses.mit;
homepage = "https://trag1c.github.io/crossandra";
maintainers = with lib.maintainers; [ sigmanificient ];
};
})
|