Unverified Commit bb261cde authored by tomberek's avatar tomberek Committed by GitHub
Browse files

vidmerger: 0.3.0 -> 0.4.0 (#438624)

parents 513e9e20 423d5437
Loading
Loading
Loading
Loading
+1973 −386

File changed.

Preview size limit exceeded, changes collapsed.

+14 −11
Original line number Diff line number Diff line
@@ -3,22 +3,21 @@
  ffmpeg,
  rustPlatform,
  fetchFromGitHub,
  nix-update-script,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "vidmerger";
  version = "0.3.2";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "TGotwig";
    repo = "vidmerger";
    rev = version;
    hash = "sha256-E3Y1UaYXl6NdCMM7IepqFzWNuHaMGLCN5BvQ/lxjFoc=";
    tag = finalAttrs.version;
    hash = "sha256-N/iX0EN5R4oG4XHhpd/VaihrEHv5uT+grAJ6/KfSORE=";
  };

  cargoLock = {
    lockFile = ./Cargo.lock;
  };
  cargoLock.lockFile = ./Cargo.lock;

  postPatch = ''
    cp ${./Cargo.lock} Cargo.lock
@@ -31,14 +30,18 @@ rustPlatform.buildRustPackage rec {
    ffmpeg
  ];

  meta = with lib; {
  passthru.updateScript = nix-update-script {
    extraArgs = [ "--generate-lockfile" ];
  };

  meta = {
    description = "Merge video & audio files via CLI";
    homepage = "https://github.com/TGotwig/vidmerger";
    license = with licenses; [
    license = with lib.licenses; [
      mit
      commons-clause
    ];
    maintainers = with maintainers; [ ByteSudoer ];
    maintainers = with lib.maintainers; [ ByteSudoer ];
    mainProgram = "vidmerger";
  };
}
})