blob: e01e1eac095fa927e0c6863c26ea5bd7fcc390f9 (
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,
cython,
setuptools,
libyaml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyyaml";
version = "6.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "yaml";
repo = "pyyaml";
tag = version;
hash = "sha256-jUooIBp80cLxvdU/zLF0X8Yjrf0Yp9peYeiFjuV8AHA=";
};
build-system = [
cython
setuptools
];
buildInputs = [ libyaml ];
pythonImportsCheck = [ "yaml" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/yaml/pyyaml/blob/${src.rev}/CHANGES";
description = "Next generation YAML parser and emitter for Python";
homepage = "https://github.com/yaml/pyyaml";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|