nixpkgs/pkgs/development/python-modules/pyaml/default.nix
2021-11-30 18:52:11 -08:00

34 lines
633 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, unidecode
}:
buildPythonPackage rec {
pname = "pyaml";
version = "21.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "c6519fee13bf06e3bb3f20cacdea8eba9140385a7c2546df5dbae4887f768383";
};
propagatedBuildInputs = [
pyyaml
];
checkInputs = [
unidecode
];
pythonImportsCheck = [ "pyaml" ];
meta = with lib; {
description = "PyYAML-based module to produce pretty and readable YAML-serialized data";
homepage = "https://github.com/mk-fg/pretty-yaml";
license = licenses.wtfpl;
maintainers = with maintainers; [ ];
};
}