mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
41 lines
776 B
Nix
41 lines
776 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
# build-system
|
|
poetry-core,
|
|
|
|
# tests
|
|
pytestCheckHook,
|
|
pyyaml,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tomlkit";
|
|
version = "0.13.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-//X+WahylbJ4q9Mb7JLBXZvEoGiFqxK86lLHERk5Lnk=";
|
|
};
|
|
|
|
build-system = [ 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 ];
|
|
};
|
|
}
|