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