depot/third_party/nixpkgs/pkgs/development/python-modules/wavedrom/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

56 lines
975 B
Nix

{
lib,
attrdict,
buildPythonPackage,
cairosvg,
fetchPypi,
pillow,
pytestCheckHook,
pyyaml,
setuptools-scm,
six,
svgwrite,
xmldiff,
}:
buildPythonPackage rec {
pname = "wavedrom";
version = "2.0.3.post3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-MntNXcpZPIElfCAv6lFvepCHR/sRUnw1nwNPW3r39Hs=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
attrdict
pyyaml
svgwrite
six
];
nativeCheckInputs = [
cairosvg
pillow
pytestCheckHook
xmldiff
];
disabledTests = [
# Requires to clone a full git repository
"test_upstream"
];
pythonImportsCheck = [ "wavedrom" ];
meta = with lib; {
description = "WaveDrom compatible Python command line";
mainProgram = "wavedrompy";
homepage = "https://github.com/wallento/wavedrompy";
license = licenses.mit;
maintainers = with maintainers; [ airwoodix ];
};
}