todoman: add setuptools-scm dependency

This commit is contained in:
D Anzorge 2021-04-20 00:17:29 +02:00
parent 70673680e8
commit 57d549edde

View File

@ -6,7 +6,7 @@
}: }:
let let
inherit (python3.pkgs) buildPythonApplication fetchPypi; inherit (python3.pkgs) buildPythonApplication fetchPypi setuptools-scm;
in in
buildPythonApplication rec { buildPythonApplication rec {
pname = "todoman"; pname = "todoman";
@ -17,8 +17,11 @@ buildPythonApplication rec {
sha256 = "e7e5cab13ecce0562b1f13f46ab8cbc079caed4b462f2371929f8a4abff2bcbe"; sha256 = "e7e5cab13ecce0562b1f13f46ab8cbc079caed4b462f2371929f8a4abff2bcbe";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
setuptools-scm
]; ];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
atomicwrites atomicwrites