587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
41 lines
779 B
Nix
41 lines
779 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
|
|
# build-system
|
|
, poetry-core
|
|
|
|
# tests
|
|
, pytestCheckHook
|
|
, pyyaml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tomlkit";
|
|
version = "0.12.4";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-fKHPwSIygGUXqFFQR7pmoZNp5x7fJDnQ9YJPkQMrbMM=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|