Files
nixpkgs/pkgs/development/python-modules/pyaml/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

36 lines
700 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pyyaml,
unidecode,
}:
buildPythonPackage rec {
pname = "pyaml";
version = "24.7.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-XQ/fnmgQNvsmOng9Apj8OvWApuKmzxozFP/EjcPZHMs=";
};
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 = [ ];
};
}