Merge pull request #137313 from airwoodix/add-python-wavedrom

pythonPackages.wavedrom: init at 2.0.3.post2
This commit is contained in:
Sandro 2021-09-11 15:01:05 +02:00 committed by GitHub
commit eeacb453f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 61 additions and 0 deletions

View File

@ -354,6 +354,12 @@
githubId = 4732885;
name = "Ivan Jager";
};
airwoodix = {
email = "airwoodix@posteo.me";
github = "airwoodix";
githubId = 44871469;
name = "Etienne Wodey";
};
ajs124 = {
email = "nix@ajs124.de";
github = "ajs124";

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

@ -9349,6 +9349,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 { };