83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
41 lines
747 B
Nix
41 lines
747 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, setuptools-scm
|
|
, pyyaml
|
|
, pytestCheckHook
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "saneyaml";
|
|
version = "0.6.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-sjCfeDZiPNbbkyV067xD4/ZcdD52NReeZL7ssNFibkQ=";
|
|
};
|
|
|
|
dontConfigure = true;
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pyyaml
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"saneyaml"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A PyYaml wrapper with sane behaviour to read and write readable YAML safely";
|
|
homepage = "https://github.com/nexB/saneyaml";
|
|
license = licenses.asl20;
|
|
maintainers = teams.determinatesystems.members;
|
|
};
|
|
}
|