depot/third_party/nixpkgs/pkgs/development/python-modules/tomlkit/default.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

41 lines
779 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
# build-system
, poetry-core
# tests
, pytestCheckHook
, pyyaml
}:
buildPythonPackage rec {
pname = "tomlkit";
version = "0.12.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-OOH/jtuZEnPsn2GBJEpqORrDDp9QmOdTVkDqa+l6fIY=";
};
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 ];
};
}