depot/third_party/nixpkgs/pkgs/development/python-modules/pyaml/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

35 lines
718 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 = with maintainers; [ ];
};
}