about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/gh/ghunt/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/gh/ghunt/package.nix')
-rw-r--r--nixpkgs/pkgs/by-name/gh/ghunt/package.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/by-name/gh/ghunt/package.nix b/nixpkgs/pkgs/by-name/gh/ghunt/package.nix
index ff4e7340409f..ddd139f38907 100644
--- a/nixpkgs/pkgs/by-name/gh/ghunt/package.nix
+++ b/nixpkgs/pkgs/by-name/gh/ghunt/package.nix
@@ -5,16 +5,23 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "ghunt";
-  version = "2.0.1";
-  format = "setuptools";
+  version = "2.1.0";
+  pyproject = true;
 
   src = fetchFromGitHub {
     owner = "mxrch";
     repo = "ghunt";
     rev = "refs/tags/v${version}";
-    hash = "sha256-7awLKX+1fVbufg3++lUUCZg4p07c2yGeefiPFcE1Ij4=";
+    hash = "sha256-UeHVATTyAH3Xdm/NVSUhiicM+tZ4UnLeJsy1jSLK3v8=";
   };
 
+  pythonRelaxDeps = true;
+
+  nativeBuildInputs = with python3.pkgs; [
+    pythonRelaxDepsHook
+    setuptools
+  ];
+
   propagatedBuildInputs = with python3.pkgs; [
     alive-progress
     autoslot