python312Packages.pubnub: format with nixfmt
This commit is contained in:
parent
ec1f6857a1
commit
cf6c4e59fb
|
@ -1,16 +1,17 @@
|
||||||
{ lib
|
{
|
||||||
, aiohttp
|
lib,
|
||||||
, buildPythonPackage
|
aiohttp,
|
||||||
, busypie
|
buildPythonPackage,
|
||||||
, cbor2
|
busypie,
|
||||||
, fetchFromGitHub
|
cbor2,
|
||||||
, pycryptodomex
|
fetchFromGitHub,
|
||||||
, pytestCheckHook
|
pycryptodomex,
|
||||||
, pytest-vcr
|
pytestCheckHook,
|
||||||
, pytest-asyncio
|
pytest-vcr,
|
||||||
, requests
|
pytest-asyncio,
|
||||||
, pythonOlder
|
requests,
|
||||||
, setuptools
|
pythonOlder,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -21,15 +22,13 @@ buildPythonPackage rec {
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = "pubnub";
|
||||||
repo = "python";
|
repo = "python";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-4Paodw3t2RvAKrDMcWHIGLs5JNtH/9sP+BTyAm/hj4E=";
|
hash = "sha256-4Paodw3t2RvAKrDMcWHIGLs5JNtH/9sP+BTyAm/hj4E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [ setuptools ];
|
||||||
setuptools
|
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
aiohttp
|
aiohttp
|
||||||
|
@ -57,9 +56,7 @@ buildPythonPackage rec {
|
||||||
"test_handshaking"
|
"test_handshaking"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "pubnub" ];
|
||||||
"pubnub"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python-based APIs for PubNub";
|
description = "Python-based APIs for PubNub";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user