Merge pull request #153379 from lovesegfault/tomli-w
python3Packages.tomli-w: init @ 1.0.0
This commit is contained in:
commit
070c242059
2 changed files with 32 additions and 0 deletions
30
pkgs/development/python-modules/tomli-w/default.nix
Normal file
30
pkgs/development/python-modules/tomli-w/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue