python3.pkgs.saneyaml: init at 0.5.2
This commit is contained in:
parent
20d7a471d1
commit
1afb06b2da
2 changed files with 43 additions and 0 deletions
41
pkgs/development/python-modules/saneyaml/default.nix
Normal file
41
pkgs/development/python-modules/saneyaml/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, setuptools-scm
|
||||
, pyyaml
|
||||
, pytestCheckHook
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "saneyaml";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d6074f1959041342ab41d74a6f904720ffbcf63c94467858e0e22e17e3c43d41";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyyaml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -7616,6 +7616,8 @@ in {
|
|||
inherit (pkgs) sane-backends;
|
||||
};
|
||||
|
||||
saneyaml = callPackage ../development/python-modules/saneyaml { };
|
||||
|
||||
sampledata = callPackage ../development/python-modules/sampledata { };
|
||||
|
||||
samplerate = callPackage ../development/python-modules/samplerate { };
|
||||
|
|
Loading…
Reference in a new issue