diff --git a/pkgs/applications/misc/khard/default.nix b/pkgs/applications/misc/khard/default.nix index 3bec8db06874..64e41eaa3d25 100644 --- a/pkgs/applications/misc/khard/default.nix +++ b/pkgs/applications/misc/khard/default.nix @@ -1,4 +1,4 @@ -{ lib, glibcLocales, python3 }: +{ lib, python3 }: python3.pkgs.buildPythonApplication rec { version = "0.17.0"; @@ -9,6 +9,11 @@ python3.pkgs.buildPythonApplication rec { sha256 = "062nv4xkfsjc11k9m52dh6xjn9z68a4a6x1s8z05wwv4jbp1lkhn"; }; + SETUPTOOLS_SCM_PRETEND_VERSION = version; + nativeBuildInputs = [ + python3.pkgs.setuptools-scm + ]; + propagatedBuildInputs = with python3.pkgs; [ atomicwrites configobj