Merge pull request #137313 from airwoodix/add-python-wavedrom
pythonPackages.wavedrom: init at 2.0.3.post2
This commit is contained in:
commit
eeacb453f3
@ -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";
|
||||
|
53
pkgs/development/python-modules/wavedrom/default.nix
Normal file
53
pkgs/development/python-modules/wavedrom/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user