Merge pull request #311026 from Roshaen/mov-cli

mov-cli: 1.5.4 -> 4.3.14
This commit is contained in:
Daniel Schaefer 2024-07-07 18:47:54 +08:00 committed by GitHub
commit a51b16e53a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 53 additions and 2 deletions

View File

@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
pytubefix,
requests,
devgoldyutils,
}:
buildPythonPackage rec {
pname = "mov-cli-test";
version = "1.1.7";
format = "pyproject";
src = fetchFromGitHub {
owner = "mov-cli";
repo = "mov-cli-test";
rev = "refs/tags/${version}";
hash = "sha256-INdPAJxPxfo5bKg4Xn1r7bildxznXrTJxmDI21wylnI=";
};
doCheck = false;
propagatedBuildInputs = [
pytubefix
requests
devgoldyutils
];
nativeBuildInputs = [ setuptools-scm ];
meta = {
description = "A mov-cli plugin that let's you test mov-cli's capabilities by watching free films and animations in the creative commons";
homepage = "https://github.com/mov-cli/mov-cli-test";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ roshaen ];
};
}

View File

@ -8,7 +8,7 @@
let
pname = "mov-cli";
version = "1.5.7";
version = "4.4.5";
in
python3.pkgs.buildPythonPackage {
inherit pname version;
@ -18,21 +18,33 @@ python3.pkgs.buildPythonPackage {
owner = "mov-cli";
repo = "mov-cli";
rev = version;
hash = "sha256-OJhZtrSB5rjPY80GkTSU82hkcBgFYpW7Rc24BlBH7CE=";
hash = "sha256-Q5fzxdMEUDL1VgeTTgU76z0nksocgjyonAroP/m/Q+0=";
};
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 {})
];
nativeBuildInputs = [
python3.pkgs.pythonRelaxDepsHook
];
pythonRelaxDeps = [