Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / tomlkit / default.nix
blob94f63be259a6cede58c115d36fd4394f41c19213
1 { lib
2 , buildPythonPackage
3 , fetchPypi
5 # build-system
6 , poetry-core
8 # tests
9 , pytestCheckHook
10 , pyyaml
13 buildPythonPackage rec {
14   pname = "tomlkit";
15   version = "0.12.4";
16   format = "pyproject";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-fKHPwSIygGUXqFFQR7pmoZNp5x7fJDnQ9YJPkQMrbMM=";
21   };
23   nativeBuildInputs = [
24     poetry-core
25   ];
27   nativeCheckInputs = [
28     pyyaml
29     pytestCheckHook
30   ];
32   pythonImportsCheck = [ "tomlkit" ];
34   meta = with lib; {
35     homepage = "https://github.com/sdispater/tomlkit";
36     changelog = "https://github.com/sdispater/tomlkit/blob/${version}/CHANGELOG.md";
37     description = "Style-preserving TOML library for Python";
38     license = licenses.mit;
39     maintainers = with maintainers; [ jakewaksbaum ];
40   };