blob: 1f27c46dd64174eccef902b07ae0d1c4bbec39a1 (
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
|
{
lib,
fetchPypi,
buildPythonPackage,
setuptools-scm,
pyyaml,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "saneyaml";
version = "0.6.1";
pyproject = true;
disabled = pythonOlder "3.7";
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 = with lib; {
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 = licenses.asl20;
maintainers = [ ];
};
}
|