nixpkgs/pkgs/development/python-modules/pyaml/default.nix
2017-12-31 11:01:57 +01:00

27 lines
543 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, unidecode
, python
}:
buildPythonPackage rec {
pname = "pyaml";
version = "17.12.1";
src = fetchPypi {
inherit pname version;
sha256 = "66623c52f34d83a2c0fc963e08e8b9d0c13d88404e3b43b1852ef71eda19afa3";
};
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;
};
}