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

27 lines
537 B
Nix
Raw Normal View History

2017-12-30 14:45:52 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, unidecode
}:
buildPythonPackage rec {
pname = "pyaml";
2019-12-19 19:31:18 +00:00
version = "19.12.0";
2017-12-30 14:45:52 +00:00
src = fetchPypi {
inherit pname version;
2019-12-19 19:31:18 +00:00
sha256 = "b3f636b467864319d7ded1558f86bb305b8612a274f5d443a62dc5eceb1b7176";
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;
};
}