depot/third_party/nixpkgs/pkgs/applications/video/losslesscut-bin/default.nix
Default email bfd56a1002 Project import generated by Copybara.
GitOrigin-RevId: 0a5f5bab0e08e968ef25cff393312aa51a3512cf
2021-04-19 05:05:28 +02:00

24 lines
725 B
Nix

{ callPackage, stdenvNoCC, lib }:
let
version = "3.33.1";
appimage = callPackage ./appimage.nix { inherit version; };
dmg = callPackage ./dmg.nix { inherit version; };
windows = callPackage ./windows.nix { inherit version; };
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.mit;
maintainers = with maintainers; [ ShamrockLee ];
} // oldAttrs.meta // {
platforms =
appimage.meta.platforms
++ dmg.meta.platforms
++ windows.meta.platforms;
};
})