python3Packages.xxh: limit the supported Python releases

This commit is contained in:
Fabian Affolter 2022-02-14 13:38:36 +01:00 committed by GitHub
parent cf266b999f
commit 3c583540a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
};
}