1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 fetchpatch,
6 pythonOlder,
7 setuptools,
8 versioningit,
9 wheel,
10 numpy,
11 matplotlib,
12 schema,
13 hypothesis,
14 pytestCheckHook,
15}:
16
17buildPythonPackage rec {
18 pname = "broadbean";
19 version = "0.14.0";
20 format = "pyproject";
21
22 disabled = pythonOlder "3.7";
23
24 src = fetchPypi {
25 inherit pname version;
26 hash = "sha256-v+Ov6mlSnaJG98ooA9AhPGJflrFafKQoO5wi+PxcZVw=";
27 };
28
29 nativeBuildInputs = [
30 setuptools
31 versioningit
32 wheel
33 ];
34
35 propagatedBuildInputs = [
36 numpy
37 matplotlib
38 schema
39 ];
40
41 nativeCheckInputs = [
42 hypothesis
43 pytestCheckHook
44 ];
45
46 disabledTests = [
47 # on a 200ms deadline
48 "test_points"
49 ];
50
51 pythonImportsCheck = [ "broadbean" ];
52
53 meta = {
54 homepage = "https://qcodes.github.io/broadbean";
55 description = "A library for making pulses that can be leveraged with QCoDeS";
56 license = lib.licenses.mit;
57 maintainers = with lib.maintainers; [ evilmav ];
58 };
59}