python310Packages.awscrt: 0.15.1 -> 0.16.1
This commit is contained in:
parent
e3fbf88004
commit
6f8a0e6120
@ -12,14 +12,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "awscrt";
|
pname = "awscrt";
|
||||||
version = "0.15.1";
|
version = "0.16.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-2VBdad9NL19eW2Djot2gkynyjSCUvG4f0KnEub6M0vg=";
|
hash = "sha256-j9++euxSsvf6ZLkVJtyGdlOx6WWrAXEOczqwypYZkXA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
@ -33,11 +33,6 @@ buildPythonPackage rec {
|
|||||||
"strictoverflow"
|
"strictoverflow"
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "extra_link_args += ['-Wl,-fatal_warnings']" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
# gcc <10 is not supported, LLVM on darwin is just fine
|
# gcc <10 is not supported, LLVM on darwin is just fine
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
@ -58,6 +53,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/awslabs/aws-crt-python";
|
homepage = "https://github.com/awslabs/aws-crt-python";
|
||||||
|
changelog = "https://github.com/awslabs/aws-crt-python/releases/tag/v${version}";
|
||||||
description = "Python bindings for the AWS Common Runtime";
|
description = "Python bindings for the AWS Common Runtime";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ davegallant ];
|
maintainers = with maintainers; [ davegallant ];
|
||||||
|
@ -11,15 +11,6 @@
|
|||||||
let
|
let
|
||||||
py = python3.override {
|
py = python3.override {
|
||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: {
|
||||||
awscrt = super.awscrt.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "0.14.0";
|
|
||||||
src = self.fetchPypi {
|
|
||||||
inherit (oldAttrs) pname;
|
|
||||||
inherit version;
|
|
||||||
hash = "sha256-MGLTFcsWVC/gTdgjny6LwyOO6QRc1QcLkVzy677Lqqw=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
prompt-toolkit = super.prompt-toolkit.overridePythonAttrs (oldAttrs: rec {
|
prompt-toolkit = super.prompt-toolkit.overridePythonAttrs (oldAttrs: rec {
|
||||||
version = "3.0.28";
|
version = "3.0.28";
|
||||||
src = self.fetchPypi {
|
src = self.fetchPypi {
|
||||||
|
Loading…
Reference in New Issue
Block a user