~sumner/nixos-configuration

7770b85e1f3d5762be43aa307e8b2e4509263fd2 — Sumner Evans 3 months ago 16c0802
linkedin-matrix: update to support read receipts
2 files changed, 4 insertions(+), 17 deletions(-)

M pkgs/linkedin-matrix.nix
M pkgs/linkedin-messaging.nix
M pkgs/linkedin-matrix.nix => pkgs/linkedin-matrix.nix +2 -15
@@ 1,19 1,6 @@
{ lib, fetchFromGitLab, python3 }: with python3.pkgs;
let
  linkedin-messaging = callPackage ./linkedin-messaging.nix { };
  mautrix = pkgs.python3Packages.mautrix.overridePythonAttrs (
    old: rec {
      pname = "mautrix";
      version = "0.14.0";

      src = pkgs.python3.pkgs.fetchPypi {
        inherit pname version;
        sha256 = "sha256-WtBOh7zzHrNHn908q9UIKyVwE+XAD2s2lTmitYSvra8=";
      };

      doCheck = false;
    }
  );
in
buildPythonPackage rec {
  pname = "linkedin-matrix";


@@ 23,8 10,8 @@ buildPythonPackage rec {
  src = fetchFromGitLab {
    owner = "beeper";
    repo = "linkedin";
    rev = "v${version}";
    sha256 = "sha256-BG0QJgpxZpdJ67cIO+AK+0Jt2bZcmAnUEy8wAPP2cac=";
    rev = "c2923ef60824d0f58857e68f600d7f3af73b4b34";
    sha256 = "sha256-L+FrnYtjM0ep8G/FqZDJhWB7vRZl77MKFselbTdfEOk=";
  };

  nativeBuildInputs = [

M pkgs/linkedin-messaging.nix => pkgs/linkedin-messaging.nix +2 -2
@@ 4,14 4,14 @@ with python3.pkgs;

buildPythonPackage rec {
  pname = "linkedin-messaging";
  version = "0.5.0";
  version = "0.5.1";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "sumnerevans";
    repo = "linkedin-messaging-api";
    rev = "v${version}";
    sha256 = "sha256-Jjhaua9zUDX+dMaaFNKVf2cojRIfiVjHZvNlmJHw8rc=";
    sha256 = "sha256-qn04KiQw2IwFLicPjdYkmX7MoGiAo0Muvx/oSQhamgk=";
  };

  nativeBuildInputs = [