From 0db7ab3a741e03c2d91f16b3e0696ab68663c0bc Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Mon, 31 Jul 2023 12:05:58 -0700 Subject: [PATCH] python3.pkgs.liquidctl: add build dependencies --- pkgs/development/python-modules/liquidctl/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/liquidctl/default.nix b/pkgs/development/python-modules/liquidctl/default.nix index 6739d2ed13c1..e4c0e6f955cd 100644 --- a/pkgs/development/python-modules/liquidctl/default.nix +++ b/pkgs/development/python-modules/liquidctl/default.nix @@ -4,6 +4,8 @@ , pythonOlder , installShellFiles , setuptools +, setuptools-scm +, wheel , docopt , hidapi , pyusb @@ -29,9 +31,13 @@ buildPythonPackage rec { hash = "sha256-0QjgnTxqB50JNjSUAgBrGyhN2XC/TDYiC1tvhw1Bl1M="; }; + env.SETUPTOOLS_SCM_PRETEND_VERSION = version; + nativeBuildInputs = [ installShellFiles setuptools + setuptools-scm + wheel ]; propagatedBuildInputs = [