Merge pull request #304227 from pinpox/init-wireviz
wireviz: init at 0.3.2
This commit is contained in:
commit
7427f1b868
36
pkgs/by-name/wi/wireviz/package.nix
Normal file
36
pkgs/by-name/wi/wireviz/package.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user