nixpkgs/pkgs/development/python-modules/pyaml/default.nix

27 lines
536 B
Nix
Raw Normal View History

2017-12-30 14:45:52 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, unidecode
}:
buildPythonPackage rec {
pname = "pyaml";
2020-06-06 06:47:23 +00:00
version = "20.4.0";
2017-12-30 14:45:52 +00:00
src = fetchPypi {
inherit pname version;
2020-06-06 06:47:23 +00:00
sha256 = "29a5c2a68660a799103d6949167bd6c7953d031449d08802386372de1db6ad71";
2017-12-30 14:45: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";
2017-12-30 14:45:52 +00:00
license = lib.licenses.wtfpl;
};
}