Commit a854d724 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.crownstone-cloud: 1.4.9 -> 1.4.11

parent f0f3609d
Loading
Loading
Loading
Loading
+7 −18
Original line number Diff line number Diff line
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, fetchPypi
, certifi
, pythonOlder
, pytestCheckHook
@@ -10,27 +9,17 @@

buildPythonPackage rec {
  pname = "crownstone-cloud";
  version = "1.4.9";
  version = "1.4.11";
  format = "setuptools";

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "crownstone";
    repo = "crownstone-lib-python-cloud";
    rev = "refs/tags/${version}";
    hash = "sha256-CS1zeQiWPnsGCWixCsN9sz08mPORW5sVqIpSFPh0Qt0=";
  src = fetchPypi {
    pname = "crownstone_cloud";
    inherit version;
    hash = "sha256-s84pK52uMupxQfdMldV14V3nj+yVku1Vw13CRX4o08U=";
  };

  patches = [
    # Remove asynctest, https://github.com/crownstone/crownstone-lib-python-cloud/pull/4
    (fetchpatch {
      name = "remove-asynctest.patch";
      url = "https://github.com/crownstone/crownstone-lib-python-cloud/commit/7f22c9b284bf8d7f6f43e205816787dd3bb37e78.patch";
      hash = "sha256-LS1O9LVB14WyBXfuHf/bs1juJ59zWhJ8pL4aGtVrTG8=";
    })
  ];

  propagatedBuildInputs = [
    aiohttp
    certifi
@@ -50,7 +39,7 @@ buildPythonPackage rec {

  meta = with lib; {
    description = "Python module for communicating with Crownstone Cloud and devices";
    homepage = "https://github.com/crownstone/crownstone-lib-python-cloud";
    homepage = "https://github.com/Crownstone-Community/crownstone-lib-python-cloud";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };