1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/applications/video/losslesscut-bin/default.nix

25 lines
725 B
Nix
Raw Normal View History

{ 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;
};
})