depot/third_party/nixpkgs/pkgs/development/python-modules/tomlkit/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

40 lines
785 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# build-system
poetry-core,
# tests
pytestCheckHook,
pyyaml,
}:
buildPythonPackage rec {
pname = "tomlkit";
version = "0.12.5";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-7vNPujmDTU1rc8m6fz5NHEF6Tlb4mn6W4JDdDSS4+zw=";
};
nativeBuildInputs = [ poetry-core ];
nativeCheckInputs = [
pyyaml
pytestCheckHook
];
pythonImportsCheck = [ "tomlkit" ];
meta = with lib; {
homepage = "https://github.com/sdispater/tomlkit";
changelog = "https://github.com/sdispater/tomlkit/blob/${version}/CHANGELOG.md";
description = "Style-preserving TOML library for Python";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
};
}