c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
24 lines
922 B
Nix
24 lines
922 B
Nix
{ callPackage, stdenvNoCC, lib }:
|
|
let
|
|
version = "3.46.2";
|
|
appimage = callPackage ./appimage.nix { inherit version; sha256 = "sha256-p+HscYsChR90JHdYjurY4OOHgveGXbJomz1klBCsF2Q="; };
|
|
dmg = callPackage ./dmg.nix { inherit version; sha256 = "sha256-350MHWwyjCdvIv6W6lX6Hr6PLDiAwO/e+KW0yKi/Yoc="; };
|
|
windows = callPackage ./windows.nix { inherit version; sha256 = "sha256-48ifhvIWSPmmnBnW8tP7NeWPIWJYWNqGP925O50CAwQ="; };
|
|
in (
|
|
if stdenvNoCC.isDarwin then dmg
|
|
else if stdenvNoCC.isCygwin then windows
|
|
else appimage
|
|
).overrideAttrs
|
|
(oldAttrs: {
|
|
meta = with lib; {
|
|
description = "The swiss army knife of lossless video/audio editing";
|
|
homepage = "https://mifi.no/losslesscut/";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ ShamrockLee ];
|
|
} // oldAttrs.meta // {
|
|
platforms =
|
|
appimage.meta.platforms
|
|
++ dmg.meta.platforms
|
|
++ windows.meta.platforms;
|
|
};
|
|
})
|