xxh: modernize

This commit is contained in:
Fabian Affolter
2026-01-14 08:50:01 +01:00
parent ad64021dc6
commit 15ff447455
+11 -9
View File
@@ -5,7 +5,8 @@
openssh,
nixosTests,
}:
python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "xxh";
version = "0.8.14";
pyproject = true;
@@ -13,19 +14,19 @@ python3.pkgs.buildPythonApplication rec {
src = fetchFromGitHub {
owner = "xxh";
repo = "xxh";
tag = version;
tag = finalAttrs.version;
hash = "sha256-Y1yTn0lZemQgWsW9wlW+aNndyTXGo46PCbCl0TGYspQ=";
};
build-system = [
python3.pkgs.setuptools
];
build-system = with python3.pkgs; [ setuptools ];
dependencies = [
python3.pkgs.pexpect
python3.pkgs.pyyaml
openssh
];
]
++ (with python3.pkgs; [
pexpect
pyyaml
]);
passthru.tests = {
inherit (nixosTests) xxh;
@@ -34,7 +35,8 @@ python3.pkgs.buildPythonApplication rec {
meta = {
description = "Bring your favorite shell wherever you go through SSH";
homepage = "https://github.com/xxh/xxh";
changelog = "https://github.com/xxh/xxh/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ pasqui23 ];
};
}
})