depot/third_party/nixpkgs/pkgs/development/python-modules/pyaml/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

40 lines
728 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, pyyaml
, unidecode
}:
buildPythonPackage rec {
pname = "pyaml";
version = "24.4.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Dkg9kokBDnR6Ml3EMXG8w51lYt0d1HGejMfnyWyZ/OY=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pyyaml
];
nativeCheckInputs = [
unidecode
];
pythonImportsCheck = [ "pyaml" ];
meta = with lib; {
description = "PyYAML-based module to produce pretty and readable YAML-serialized data";
mainProgram = "pyaml";
homepage = "https://github.com/mk-fg/pretty-yaml";
license = licenses.wtfpl;
maintainers = with maintainers; [ ];
};
}