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

reaction: 2.0.1 -> 2.1.0 (#419408)

parents 8302e1cd 6fa77178
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -7,22 +7,29 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "reaction";
  version = "2.0.1";
  version = "2.1.0";

  src = fetchFromGitLab {
    domain = "framagit.org";
    owner = "ppom";
    repo = "reaction";
    tag = "v${finalAttrs.version}";
    hash = "sha256-HpnLh0JfGZsHcvDQSiKfW62QcCe/QDsVP/nGBo9x494=";
    hash = "sha256-3FJv1n1+cpV4yrBR6PKTAhSkjas/4uTZqn4nW948jAk=";
  };

  cargoHash = "sha256-i8KZygESxgty8RR3C+JMuE1aAsBxoLuGsL4jqjdGr0E=";
  cargoHash = "sha256-Is8Mkl7Qfbe2CwYB+Da99NDQZd9+qR4NnT8iU/JMPJ0=";

  nativeBuildInputs = [
    installShellFiles
  ];

  checkFlags = [
    # Those time-based tests behave poorly in low-resource environments (CI...)
    "--skip=daemon::filter::tests"
    "--skip=treedb::raw::tests::write_then_read_1000"
    "--skip=simple"
  ];

  postInstall = ''
    installBin $releaseDir/ip46tables $releaseDir/nft46
    installManPage $releaseDir/reaction*.1
@@ -41,6 +48,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
    license = lib.licenses.agpl3Plus;
    mainProgram = "reaction";
    maintainers = with lib.maintainers; [ ppom ];
    platforms = lib.platforms.linux;
    platforms = lib.platforms.unix;
  };
})