depot/third_party/nixpkgs/pkgs/development/python-modules/pyaml/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

33 lines
619 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, unidecode
}:
buildPythonPackage rec {
pname = "pyaml";
version = "21.8.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-oWNtY8R2MooHIT0LcRG7Y1cPGrij7d9gUiYwJQwj2XU=";
};
propagatedBuildInputs = [
pyyaml
];
checkInputs = [
unidecode
];
pythonImportsCheck = [ "pyaml" ];
meta = with lib; {
description = "PyYAML-based module to produce pretty and readable YAML-serialized data";
homepage = "https://github.com/mk-fg/pretty-yaml";
license = licenses.wtfpl;
maintainers = with maintainers; [ ];
};
}