mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
route-graph: init at 0.1.0
CLI tool for creating graphs of routes https://github.com/audiusGmbH/route-graph
This commit is contained in:
parent
7b228851ee
commit
83de2bc64b
51
pkgs/by-name/ro/route-graph/package.nix
Normal file
51
pkgs/by-name/ro/route-graph/package.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, graphviz
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "route-graph";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "audiusGmbH";
|
||||
repo = "route-graph";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-+sEtzmQk7pglfs8vQbLCwdVVSBQRVazdDKgwdSH9EtI=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"typing-extensions"
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
graphviz
|
||||
] ++ (with python3.pkgs; [
|
||||
scapy
|
||||
typer
|
||||
typing-extensions
|
||||
] ++ typer.optional-dependencies.all);
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"route_graph"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI tool for creating graphs of routes";
|
||||
homepage = "https://github.com/audiusGmbH/route-graph";
|
||||
changelog = "https://github.com/audiusGmbH/route-graph/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "route-graph";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user