blob: 2a041f5fb4e32d4be1085126117453838967fcf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{
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 = {
description = "WaveDrom compatible Python command line";
mainProgram = "wavedrompy";
homepage = "https://github.com/wallento/wavedrompy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ airwoodix ];
};
}
|