Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
783 B
Nix
43 lines
783 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";
|
|
};
|
|
}
|