2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyyaml
|
|
|
|
, unidecode
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyaml";
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "20.4.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "29a5c2a68660a799103d6949167bd6c7953d031449d08802386372de1db6ad71";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyyaml ];
|
|
|
|
|
|
|
|
checkInputs = [ unidecode ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "PyYAML-based module to produce pretty and readable YAML-serialized data";
|
|
|
|
homepage = "https://github.com/mk-fg/pretty-yaml";
|
|
|
|
license = lib.licenses.wtfpl;
|
|
|
|
};
|
|
|
|
}
|