nixpkgs/pkgs/tools/networking/xxh/default.nix

27 lines
643 B
Nix
Raw Normal View History

2022-01-01 22:16:13 +01:00
{ lib, fetchFromGitHub, buildPythonApplication, pexpect, pyyaml, openssh, nixosTests }:
2021-11-23 22:32:31 +01:00
buildPythonApplication rec{
pname = "xxh";
2022-02-14 11:36:14 +01:00
version = "0.8.9";
2021-11-23 22:32:31 +01:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
2022-02-14 11:36:14 +01:00
hash = "sha256-Uo7xFwE9e5MFWDlNWq15kg+4xf/hF4WGUNTpTK+rgVg=";
2021-11-23 22:32:31 +01:00
};
2021-11-23 22:32:31 +01:00
propagatedBuildInputs = [ pexpect pyyaml openssh ];
2022-01-01 22:16:13 +01:00
passthru.tests = {
inherit (nixosTests) xxh;
};
2021-11-23 22:32:31 +01:00
meta = with lib; {
description = "Bring your favorite shell wherever you go through ssh";
2021-11-23 22:32:31 +01:00
homepage = "https://github.com/xxh/xxh";
license = licenses.bsd2;
maintainers = [ maintainers.pasqui23 ];
};
}