Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
72 lines
1.2 KiB
Nix
72 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
ffmpeg,
|
|
fzf,
|
|
mpv,
|
|
python3,
|
|
}:
|
|
|
|
let
|
|
pname = "mov-cli";
|
|
version = "4.4.19";
|
|
in
|
|
python3.pkgs.buildPythonPackage {
|
|
inherit pname version;
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mov-cli";
|
|
repo = "mov-cli";
|
|
tag = version;
|
|
hash = "sha256-sNeScHmQYR4Avr5OEFpE90Qn7udBgi1Ox5elFSyKXrY=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
beautifulsoup4
|
|
click
|
|
colorama
|
|
deprecation
|
|
httpx
|
|
inquirer
|
|
krfzf-py
|
|
lxml
|
|
poetry-core
|
|
pycrypto
|
|
python-decouple
|
|
setuptools
|
|
six
|
|
thefuzz
|
|
tldextract
|
|
toml
|
|
typer
|
|
unidecode
|
|
(callPackage ./mov-cli-test.nix { })
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"httpx"
|
|
"tldextract"
|
|
];
|
|
|
|
makeWrapperArgs =
|
|
let
|
|
binPath = lib.makeBinPath [
|
|
ffmpeg
|
|
fzf
|
|
mpv
|
|
];
|
|
in
|
|
[
|
|
"--prefix PATH : ${binPath}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mov-cli/mov-cli";
|
|
description = "Cli tool to browse and watch movies";
|
|
license = with lib.licenses; [ gpl3Only ];
|
|
mainProgram = "mov-cli";
|
|
maintainers = with lib.maintainers; [ baitinq ];
|
|
};
|
|
}
|