python312Packages.toml-adapt: refactor
This commit is contained in:
parent
0ec9d7e65e
commit
1f3a7e4192
@ -11,13 +11,13 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "toml-adapt";
|
pname = "toml-adapt";
|
||||||
version = "0.3.3";
|
version = "0.3.3";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "firefly-cpp";
|
owner = "firefly-cpp";
|
||||||
repo = pname;
|
repo = "toml-adapt";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-KD5dTr/wxFbDg3AbfE0jUbgNjvxqDmbHwjY5Dmp6JFI=";
|
hash = "sha256-KD5dTr/wxFbDg3AbfE0jUbgNjvxqDmbHwjY5Dmp6JFI=";
|
||||||
};
|
};
|
||||||
@ -41,9 +41,10 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A simple Command-line interface for manipulating toml files";
|
description = "A simple Command-line interface for manipulating toml files";
|
||||||
mainProgram = "toml-adapt";
|
|
||||||
homepage = "https://github.com/firefly-cpp/toml-adapt";
|
homepage = "https://github.com/firefly-cpp/toml-adapt";
|
||||||
|
changelog = "https://github.com/firefly-cpp/toml-adapt/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ firefly-cpp ];
|
maintainers = with maintainers; [ firefly-cpp ];
|
||||||
|
mainProgram = "toml-adapt";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user