diff options
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/djlint/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/tools/djlint/default.nix b/pkgs/development/tools/djlint/default.nix index 27d66f6dd42cb..cbba45b686b90 100644 --- a/pkgs/development/tools/djlint/default.nix +++ b/pkgs/development/tools/djlint/default.nix @@ -11,12 +11,17 @@ python3.pkgs.buildPythonApplication rec { src = fetchFromGitHub { owner = "Riverside-Healthcare"; repo = "djlint"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-p9RIzX9zoZxBrhiNaIeCX9OgfQm/lXNwYsh6IcsnIVk="; }; - nativeBuildInputs = [ - python3.pkgs.poetry-core + nativeBuildInputs = with python3.pkgs; [ + poetry-core + pythonRelaxDepsHook + ]; + + pythonRelaxDeps = [ + "pathspec" ]; propagatedBuildInputs = with python3.pkgs; [ |