depot/third_party/nixpkgs/pkgs/tools/networking/xxh/default.nix
Default email 7d542a9f98 Project import generated by Copybara.
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
2022-12-02 08:20:57 +00:00

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 ];
};
}