From fe0b8e32075958ea2832871b914e707b5df978e8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Apr 2026 14:57:29 +0200 Subject: [PATCH] python3Packages.python-obfuscator: 0.0.2 -> 0.1.0 Changelog: https://github.com/davidteather/python-obfuscator/releases/tag/vv0.1.0 --- .../python-obfuscator/default.nix | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/python-obfuscator/default.nix b/pkgs/development/python-modules/python-obfuscator/default.nix index 4f1a8cba456e..af3c6b530e0f 100644 --- a/pkgs/development/python-modules/python-obfuscator/default.nix +++ b/pkgs/development/python-modules/python-obfuscator/default.nix @@ -4,24 +4,30 @@ fetchFromGitHub, pytestCheckHook, regex, - setuptools, + typer, + poetry-core, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "python-obfuscator"; - version = "0.0.2"; + version = "0.1.0"; pyproject = true; src = fetchFromGitHub { owner = "davidteather"; repo = "python-obfuscator"; - tag = "V${version}"; - hash = "sha256-LUD+9vNd1sdigbKG2tm5hE3zLtmor/2LqsIarUWS2Ek="; + tag = "v${finalAttrs.version}"; + hash = "sha256-ddFmlNBtITMPJszLjD2FNjSFF8TrawOv0q7iB3EIdAY="; }; - build-system = [ setuptools ]; + pythonRelaxDeps = [ "typer" ]; - dependencies = [ regex ]; + build-system = [ poetry-core ]; + + dependencies = [ + regex + typer + ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -30,8 +36,8 @@ buildPythonPackage rec { meta = { description = "Module to obfuscate code"; homepage = "https://github.com/davidteather/python-obfuscator"; - changelog = "https://github.com/davidteather/python-obfuscator/releases/tag/${src.tag}"; + changelog = "https://github.com/davidteather/python-obfuscator/releases/tag/v${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})