fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
35 lines
718 B
Nix
35 lines
718 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
pyyaml,
|
|
unidecode,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyaml";
|
|
version = "24.4.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Dkg9kokBDnR6Ml3EMXG8w51lYt0d1HGejMfnyWyZ/OY=";
|
|
};
|
|
|
|
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 = with maintainers; [ ];
|
|
};
|
|
}
|