From bea9e308a86f80f21ad33bf5fc1a905fcedfddac Mon Sep 17 00:00:00 2001 From: emilylange Date: Sat, 17 Jan 2026 00:00:35 +0100 Subject: [PATCH] python3Packages.aiosendspin: set version --- pkgs/development/python-modules/aiosendspin/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/aiosendspin/default.nix b/pkgs/development/python-modules/aiosendspin/default.nix index 752a8aeaf527..148de20f5905 100644 --- a/pkgs/development/python-modules/aiosendspin/default.nix +++ b/pkgs/development/python-modules/aiosendspin/default.nix @@ -30,6 +30,12 @@ buildPythonPackage rec { hash = "sha256-3vTEfXeFqouPswRKST/9U7yg9ah7J9m2KAMoxaBZNR0="; }; + # https://github.com/Sendspin/aiosendspin/blob/1.2.0/pyproject.toml#L7 + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'version = "0.0.0"' 'version = "${version}"' + ''; + build-system = [ setuptools ];