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

34 lines
633 B
Nix
Raw Normal View History

2017-12-30 15:45:52 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, unidecode
}:
buildPythonPackage rec {
pname = "pyaml";
version = "21.10.1";
2017-12-30 15:45:52 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "c6519fee13bf06e3bb3f20cacdea8eba9140385a7c2546df5dbae4887f768383";
2017-12-30 15:45:52 +01:00
};
propagatedBuildInputs = [
pyyaml
];
2017-12-30 15:45:52 +01:00
checkInputs = [
unidecode
];
2017-12-30 15:45:52 +01:00
pythonImportsCheck = [ "pyaml" ];
meta = with lib; {
2017-12-30 15:45:52 +01:00
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; [ ];
2017-12-30 15:45:52 +01:00
};
}