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";
2017-12-30 14:46:37 +00:00
version = "17.12.1";
2017-12-30 14:45:52 +00:00
src = fetchPypi {
inherit pname version;
2017-12-30 14:46:37 +00:00
sha256 = "66623c52f34d83a2c0fc963e08e8b9d0c13d88404e3b43b1852ef71eda19afa3";
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;
license = lib.licenses.wtfpl;
};
}