nixpkgs/pkgs/tools/networking/xxh/default.nix
Artturin 4af6e0bc5f xxh: remove from pythonPackages set
error: xxh should use `buildPythonPackage` or `toPythonModule` if it is to be part of the Python pa
ckages set."}
2022-11-24 22:32:34 +02: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 ];
};
}