mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Merge pull request #235026 from fabaff/pyquil-bump
python311Packages.pyquil: 3.5.0 -> 3.5.2
This commit is contained in:
commit
7fe5f82a7a
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, deprecated
|
||||
, fetchFromGitHub
|
||||
, importlib-metadata
|
||||
, ipython
|
||||
@ -20,13 +21,15 @@
|
||||
, retry
|
||||
, rpcq
|
||||
, scipy
|
||||
, tenacity
|
||||
, types-deprecated
|
||||
, types-python-dateutil
|
||||
, types-retry
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyquil";
|
||||
version = "3.5.0";
|
||||
version = "3.5.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -35,7 +38,7 @@ buildPythonPackage rec {
|
||||
owner = "rigetti";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Fr9SnAzDHaSKp0AYra/gCZOJ5Fzcx1EO56ahZQZP2Ss=";
|
||||
hash = "sha256-Iarmi3W4OFa72BEZPLJqMZghYMv1UrDERc4yQjchXj8=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@ -49,6 +52,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
deprecated
|
||||
lark
|
||||
networkx
|
||||
numpy
|
||||
@ -56,6 +60,8 @@ buildPythonPackage rec {
|
||||
retry
|
||||
rpcq
|
||||
scipy
|
||||
tenacity
|
||||
types-deprecated
|
||||
types-python-dateutil
|
||||
types-retry
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
|
30
pkgs/development/python-modules/types-deprecated/default.nix
Normal file
30
pkgs/development/python-modules/types-deprecated/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "types-deprecated";
|
||||
version = "1.2.9.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "types-Deprecated";
|
||||
inherit version;
|
||||
hash = "sha256-kWFv1nRfi/LUV/u779FM3kODjp8AoEtaDq5Pwfe7xpc=";
|
||||
};
|
||||
|
||||
# Modules has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"deprecated-stubs"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Typing stubs for Deprecated";
|
||||
homepage = "https://pypi.org/project/types-Deprecated/";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -12440,6 +12440,8 @@ self: super: with self; {
|
||||
|
||||
types-decorator = callPackage ../development/python-modules/types-decorator { };
|
||||
|
||||
types-deprecated = callPackage ../development/python-modules/types-deprecated { };
|
||||
|
||||
types-docutils = callPackage ../development/python-modules/types-docutils { };
|
||||
|
||||
types-enum34 = callPackage ../development/python-modules/types-enum34 { };
|
||||
|
Loading…
Reference in New Issue
Block a user