Unverified Commit 2815c3a4 authored by superherointj's avatar superherointj Committed by GitHub
Browse files

Merge pull request #318527 from TomaSajt/sourcery

{sourcery,vscode-extensions.sourcery.sourcery}: 1.16.0 -> 1.19.0
parents 6ffa5d7c b8b07e9b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -3,15 +3,15 @@
  stdenv,
  vscode-utils,
  autoPatchelfHook,
  libxcrypt-legacy,
  zlib,
}:

vscode-utils.buildVscodeMarketplaceExtension {
  mktplcRef = {
    name = "sourcery";
    publisher = "sourcery";
    version = "1.16.0";
    hash = "sha256-SHgS2C+ElTJW4v90Wg0QcsSL2FoSz+SxZQpgq2J4JiU=";
    version = "1.19.0";
    hash = "sha256-Wit2ozgaVwINL3PvPfmZWQ4WN7seQMWfXwXGgEKecn0=";
  };

  postPatch = ''
@@ -24,7 +24,7 @@ vscode-utils.buildVscodeMarketplaceExtension {

  buildInputs = [
    stdenv.cc.cc.lib
    libxcrypt-legacy
    zlib
  ];

  meta = {
+5 −5
Original line number Diff line number Diff line
@@ -4,25 +4,25 @@
  python3Packages,
  fetchPypi,
  autoPatchelfHook,
  libxcrypt-legacy,
  zlib,
}:

let
  platformInfos = {
    "x86_64-linux" = {
      platform = "manylinux1_x86_64";
      hash = "sha256-gr5z8VYkuCqgmcnyA01/Ez6aX9NrKR4MgA0Bc6IHnfs=";
      hash = "sha256-IJFuMtrddHciuHGeiCuv4hgco9E3GJveegL7dBmVmAw=";
    };
    "x86_64-darwin" = {
      platform = "macosx_10_9_universal2";
      hash = "sha256-5LsxeozPgInUC1QAxDSlr8NIfmRSl5BN+g9/ZYAxiRE=";
      hash = "sha256-eTD8NnmDTMSB0dt5skPOlWbnW6AexxEkKZ9ABc+kUas=";
    };
  };
  platformInfo = platformInfos.${stdenv.system} or (throw "Unsupported platform ${stdenv.system}");
in
python3Packages.buildPythonApplication rec {
  pname = "sourcery";
  version = "1.16.0";
  version = "1.19.0";
  format = "wheel";

  src = fetchPypi {
@@ -32,7 +32,7 @@ python3Packages.buildPythonApplication rec {

  nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];

  buildInputs = [ libxcrypt-legacy ];
  buildInputs = [ zlib ];

  meta = {
    changelog = "https://sourcery.ai/changelog/";