From 17fbef8573bedf711fd56ee830869b32df173eca Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Fri, 18 Sep 2026 15:57:10 +0200 Subject: [PATCH] python3Packages.twomemo: remove explicit strictDeps, modernize --- pkgs/development/python-modules/twomemo/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/twomemo/default.nix b/pkgs/development/python-modules/twomemo/default.nix index bd5ee3c82763..1199c602536f 100644 --- a/pkgs/development/python-modules/twomemo/default.nix +++ b/pkgs/development/python-modules/twomemo/default.nix @@ -11,7 +11,7 @@ typing-extensions, xmlschema, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "twomemo"; version = "2.1.0"; pyproject = true; @@ -19,12 +19,10 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Syndace"; repo = "python-twomemo"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-OVZmssJuufKwyEd8q25h9AcDprZZPm588khncBqTaJA="; }; - strictDeps = true; - build-system = [ setuptools ]; dependencies = [ @@ -47,9 +45,9 @@ buildPythonPackage rec { meta = { description = "Backend implementation of the urn:xmpp:omemo:2 namespace for python-omemo"; homepage = "https://github.com/Syndace/python-twomemo"; - changelog = "https://github.com/Syndace/python-twomemo/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/Syndace/python-twomemo/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; teams = with lib.teams; [ ngi ]; maintainers = with lib.maintainers; [ themadbit ]; }; -} +})