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

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

42 lines
742 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, buildPythonApplication
, pexpect
, pyyaml
, openssh
, nixosTests
, pythonOlder
}:
2021-11-23 21:32:31 +00:00
buildPythonApplication rec{
pname = "xxh";
2022-04-05 15:15:26 +00:00
version = "0.8.10";
format = "setuptools";
disabled = pythonOlder "3.6";
2021-11-23 21:32:31 +00:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
2022-04-05 15:15:26 +00:00
hash = "sha256-2RMzgIAhM//XReCFBGlTlXn9j4WQiM/k2pLxP2iPUy8=";
2021-11-23 21:32:31 +00:00
};
propagatedBuildInputs = [
pexpect
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
};
}