1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5
6 # build-system
7 poetry-core,
8
9 # tests
10 pytestCheckHook,
11 pyyaml,
12}:
13
14buildPythonPackage rec {
15 pname = "tomlkit";
16 version = "0.13.3";
17 pyproject = true;
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-QwzyR+5X3yuU7j++WI5x02KpQeu1Rd7Cm1OWHWGt0qE=";
22 };
23
24 build-system = [ poetry-core ];
25
26 nativeCheckInputs = [
27 pyyaml
28 pytestCheckHook
29 ];
30
31 pythonImportsCheck = [ "tomlkit" ];
32
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 };
40}