python312Packages.toml-adapt: refactor

This commit is contained in:
Fabian Affolter 2024-03-20 08:27:41 +01:00 committed by GitHub
parent 0ec9d7e65e
commit 1f3a7e4192
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";
}; };
} }