Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 47 lines 862 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, setuptools 6, versioningit 7, numpy 8, matplotlib 9, schema 10, hypothesis 11, pytestCheckHook 12}: 13 14buildPythonPackage rec { 15 pname = "broadbean"; 16 version = "0.11.0"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 sha256 = "sha256-e+LAcmWxT+SkaWtToPgg+x3QRu5fCSm+w4dLCcyZrw8="; 24 }; 25 26 nativeBuildInputs = [ setuptools versioningit ]; 27 28 propagatedBuildInputs = [ 29 numpy 30 matplotlib 31 schema 32 ]; 33 34 nativeCheckInputs = [ 35 hypothesis 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ "broadbean" ]; 40 41 meta = { 42 homepage = "https://qcodes.github.io/broadbean"; 43 description = "A library for making pulses that can be leveraged with QCoDeS"; 44 license = lib.licenses.mit; 45 maintainers = with lib.maintainers; [ evilmav ]; 46 }; 47}