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

26 lines
534 B
Nix
Raw Normal View History

2017-12-30 15:45:52 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, unidecode
}:
buildPythonPackage rec {
pname = "pyaml";
2019-02-14 08:37:25 +01:00
version = "18.11.0";
2017-12-30 15:45:52 +01:00
src = fetchPypi {
inherit pname version;
2019-02-14 08:37:25 +01:00
sha256 = "b96292cc409e0f222b6fecff96afd2e19cfab5d1f2606344907751d42301263a";
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;
};
}