python310Packages.toml-adapt: init at 0.2.8
This commit is contained in:
parent
79fce52435
commit
5574eef42c
48
pkgs/development/python-modules/toml-adapt/default.nix
Normal file
48
pkgs/development/python-modules/toml-adapt/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, toml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "toml-adapt";
|
||||
version = "0.2.8";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "firefly-cpp";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-9auZZl6c+EfAO/2QaHW5BI1aDZkIIGU+fwzudIdFWqI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
toml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"toml_adapt"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple Command-line interface for manipulating toml files";
|
||||
homepage = "https://github.com/firefly-cpp/toml-adapt";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ firefly-cpp ];
|
||||
};
|
||||
}
|
@ -10963,6 +10963,8 @@ in {
|
||||
|
||||
toml = callPackage ../development/python-modules/toml { };
|
||||
|
||||
toml-adapt = callPackage ../development/python-modules/toml-adapt { };
|
||||
|
||||
tomli = callPackage ../development/python-modules/tomli { };
|
||||
|
||||
tomli-w = callPackage ../development/python-modules/tomli-w { };
|
||||
|
Loading…
Reference in New Issue
Block a user