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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
761 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, python3
, openssh
, nixosTests
}:
python3.pkgs.buildPythonApplication rec{
2021-11-23 21:32:31 +00:00
pname = "xxh";
version = "0.8.12";
format = "setuptools";
disabled = python3.pkgs.pythonOlder "3.6";
2021-11-23 21:32:31 +00:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-3/AU2o72X7FE11NSXC6m9fFhmjzEDZ+OpTXg8yvv62A=";
2021-11-23 21:32:31 +00:00
};
propagatedBuildInputs = [
python3.pkgs.pexpect
python3.pkgs.pyyaml
openssh
];
2022-01-01 21:16:13 +00:00
passthru.tests = {
inherit (nixosTests) xxh;
};
2021-11-23 21:32:31 +00:00
meta = with lib; {
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 = with maintainers; [ pasqui23 ];
2021-11-23 21:32:31 +00:00
};
}