blob: 24f4e7b065950deb63540209ea66b46a29e0a25c (
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
|
{
lib,
fetchPypi,
buildPythonPackage,
setuptools-scm,
pyyaml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "saneyaml";
version = "0.6.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Gc+9i/lNcwmYFix5D+XOyau1MAzFiQ/jfcbbyqj7Frs=";
};
dontConfigure = true;
build-system = [ setuptools-scm ];
dependencies = [ pyyaml ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "saneyaml" ];
meta = {
description = "PyYaml wrapper with sane behaviour to read and write readable YAML safely";
homepage = "https://github.com/nexB/saneyaml";
changelog = "https://github.com/aboutcode-org/saneyaml/blob/v${version}/CHANGELOG.rst";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|