Skip to content

Commit

Permalink
losslesscut-bin: 3.61.1 -> 3.64.0 (NixOS#373227)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShamrockLee authored Jan 15, 2025
2 parents 66be312 + ffa605a commit fd5197d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
2 changes: 0 additions & 2 deletions pkgs/by-name/lo/losslesscut-bin/build-from-appimage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
}:

let
pname = "losslesscut";

src = fetchurl {
url = "https://github.com/mifi/lossless-cut/releases/download/v${version}/LosslessCut-linux-x86_64.AppImage";
inherit hash;
Expand Down
8 changes: 3 additions & 5 deletions pkgs/by-name/lo/losslesscut-bin/build-from-dmg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@
metaCommon ? { },
}:

let
pname = "losslesscut";
stdenvNoCC.mkDerivation {
inherit pname version;

src = fetchurl {
url = "https://github.com/mifi/lossless-cut/releases/download/v${version}/LosslessCut-mac-${
if isAarch64 then "arm64" else "x64"
}.dmg";
inherit hash;
};
in
stdenvNoCC.mkDerivation {
inherit pname version src;

nativeBuildInputs = [ _7zz ];

Expand Down
10 changes: 5 additions & 5 deletions pkgs/by-name/lo/losslesscut-bin/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

let
pname = "losslesscut";
version = "3.61.1";
version = "3.64.0";
metaCommon = with lib; {
description = "Swiss army knife of lossless video/audio editing";
homepage = "https://mifi.no/losslesscut/";
Expand All @@ -18,22 +18,22 @@ let
};
x86_64-appimage = callPackage ./build-from-appimage.nix {
inherit pname version metaCommon;
hash = "sha256-wKhEB+MfOsBvZRTIt3hLofw37+YO+hWKowlSi1OxSAU=";
hash = "sha256-K90cJuJFcIkPuAQusJcOBkZ5PQ8T25q7IFIhtmK+jzc=";
inherit (buildPackages) makeWrapper;
};
x86_64-dmg = callPackage ./build-from-dmg.nix {
inherit pname version metaCommon;
hash = "sha256-yZYmM533D9VzM+a0bnYz/aqocaEJVFOTgLWjbQGOQR0=";
hash = "sha256-BO2KoYAevbVL0Eix1knvaPVBkWucYI89VkueWYRTcXY=";
isAarch64 = false;
};
aarch64-dmg = callPackage ./build-from-dmg.nix {
inherit pname version metaCommon;
hash = "sha256-/qa2P0R7xRzDgnPKqkeKN6lrDbPg9WuZ/Nnc51NTzaM=";
hash = "sha256-/M5yafZQDqCoDzHpjZBC80CcL9KMO5lwvyCcq19caRg=";
isAarch64 = true;
};
x86_64-windows = callPackage ./build-from-windows.nix {
inherit pname version metaCommon;
hash = "sha256-0awYmSGxm8M12X0WQftlapRF9m3GGCZivNwBtRjSa4E=";
hash = "sha256-FYrnTiZ5ATT+Y08zceIIHbVM//5Bg2ozIEyC5UxmIno=";
};
in
(
Expand Down

0 comments on commit fd5197d

Please sign in to comment.