about summary refs log tree commit diff
path: root/pkgs/applications/version-management/sourcehut/hg.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-12-07 12:01:24 +0000
committerGitHub <noreply@github.com>2023-12-07 12:01:24 +0000
commit860e5725bdfc7307b8257cbf9bf4a87dec978cc8 (patch)
treee410fc29c9dff2d52e1ee6a12f8394b0507bd96b /pkgs/applications/version-management/sourcehut/hg.nix
parent32d842483f3773ec1cde181507bd77b405af046e (diff)
parent4a609ec5d195ed770a1b30fa49ba19a0947cd819 (diff)
downloadnixlib-860e5725bdfc7307b8257cbf9bf4a87dec978cc8.tar
nixlib-860e5725bdfc7307b8257cbf9bf4a87dec978cc8.tar.gz
nixlib-860e5725bdfc7307b8257cbf9bf4a87dec978cc8.tar.bz2
nixlib-860e5725bdfc7307b8257cbf9bf4a87dec978cc8.tar.lz
nixlib-860e5725bdfc7307b8257cbf9bf4a87dec978cc8.tar.xz
nixlib-860e5725bdfc7307b8257cbf9bf4a87dec978cc8.tar.zst
nixlib-860e5725bdfc7307b8257cbf9bf4a87dec978cc8.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/version-management/sourcehut/hg.nix')
-rw-r--r--pkgs/applications/version-management/sourcehut/hg.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/sourcehut/hg.nix b/pkgs/applications/version-management/sourcehut/hg.nix
index f448109a6d7d..6bc266232902 100644
--- a/pkgs/applications/version-management/sourcehut/hg.nix
+++ b/pkgs/applications/version-management/sourcehut/hg.nix
@@ -8,11 +8,17 @@
 , unidiff
 , python
 , unzip
+, pip
+, pythonOlder
+, setuptools
 }:
 
 buildPythonPackage rec {
   pname = "hgsrht";
   version = "0.32.4";
+  pyproject = true;
+
+  disabled = pythonOlder "3.7";
 
   src = fetchFromSourcehut {
     owner = "~sircmpwn";
@@ -49,6 +55,11 @@ buildPythonPackage rec {
     '';
   };
 
+  nativeBuildInputs = [
+    pip
+    setuptools
+  ];
+
   propagatedBuildInputs = [
     python-hglib
     scmsrht