mov-cli: 1.5.4 -> 4.4.5

Co-author: Daniel Schaefer <git@danielschafer.me>
This commit is contained in:
Roshan Kumar 2024-05-12 15:55:41 +05:30 committed by Daniel Schaefer
parent f0a074c874
commit 0a1bb73119
2 changed files with 53 additions and 2 deletions
pkgs/by-name/mo/mov-cli

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 let
pname = "mov-cli"; pname = "mov-cli";
version = "1.5.7"; version = "4.4.5";
in in
python3.pkgs.buildPythonPackage { python3.pkgs.buildPythonPackage {
inherit pname version; inherit pname version;
@ -18,21 +18,33 @@ python3.pkgs.buildPythonPackage {
owner = "mov-cli"; owner = "mov-cli";
repo = "mov-cli"; repo = "mov-cli";
rev = version; rev = version;
hash = "sha256-OJhZtrSB5rjPY80GkTSU82hkcBgFYpW7Rc24BlBH7CE="; hash = "sha256-Q5fzxdMEUDL1VgeTTgU76z0nksocgjyonAroP/m/Q+0=";
}; };
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4 beautifulsoup4
click click
colorama colorama
deprecation
httpx httpx
inquirer
krfzf-py krfzf-py
lxml lxml
poetry-core poetry-core
pycrypto pycrypto
python-decouple
setuptools setuptools
six six
thefuzz
tldextract tldextract
toml
typer
unidecode
(callPackage ./mov-cli-test.nix {})
];
nativeBuildInputs = [
python3.pkgs.pythonRelaxDepsHook
]; ];
pythonRelaxDeps = [ pythonRelaxDeps = [