Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-03-06 00:38:43 +00:00
committed by GitHub
21 changed files with 170 additions and 32 deletions

View File

@@ -23,7 +23,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Simple Python implementation of the Git file formats and protocols";
homepage = "https://samba.org/~jelmer/dulwich/";
homepage = "https://www.dulwich.io/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ koral ];
};

View File

@@ -27,7 +27,8 @@
buildPythonPackage rec {
pname = "qiskit-aer";
version = "0.7.4";
version = "0.7.6";
format = "pyproject";
disabled = pythonOlder "3.6";
@@ -35,7 +36,7 @@ buildPythonPackage rec {
owner = "Qiskit";
repo = "qiskit-aer";
rev = version;
sha256 = "sha256-o6c1ZcGFZ3pwinzMTif1nqF29Wq0Nog1++ZoJGuiKxo=";
sha256 = "0595as4rxjrd5dqx54ywz3rjsjk0z7r41bq0z9r8y1h7zgvvlrmn";
};
nativeBuildInputs = [
@@ -64,6 +65,7 @@ buildPythonPackage rec {
substituteInPlace setup.py --replace "'cmake!=3.17,!=3.17.0'," ""
'';
# Disable using conan for build
preBuild = ''
export DISABLE_CONAN=1
'';

View File

@@ -22,6 +22,7 @@
, nbconvert
, nbformat
, pproxy
, qiskit-aer
, vcrpy
}:
@@ -38,7 +39,7 @@ let
in
buildPythonPackage rec {
pname = "qiskit-ibmq-provider";
version = "0.11.1";
version = "0.12.1";
disabled = pythonOlder "3.6";
@@ -46,7 +47,7 @@ buildPythonPackage rec {
owner = "Qiskit";
repo = pname;
rev = version;
sha256 = "0b5mnq8f5844idnsmp84lpkvlpszfwwi998yvggcgaayw1dbk53h";
sha256 = "1i5dj5dl0hxqd61bdflyy6yq958fj9qhf6s6m40n1vnql7g50gdx";
};
propagatedBuildInputs = [
@@ -64,6 +65,7 @@ buildPythonPackage rec {
nbconvert
nbformat
pproxy
qiskit-aer
vcrpy
] ++ lib.optionals (!withVisualization) visualizationPackages;

View File

@@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "qiskit";
# NOTE: This version denotes a specific set of subpackages. See https://qiskit.org/documentation/release_notes.html#version-history
version = "0.23.5";
version = "0.24.0";
disabled = pythonOlder "3.6";
@@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "qiskit";
repo = "qiskit";
rev = version;
sha256 = "sha256-qtMFztAeqNz0FSgQnOOrvAdPcbUCAal7KrVmpNvvBiY=";
sha256 = "1b78q75bi666v0yj33bkjlc40d2172dsq5yp1s2kkisjfa8qmh7h";
};
propagatedBuildInputs = [

View File

@@ -1,39 +1,41 @@
{ lib
, buildPythonPackage
, pythonOlder
, rustPlatform
, fetchFromGitHub
# Check inputs
, pytestCheckHook
, networkx
, numpy
}:
buildPythonPackage rec {
pname = "retworkx";
version = "0.6.0";
version = "0.8.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "Qiskit";
repo = "retworkx";
rev = version;
sha256 = "11n30ldg3y3y6qxg3hbj837pnbwjkqw3nxq6frds647mmmprrd20";
sha256 = "0plpri6a3d6f1000kmcah9066vq2i37d14bdf8sm96493fhpqhrd";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-heOBK8qi2nuc/Ib+I/vLzZ1fUUD/G/KTw9d7M4Hz5O0=";
hash = "sha256-+k779gmge8wDdoZrWn9ND47kUqt7pqe75Zuj2Byfefo=";
};
format = "pyproject";
nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ];
# Needed b/c need to check AFTER python wheel is installed (using Rust Build, not buildPythonPackage)
doCheck = false;
doInstallCheck = true;
installCheckInputs = [ pytestCheckHook numpy ];
installCheckInputs = [ pytestCheckHook networkx numpy ];
preCheck = ''
export TESTDIR=$(mktemp -d)

View File

@@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, oauthlib
, pytestCheckHook
, pytz
, requests
, requests-mock
, requests_oauthlib
}:
buildPythonPackage rec {
pname = "ring-doorbell";
version = "0.7.0";
disabled = !isPy3k;
src = fetchPypi {
pname = "ring_doorbell";
inherit version;
sha256 = "1qnx9q9rzxhh0pygl3f9bg21b5zv7csv9h1w4zngdvsphbs0yiwg";
};
propagatedBuildInputs = [
oauthlib
pytz
requests
requests_oauthlib
];
checkInputs = [
pytestCheckHook
requests-mock
];
pythonImportsCheck = [ "ring_doorbell" ];
meta = with lib; {
homepage = "https://github.com/tchellomello/python-ring-doorbell";
description = "A Python library to communicate with Ring Door Bell (https://ring.com/)";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ graham33 ];
};
}