2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-01 02:23:54 +00:00
nixpkgs/pkgs/development/python-modules/pyaml/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
633 B
Nix
Raw Normal View History

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