forked from mirrors/nixpkgs
python3Packages.rpcq: init at 3.9.2
This commit is contained in:
parent
74132a11cc
commit
44cfa2dc00
53
pkgs/development/python-modules/rpcq/default.nix
Normal file
53
pkgs/development/python-modules/rpcq/default.nix
Normal file
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, msgpack
|
||||
, numpy
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, python-rapidjson
|
||||
, pythonOlder
|
||||
, pyzmq
|
||||
, ruamel-yaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rpcq";
|
||||
version = "3.9.2";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rigetti";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1vvf6y7459f8aamhkcxx36ajiai143s2vwg751x0dl0lx7hp3yn5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
msgpack
|
||||
python-rapidjson
|
||||
pyzmq
|
||||
ruamel-yaml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
numpy
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "msgpack>=0.6,<1.0" "msgpack"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "rpcq" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The RPC framework and message specification for rigetti Quantum Cloud services";
|
||||
homepage = "https://github.com/rigetti/rpcq";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1465,6 +1465,8 @@ in {
|
|||
|
||||
cirq-google = callPackage ../development/python-modules/cirq-google { };
|
||||
|
||||
cirq-rigetti = callPackage ../development/python-modules/cirq-rigetti { };
|
||||
|
||||
cirq-pasqal = callPackage ../development/python-modules/cirq-pasqal { };
|
||||
|
||||
cirq-web = callPackage ../development/python-modules/cirq-web { };
|
||||
|
@ -7918,6 +7920,8 @@ in {
|
|||
|
||||
routes = callPackage ../development/python-modules/routes { };
|
||||
|
||||
rpcq = callPackage ../development/python-modules/rpcq { };
|
||||
|
||||
rpdb = callPackage ../development/python-modules/rpdb { };
|
||||
|
||||
rply = callPackage ../development/python-modules/rply { };
|
||||
|
|
Loading…
Reference in a new issue