about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-03-20 08:27:41 +0100
committerGitHub <noreply@github.com>2024-03-20 08:27:41 +0100
commit1f3a7e4192264ed273f4ea07f61761f4c0d69dfc (patch)
tree65207aaddee268a0070fd48173da5fc16d5a36e1 /pkgs/development
parent0ec9d7e65edf4c03ab32dbda9472b980d4f473b0 (diff)
python312Packages.toml-adapt: refactor
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/toml-adapt/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/toml-adapt/default.nix b/pkgs/development/python-modules/toml-adapt/default.nix
index 20e164052734e..6af7f0940ed20 100644
--- a/pkgs/development/python-modules/toml-adapt/default.nix
+++ b/pkgs/development/python-modules/toml-adapt/default.nix
@@ -11,13 +11,13 @@
 buildPythonPackage rec {
   pname = "toml-adapt";
   version = "0.3.3";
-  format = "pyproject";
+  pyproject = true;
 
   disabled = pythonOlder "3.6";
 
   src = fetchFromGitHub {
     owner = "firefly-cpp";
-    repo = pname;
+    repo = "toml-adapt";
     rev = "refs/tags/${version}";
     hash = "sha256-KD5dTr/wxFbDg3AbfE0jUbgNjvxqDmbHwjY5Dmp6JFI=";
   };
@@ -41,9 +41,10 @@ buildPythonPackage rec {
 
   meta = with lib; {
     description = "A simple Command-line interface for manipulating toml files";
-    mainProgram = "toml-adapt";
     homepage = "https://github.com/firefly-cpp/toml-adapt";
+    changelog = "https://github.com/firefly-cpp/toml-adapt/releases/tag/${version}";
     license = licenses.mit;
     maintainers = with maintainers; [ firefly-cpp ];
+    mainProgram = "toml-adapt";
   };
 }