5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
35 lines
700 B
Nix
35 lines
700 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
pyyaml,
|
|
unidecode,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyaml";
|
|
version = "24.7.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-XQ/fnmgQNvsmOng9Apj8OvWApuKmzxozFP/EjcPZHMs=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [ pyyaml ];
|
|
|
|
nativeCheckInputs = [ unidecode ];
|
|
|
|
pythonImportsCheck = [ "pyaml" ];
|
|
|
|
meta = with lib; {
|
|
description = "PyYAML-based module to produce pretty and readable YAML-serialized data";
|
|
mainProgram = "pyaml";
|
|
homepage = "https://github.com/mk-fg/pretty-yaml";
|
|
license = licenses.wtfpl;
|
|
maintainers = [ ];
|
|
};
|
|
}
|