2024-04-15 09:43:07 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "wireviz";
|
2024-07-19 03:54:09 +00:00
|
|
|
version = "0.4.1";
|
2024-04-15 09:43:07 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-19 03:54:09 +00:00
|
|
|
hash = "sha256-DiWtjC46Jpp91Kf0Xk6NME234EMrGEOmIKz6a+cFcOE=";
|
2024-04-15 09:43:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
python3.pkgs.setuptools
|
|
|
|
python3.pkgs.wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2024-07-03 00:31:45 +00:00
|
|
|
click
|
2024-04-15 09:43:07 +00:00
|
|
|
graphviz
|
|
|
|
pillow
|
|
|
|
pyyaml
|
|
|
|
];
|
|
|
|
|
2024-07-03 00:31:45 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"wireviz"
|
|
|
|
"wireviz.wireviz"
|
|
|
|
"wireviz.wv_cli"
|
|
|
|
];
|
2024-04-15 09:43:07 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Easily document cables and wiring harnesses";
|
|
|
|
homepage = "https://pypi.org/project/wireviz/";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ pinpox ];
|
|
|
|
mainProgram = "wireviz";
|
|
|
|
};
|
|
|
|
}
|