mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
4af6e0bc5f
error: xxh should use `buildPythonPackage` or `toPythonModule` if it is to be part of the Python pa ckages set."}
39 lines
761 B
Nix
39 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 ];
|
|
};
|
|
}
|