biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / tomlkit / default.nix
blob85f9ed273b7d536bfb2b4aa4ae057b60aff61059
2   lib,
3   buildPythonPackage,
4   fetchPypi,
6   # build-system
7   poetry-core,
9   # tests
10   pytestCheckHook,
11   pyyaml,
14 buildPythonPackage rec {
15   pname = "tomlkit";
16   version = "0.12.5";
17   format = "pyproject";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-7vNPujmDTU1rc8m6fz5NHEF6Tlb4mn6W4JDdDSS4+zw=";
22   };
24   nativeBuildInputs = [ poetry-core ];
26   nativeCheckInputs = [
27     pyyaml
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [ "tomlkit" ];
33   meta = with lib; {
34     homepage = "https://github.com/sdispater/tomlkit";
35     changelog = "https://github.com/sdispater/tomlkit/blob/${version}/CHANGELOG.md";
36     description = "Style-preserving TOML library for Python";
37     license = licenses.mit;
38     maintainers = with maintainers; [ jakewaksbaum ];
39   };