about summary refs log tree commit diff
path: root/pkgs/applications/version-management/sourcehut/builds.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/builds.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/builds.nix')
-rw-r--r--pkgs/applications/version-management/sourcehut/builds.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/sourcehut/builds.nix b/pkgs/applications/version-management/sourcehut/builds.nix
index 4831959d0fe0..3eb45eb9e528 100644
--- a/pkgs/applications/version-management/sourcehut/builds.nix
+++ b/pkgs/applications/version-management/sourcehut/builds.nix
@@ -11,6 +11,9 @@
 , lxml
 , python
 , unzip
+, pip
+, pythonOlder
+, setuptools
 }:
 let
   version = "0.86.10";
@@ -39,12 +42,20 @@ in
 buildPythonPackage rec {
   inherit src version;
   pname = "buildsrht";
+  pyproject = true;
+
+  disabled = pythonOlder "3.7";
 
   postPatch = ''
     substituteInPlace Makefile \
       --replace "all: api worker" ""
   '';
 
+  nativeBuildInputs = [
+    pip
+    setuptools
+  ];
+
   propagatedBuildInputs = [
     srht
     redis