From b9d1f44354bfbde79bcf8b54fa62838de86bfb53 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 18 Dec 2021 14:22:18 +0100 Subject: [PATCH] python2Packages.filelock: use correct version instead of 0.0.0 when setuptools-scm is not used. This broke virtualenv. --- pkgs/development/python-modules/filelock/3.2.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/filelock/3.2.nix b/pkgs/development/python-modules/filelock/3.2.nix index 3929361f7d8c..401fdf582ffb 100644 --- a/pkgs/development/python-modules/filelock/3.2.nix +++ b/pkgs/development/python-modules/filelock/3.2.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, fetchPypi }: +{ lib, buildPythonPackage, fetchPypi, setuptools-scm }: buildPythonPackage rec { pname = "filelock"; @@ -9,6 +9,10 @@ buildPythonPackage rec { sha256 = "1qry67zv2pmz8px6wdfbjqv75nmryy2ac7asqgs6q6db2722kpcw"; }; + nativeBuildInputs = [ + setuptools-scm + ]; + meta = with lib; { homepage = "https://github.com/benediktschmitt/py-filelock"; description = "A platform independent file lock for Python";