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

27 lines
543 B
Nix
Raw Normal View History

2017-12-30 15:45:52 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, unidecode
, python
}:
buildPythonPackage rec {
pname = "pyaml";
2017-12-30 15:46:37 +01:00
version = "17.12.1";
2017-12-30 15:45:52 +01:00
src = fetchPypi {
inherit pname version;
2017-12-30 15:46:37 +01:00
sha256 = "66623c52f34d83a2c0fc963e08e8b9d0c13d88404e3b43b1852ef71eda19afa3";
2017-12-30 15:45:52 +01: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;
};
}