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

27 lines
543 B
Nix
Raw Normal View History

2017-12-30 14:45:52 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, unidecode
, python
}:
buildPythonPackage rec {
pname = "pyaml";
version = "15.02.1";
src = fetchPypi {
inherit pname version;
sha256 = "8dfe1b295116115695752acc84d15ecf5c1c469975fbed7672bf41a6bc6d6d51";
};
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;
};
}