Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / wi / wireviz / package.nix
blobcce72213b66b28674464584540ba580486c0b845
1 { lib
2 , python3
3 , fetchPypi
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "wireviz";
8   version = "0.4.1";
9   pyproject = true;
11   src = fetchPypi {
12     inherit pname version;
13     hash = "sha256-DiWtjC46Jpp91Kf0Xk6NME234EMrGEOmIKz6a+cFcOE=";
14   };
16   nativeBuildInputs = [
17     python3.pkgs.setuptools
18     python3.pkgs.wheel
19   ];
21   propagatedBuildInputs = with python3.pkgs; [
22     click
23     graphviz
24     pillow
25     pyyaml
26   ];
28   pythonImportsCheck = [
29     "wireviz"
30     "wireviz.wireviz"
31     "wireviz.wv_cli"
32   ];
34   meta = with lib; {
35     description = "Easily document cables and wiring harnesses";
36     homepage = "https://pypi.org/project/wireviz/";
37     license = licenses.gpl3Only;
38     maintainers = with maintainers; [ pinpox ];
39     mainProgram = "wireviz";
40   };