khard: add setuptools_scm dependency

This commit is contained in:
Gabriel Ebner 2021-04-02 17:09:56 +02:00
parent 1336554e82
commit 092d9d805b

View file

@ -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