9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
47 lines
862 B
Nix
47 lines
862 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, setuptools
|
|
, versioningit
|
|
, numpy
|
|
, matplotlib
|
|
, schema
|
|
, hypothesis
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "broadbean";
|
|
version = "0.11.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-e+LAcmWxT+SkaWtToPgg+x3QRu5fCSm+w4dLCcyZrw8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools versioningit ];
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
matplotlib
|
|
schema
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
hypothesis
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "broadbean" ];
|
|
|
|
meta = {
|
|
homepage = "https://qcodes.github.io/broadbean";
|
|
description = "A library for making pulses that can be leveraged with QCoDeS";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ evilmav ];
|
|
};
|
|
}
|