pythonPackages.tomli: init at 1.0.4

This commit is contained in:
Vincent Haupert 2021-07-19 16:39:43 +02:00
parent fc98ebad15
commit 0377ed903a
No known key found for this signature in database
GPG key ID: A8B605E96F82B4E4
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pytestCheckHook
, python-dateutil
}:
buildPythonPackage rec {
pname = "tomli";
version = "1.0.4";
format = "pyproject";
src = fetchFromGitHub {
owner = "hukkin";
repo = pname;
rev = version;
sha256 = "sha256-ld0PsYnxVH3RbLG/NpvLDj9UhAe+QgwCQVXgGgqh8kE=";
};
nativeBuildInputs = [ flit-core ];
checkInputs = [
pytestCheckHook
python-dateutil
];
pythonImportsCheck = [ "tomli" ];
meta = with lib; {
description = "A Python library for parsing TOML, fully compatible with TOML v1.0.0";
homepage = "https://github.com/hukkin/tomli";
license = licenses.mit;
maintainers = with maintainers; [ veehaitch ];
};
}

View file

@ -8689,6 +8689,8 @@ in {
toml = callPackage ../development/python-modules/toml { };
tomli = callPackage ../development/python-modules/tomli { };
tomlkit = callPackage ../development/python-modules/tomlkit { };
toolz = callPackage ../development/python-modules/toolz { };