diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2024-05-01 00:52:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 00:52:50 +0200 |
commit | 7427f1b8681ed6971c5734e1cfea3fdc387e61f1 (patch) | |
tree | d117711f77dcd640588bb9630a32fc1f81f63d35 /pkgs/by-name/wi | |
parent | 7a9817cd256c6ac7aa3e99cea85b376f48d50711 (diff) | |
parent | 55c4ae6984221c0902084f7345888f1b598c2247 (diff) |
Merge pull request #304227 from pinpox/init-wireviz
wireviz: init at 0.3.2
Diffstat (limited to 'pkgs/by-name/wi')
-rw-r--r-- | pkgs/by-name/wi/wireviz/package.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/by-name/wi/wireviz/package.nix b/pkgs/by-name/wi/wireviz/package.nix new file mode 100644 index 0000000000000..99cb3702680ee --- /dev/null +++ b/pkgs/by-name/wi/wireviz/package.nix @@ -0,0 +1,36 @@ +{ lib +, python3 +, fetchPypi +}: + +python3.pkgs.buildPythonApplication rec { + pname = "wireviz"; + version = "0.3.2"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-MBgX7dWOr3SorOJQjVlRGlSvL+A7Lg+gC1UoS3un9rU="; + }; + + nativeBuildInputs = [ + python3.pkgs.setuptools + python3.pkgs.wheel + ]; + + propagatedBuildInputs = with python3.pkgs; [ + graphviz + pillow + pyyaml + ]; + + pythonImportsCheck = [ "wireviz" ]; + + 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"; + }; +} |