Unverified Commit eeff187c authored by Charlotte Van Petegem's avatar Charlotte Van Petegem
Browse files
parent cf53751a
Loading
Loading
Loading
Loading
+2 −13
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, makeWrapper
, makeDesktopItem
, copyDesktopItems
@@ -20,13 +19,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "teams-for-linux";
  version = "1.4.1";
  version = "1.4.2";

  src = fetchFromGitHub {
    owner = "IsmaelMartinez";
    repo = "teams-for-linux";
    rev = "v${finalAttrs.version}";
    hash = "sha256-1URS9VPqV58p8RUA47j8sdqYqps1Ruo0aqdZXedvPX8=";
    hash = "sha256-Y1SVUcBRDM+nyWuT0r0WS/PfKNkQd9x9DYlmJUFoeoo=";
  };

  offlineCache = fetchYarnDeps {
@@ -34,16 +33,6 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-ef+JW5ud9LlRxaCJC2iOT5N7FgZO7IkAABJcMQPvIBA=";
  };

  patches = [
    # remove when IsmaelMartinez/teams-for-linux#1058 is merged
    (fetchpatch {
      name = "teams-for-linux-fix-version.patch";
      url = "https://github.com/IsmaelMartinez/teams-for-linux/commit/1d14947eef35c6a2e0cbdfcce405820f8dd36c68.diff";
      hash = "sha256-kj2jEAqgZ0frUw85hY23mFYFcXz95z/WQSDymsheDfg=";
    })
  ];


  nativeBuildInputs = [ yarn prefetch-yarn-deps nodejs copyDesktopItems makeWrapper ];

  configurePhase = ''