Unverified Commit 33eebe24 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #196387 from fgaz/faircamp/unstable-2022-10-08

parents 8c3269f8 08bb2984
Loading
Loading
Loading
Loading
+15 −4
Original line number Diff line number Diff line
@@ -2,6 +2,10 @@
, rustPlatform
, fetchgit
, makeWrapper
, pkg-config
, glib
, libopus
, vips
, ffmpeg
, callPackage
, unstableGitUpdater
@@ -9,20 +13,27 @@

rustPlatform.buildRustPackage {
  pname = "faircamp";
  version = "unstable-2022-07-22";
  version = "unstable-2022-10-08";

  # TODO when switching to a stable release, use fetchFromGitea and add a
  # version test. Meanwhile, fetchgit is used to make unstableGitUpdater work.
  src = fetchgit {
    url = "https://codeberg.org/simonrepp/faircamp.git";
    rev = "4803b6e0b59c1fc9922d1e498743a0171d7f324d";
    sha256 = "sha256-VliBGYZPoX65JURlBaVMCMB5DuE/gqr27KcEzAVRFxc=";
    rev = "630415985127298bf82bfc210d2fc8b214758db1";
    sha256 = "sha256-4pzDey0iV7LtHI0rbbcCjjuTaFt0CR88Vl0B1RU96v0=";
  };

  cargoHash = "sha256-fs7CXw6CS+TtMxLtDaQiYY6fiBFl4RCttymQJDAm6dg=";
  cargoHash = "sha256-GgWxxKHLGtsSGVbhli6HTfUu4TmbY4J9N7UA7AOzUkc=";

  nativeBuildInputs = [
    makeWrapper
    pkg-config
  ];

  buildInputs = [
    glib
    libopus
    vips
  ];

  postInstall = ''