nixpkgs/pkgs/by-name/mi/miru/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
1.4 KiB
Nix
Raw Normal View History

2024-06-21 00:06:20 +00:00
{
stdenv,
lib,
callPackage,
2024-02-15 15:56:35 +00:00
}:
2024-06-21 00:06:20 +00:00
let
2024-02-15 15:56:35 +00:00
pname = "miru";
2024-11-21 20:16:16 +00:00
version = "5.5.9";
2024-11-12 09:14:31 +00:00
meta = {
2024-02-15 15:56:35 +00:00
description = "Stream anime torrents, real-time with no waiting for downloads";
2024-03-30 19:31:04 +00:00
homepage = "https://miru.watch";
2024-11-12 09:14:31 +00:00
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
2024-06-21 00:06:20 +00:00
d4ilyrun
matteopacini
];
2024-02-15 15:56:35 +00:00
mainProgram = "miru";
2024-11-12 09:14:31 +00:00
platforms = [ "x86_64-linux" ] ++ lib.platforms.darwin;
2024-02-15 15:56:35 +00:00
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
longDescription = ''
A pure JS BitTorrent streaming environment, with a built-in list manager.
Imagine qBit + Taiga + MPV, all in a single package, but streamed real-time.
Completely ad free with no tracking/data collection.
This app is meant to feel look, work and perform like a streaming website/app,
while providing all the advantages of torrenting, like file downloads,
higher download speeds, better video quality and quicker releases.
Unlike qBit's sequential, seeking into undownloaded data will prioritise downloading that data,
instead of flat out closing MPV.
'';
};
2024-07-07 20:54:26 +00:00
passthru = {
updateScript = ./update.sh;
};
2024-06-21 00:06:20 +00:00
in
if stdenv.hostPlatform.isDarwin then
2024-07-07 20:54:26 +00:00
callPackage ./darwin.nix {
inherit
pname
version
meta
passthru
;
}
2024-06-21 00:06:20 +00:00
else
2024-07-07 20:54:26 +00:00
callPackage ./linux.nix {
inherit
pname
version
meta
passthru
;
}