blob: ddaa43560f2a74e75e3e73b9ca0363502474e21e (
plain) (
blame)
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
42
43
44
|
{
buildPythonPackage,
fetchFromGitHub,
lib,
pytestCheckHook,
setuptools,
typing-extensions,
}:
let
version = "0.19.0";
src = fetchFromGitHub {
owner = "projectfluent";
repo = "python-fluent";
rev = "fluent.syntax@${version}";
hash = "sha256-nULngwBG/ebICRDi6HMHBdT+r/oq6tbDL7C1iMZpMsA=";
};
in
buildPythonPackage {
pname = "fluent-syntax";
inherit version;
pyproject = true;
inherit src;
sourceRoot = "${src.name}/fluent.syntax";
build-system = [ setuptools ];
dependencies = [ typing-extensions ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "fluent.syntax" ];
meta = {
changelog = "https://github.com/projectfluent/python-fluent/blob/${src.rev}/fluent.syntax/CHANGELOG.md";
description = "Parse, analyze, process, and serialize Fluent files";
downloadPage = "https://github.com/projectfluent/python-fluent/releases/tag/${src.rev}";
homepage = "https://projectfluent.org/python-fluent/fluent.syntax/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ getpsyched ];
};
}
|