7d542a9f98
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
38 lines
761 B
Nix
38 lines
761 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
, openssh
|
|
, nixosTests
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec{
|
|
pname = "xxh";
|
|
version = "0.8.12";
|
|
format = "setuptools";
|
|
|
|
disabled = python3.pkgs.pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-3/AU2o72X7FE11NSXC6m9fFhmjzEDZ+OpTXg8yvv62A=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
python3.pkgs.pexpect
|
|
python3.pkgs.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 ];
|
|
};
|
|
}
|