f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
41 lines
778 B
Nix
41 lines
778 B
Nix
{ lib
|
|
, python3
|
|
, fetchPypi
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "wireviz";
|
|
version = "0.4.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-DiWtjC46Jpp91Kf0Xk6NME234EMrGEOmIKz6a+cFcOE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
python3.pkgs.setuptools
|
|
python3.pkgs.wheel
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
click
|
|
graphviz
|
|
pillow
|
|
pyyaml
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"wireviz"
|
|
"wireviz.wireviz"
|
|
"wireviz.wv_cli"
|
|
];
|
|
|
|
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";
|
|
};
|
|
}
|