mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
56a4d9857a
Add binary package for * Linux (AppImage) * Mac (dmg, x86_64 version) * Windows (zip)
25 lines
725 B
Nix
25 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;
|
|
};
|
|
})
|