libfmvoice: 0-unstable-2024-11-08 -> 0-unstable-2024-12-11 (#364919)
[NixPkgs.git] / pkgs / by-name / tu / tunnelgraf / package.nix
blob08086fc9180741dd6139f8309f77cfab0c6cede4
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "tunnelgraf";
9   version = "0.7.2";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "denniswalker";
14     repo = "tunnelgraf";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-pwHP9eAf2S08ucUawxrQvzMBJNITxbddoLzEoSNUdao=";
17   };
19   pythonRelaxDeps = [
20     "click"
21     "paramiko"
22     "pydantic"
23   ];
25   build-system = with python3.pkgs; [ hatchling ];
27   dependencies = with python3.pkgs; [
28     click
29     deepmerge
30     paramiko
31     pydantic
32     python-hosts
33     pyyaml
34     sshtunnel
35   ];
37   # Project has no tests
38   doCheck = false;
40   pythonImportsCheck = [ "tunnelgraf" ];
42   meta = with lib; {
43     description = "Tool to manage SSH tunnel hops to many endpoints";
44     homepage = "https://github.com/denniswalker/tunnelgraf";
45     changelog = "https://github.com/denniswalker/tunnelgraf/releases/tag/v${version}";
46     license = licenses.mit;
47     maintainers = with maintainers; [ fab ];
48     mainProgram = "tunnelgraf";
49   };