Unverified Commit b4c1f854 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

journalist: 1.0.0-unstable-2024-06-15 -> 1.0.1 (#349921)

parents 4219d7bc c687c5fe
Loading
Loading
Loading
Loading
+5 −17
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchpatch,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "journalist";
  version = "1.0.0-unstable-2024-06-15";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "mrusme";
    repo = "journalist";
    rev = "93781b1278e271995769f576b74fee794a19de14";
    hash = "sha256-RRo9AEaHJPzN9+oW5kIBUNCPVdFkY2USOIZeUts8P/M=";
    rev = "refs/tags/v${version}";
    hash = "sha256-3MnkndG2c4P3oprIRbzj26oAutEmAgsUx8mjlaDLrkI=";
  };

  overrideModAttrs = _oldAttrs: {
    patches = [
      # fix go.sum by adding missing module
      # see https://github.com/mrusme/journalist/pull/18
      (fetchpatch {
        name = "fix-go-sum.patch";
        url = "https://github.com/mrusme/journalist/commit/546585222993586057a12ab4e9b38000c537f6cf.patch";
        hash = "sha256-+QZhP/Har5UVi1pvqB6wWY0+xKqP0B8QukCcNlGkqxQ=";
      })
    ];
  };

  vendorHash = "sha256-fEHVc9kRbeeXICWhJshLp9JK/ICBR/RB5SVChJzSXpI=";
  vendorHash = "sha256-2EJ96dhhU7FZxMkHOmQo79WCHu8U1AGgFf47FIuQdek=s";

  ldflags = [
    "-s"
@@ -39,6 +26,7 @@ buildGoModule rec {
  meta = {
    description = "RSS aggregator";
    homepage = "https://github.com/mrusme/journalist";
    changelog = "https://github.com/mrusme/journalist/releases/tag/v${version}";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ moraxyc ];
    mainProgram = "journalist";