2022-01-01 21:16:13 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonApplication, pexpect, pyyaml, openssh, nixosTests }:
|
2021-11-25 16:57:45 +00:00
|
|
|
|
2021-11-23 21:32:31 +00:00
|
|
|
buildPythonApplication rec{
|
|
|
|
pname = "xxh";
|
2022-01-01 20:49:11 +00:00
|
|
|
version = "0.8.8";
|
2021-11-25 16:57:45 +00:00
|
|
|
|
2021-11-23 21:32:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-01-01 20:49:11 +00:00
|
|
|
hash = "sha256-TzC8GTDmnYN56Rp5DyZxh+yGrkgWr6Xt86a/jyB3j5k=";
|
2021-11-23 21:32:31 +00:00
|
|
|
};
|
2021-11-25 16:57:45 +00:00
|
|
|
|
2021-11-23 21:32:31 +00:00
|
|
|
propagatedBuildInputs = [ pexpect pyyaml openssh ];
|
2021-11-25 16:57:45 +00:00
|
|
|
|
2022-01-01 21:16:13 +00:00
|
|
|
passthru.tests = {
|
|
|
|
inherit (nixosTests) xxh;
|
|
|
|
};
|
|
|
|
|
2021-11-23 21:32:31 +00:00
|
|
|
meta = with lib; {
|
2021-11-28 14:41:30 +00:00
|
|
|
description = "Bring your favorite shell wherever you go through ssh";
|
2021-11-23 21:32:31 +00:00
|
|
|
homepage = "https://github.com/xxh/xxh";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.pasqui23 ];
|
|
|
|
};
|
|
|
|
}
|