From df43c66a753f7608fba5f125328b0912a2f4ba9d Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Tue, 23 Jul 2024 08:03:03 +0200 Subject: [PATCH] sqlite3-to-mysql: refactor to new PEP build standard Signed-off-by: Florian Brandes --- pkgs/tools/misc/sqlite3-to-mysql/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/misc/sqlite3-to-mysql/default.nix b/pkgs/tools/misc/sqlite3-to-mysql/default.nix index 195e4c267f7e..feacf796caaa 100644 --- a/pkgs/tools/misc/sqlite3-to-mysql/default.nix +++ b/pkgs/tools/misc/sqlite3-to-mysql/default.nix @@ -16,16 +16,16 @@ python3Packages.buildPythonApplication rec { src = fetchFromGitHub { owner = "techouse"; - repo = pname; + repo = "sqlite3-to-mysql"; rev = "refs/tags/v${version}"; hash = "sha256-pdPKP6Z4rOHUzxrfTft7ykWpCQBHN+FfndafXHyL+0Y="; }; - nativeBuildInputs = with python3Packages; [ + build-system = with python3Packages; [ hatchling ]; - propagatedBuildInputs = with python3Packages; [ + dependencies = with python3Packages; [ click mysql-connector pytimeparse2 @@ -59,11 +59,11 @@ python3Packages.buildPythonApplication rec { }; }; - meta = with lib; { + meta = { description = "Simple Python tool to transfer data from SQLite 3 to MySQL"; homepage = "https://github.com/techouse/sqlite3-to-mysql"; - license = licenses.mit; - maintainers = with maintainers; [ gador ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ gador ]; mainProgram = "sqlite3mysql"; }; }