Merge pull request #153379 from lovesegfault/tomli-w

python3Packages.tomli-w: init @ 1.0.0
This commit is contained in:
Bernardo Meurer 2022-01-03 20:01:05 +00:00 committed by GitHub
commit 070c242059
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, callPackage
, fetchFromGitHub
, flit-core
}:
buildPythonPackage rec {
pname = "tomli-w";
version = "1.0.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "hukkin";
repo = pname;
rev = version;
sha256 = "sha256-wZSC5uOi1JUeKXIli1I8/Vo0wGsv9Q1I84dAMQQP95w=";
};
nativeBuildInputs = [ flit-core ];
pythonImportsCheck = [ "tomli_w" ];
meta = with lib; {
description = "A write-only counterpart to Tomli, which is a read-only TOML parser";
homepage = "https://github.com/hukkin/tomli-w";
license = licenses.mit;
maintainers = with maintainers; [ lovesegfault ];
};
}

View file

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