pythonPackages.wavedrom: init at 2.0.3.post2

This commit is contained in:
Etienne Wodey 2021-09-10 21:38:20 +02:00
parent 1fcb91f1a3
commit b0555f0187
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,53 @@
{ lib
, buildPythonPackage
, fetchPypi
, attrdict
, cairosvg
, pillow
, pytestCheckHook
, setuptools-scm
, six
, svgwrite
, xmldiff
}:
buildPythonPackage rec {
pname = "wavedrom";
version = "2.0.3.post2";
src = fetchPypi {
inherit pname version;
sha256 = "239b3435ff116b09007d5517eed755fc8591891b7271a1cd40db9e400c02448d";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
attrdict
svgwrite
six
];
checkInputs = [
pytestCheckHook
xmldiff
pillow
cairosvg
];
disabledTests = [
"test_upstream" # requires to clone a full git repository
];
pythonImportsCheck = [ "wavedrom" ];
meta = {
description = "WaveDrom compatible Python command line";
homepage = "https://github.com/wallento/wavedrompy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ airwoodix ];
};
}

View File

@ -9347,6 +9347,8 @@ in {
waterfurnace = callPackage ../development/python-modules/waterfurnace { };
wavedrom = callPackage ../development/python-modules/wavedrom { };
WazeRouteCalculator = callPackage ../development/python-modules/WazeRouteCalculator { };
wcmatch = callPackage ../development/python-modules/wcmatch { };