summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-02-14 13:38:36 +0100
committerGitHub <noreply@github.com>2022-02-14 13:38:36 +0100
commit3c583540a8f68f4fbd2fb660b20a467e90f20519 (patch)
tree00731f1ef1f082d44ecaed732121be15c7e772c8
parentcf266b999fb0227cdf037ab6a56097149ef2e8d6 (diff)
downloadnixpkgs-3c583540a8f68f4fbd2fb660b20a467e90f20519.tar
nixpkgs-3c583540a8f68f4fbd2fb660b20a467e90f20519.tar.gz
nixpkgs-3c583540a8f68f4fbd2fb660b20a467e90f20519.tar.bz2
nixpkgs-3c583540a8f68f4fbd2fb660b20a467e90f20519.tar.lz
nixpkgs-3c583540a8f68f4fbd2fb660b20a467e90f20519.tar.xz
nixpkgs-3c583540a8f68f4fbd2fb660b20a467e90f20519.tar.zst
nixpkgs-3c583540a8f68f4fbd2fb660b20a467e90f20519.zip
python3Packages.xxh: limit the supported Python releases
-rw-r--r--pkgs/tools/networking/xxh/default.nix23
1 files changed, 19 insertions, 4 deletions
diff --git a/pkgs/tools/networking/xxh/default.nix b/pkgs/tools/networking/xxh/default.nix
index d86f1897eeb..386b8cafbd1 100644
--- a/pkgs/tools/networking/xxh/default.nix
+++ b/pkgs/tools/networking/xxh/default.nix
@@ -1,8 +1,19 @@
-{ lib, fetchFromGitHub, buildPythonApplication, pexpect, pyyaml, openssh, nixosTests }:
+{ lib
+, fetchFromGitHub
+, buildPythonApplication
+, pexpect
+, pyyaml
+, openssh
+, nixosTests
+, pythonOlder
+}:
 
 buildPythonApplication rec{
   pname = "xxh";
   version = "0.8.9";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.6";
 
   src = fetchFromGitHub {
     owner = pname;
@@ -11,16 +22,20 @@ buildPythonApplication rec{
     hash = "sha256-Uo7xFwE9e5MFWDlNWq15kg+4xf/hF4WGUNTpTK+rgVg=";
   };
 
-  propagatedBuildInputs = [ pexpect pyyaml openssh ];
+  propagatedBuildInputs = [
+    pexpect
+    pyyaml
+    openssh
+  ];
 
   passthru.tests = {
     inherit (nixosTests) xxh;
   };
 
   meta = with lib; {
-    description = "Bring your favorite shell wherever you go through ssh";
+    description = "Bring your favorite shell wherever you go through SSH";
     homepage = "https://github.com/xxh/xxh";
     license = licenses.bsd2;
-    maintainers = [ maintainers.pasqui23 ];
+    maintainers = with maintainers; [ pasqui23 ];
   };
 }