nixpkgs/pkgs/by-name/wi/wireviz/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
776 B
Nix
Raw Normal View History

2024-04-15 09:43:07 +00:00
{ lib
, python3
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "wireviz";
2024-07-03 00:31:45 +00:00
version = "0.4";
2024-04-15 09:43:07 +00:00
pyproject = true;
src = fetchPypi {
inherit pname version;
2024-07-03 00:31:45 +00:00
hash = "sha256-lFJG0jkE42h2boCxDzXfWPmKFc2Ycqx598wPhD/jaLM=";
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";
};
}