diff options
author | Pablo Ovelleiro Corral <mail@pablo.tools> | 2024-04-15 11:43:07 +0200 |
---|---|---|
committer | Pablo Ovelleiro Corral <mail@pablo.tools> | 2024-04-15 11:44:46 +0200 |
commit | 55c4ae6984221c0902084f7345888f1b598c2247 (patch) | |
tree | 87af5e15facf6abd6020ea3fa28a6d2186695db2 /pkgs/by-name/wi | |
parent | b7ea13261af642a2d4f7a19a8e938c53a946fd47 (diff) |
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"; + }; +} |