depot/third_party/nixpkgs/pkgs/development/python-modules/pyaml/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

26 lines
536 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, unidecode
}:
buildPythonPackage rec {
pname = "pyaml";
version = "20.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "29a5c2a68660a799103d6949167bd6c7953d031449d08802386372de1db6ad71";
};
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;
};
}