nixpkgs/pkgs/by-name/tu/tunnelgraf/package.nix
Martin Weinelt abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00

52 lines
938 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "tunnelgraf";
version = "0.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "denniswalker";
repo = "tunnelgraf";
rev = "refs/tags/v${version}";
hash = "sha256-CsrbSpp1VszEAKpmHx8GbB7vfZCOvB+tDFNFwWKexEw=";
};
pythonRelaxDeps = [
"click"
"pydantic"
];
build-system = with python3.pkgs; [
hatchling
];
dependencies = with python3.pkgs; [
click
deepmerge
paramiko
pydantic
python-hosts
pyyaml
sshtunnel
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"tunnelgraf"
];
meta = with lib; {
description = "Tool to manage SSH tunnel hops to many endpoints";
homepage = "https://github.com/denniswalker/tunnelgraf";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "tunnelgraf";
};
}