bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
41 lines
742 B
Nix
41 lines
742 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildPythonApplication
|
|
, pexpect
|
|
, pyyaml
|
|
, openssh
|
|
, nixosTests
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonApplication rec{
|
|
pname = "xxh";
|
|
version = "0.8.10";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-2RMzgIAhM//XReCFBGlTlXn9j4WQiM/k2pLxP2iPUy8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pexpect
|
|
pyyaml
|
|
openssh
|
|
];
|
|
|
|
passthru.tests = {
|
|
inherit (nixosTests) xxh;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Bring your favorite shell wherever you go through SSH";
|
|
homepage = "https://github.com/xxh/xxh";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ pasqui23 ];
|
|
};
|
|
}
|