35 lines
700 B
Nix
35 lines
700 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
pyyaml,
|
|
unidecode,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyaml";
|
|
version = "24.9.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-543uiw1P7Va7n6EainhY5vreHscKmhIs7mc276w+abU=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|