Skip to content

Commit

Permalink
python311Packages.yark: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Jan 12, 2024
1 parent 3077307 commit f60e8bc
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions pkgs/development/python-modules/yark/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, pythonRelaxDepsHook
, click
, colorama
, fetchPypi
, flask
, poetry-core
, progress
, pythonOlder
, pythonRelaxDepsHook
, requests
, yt-dlp
, progress
}:

buildPythonPackage rec {
pname = "yark";
version = "1.2.10";
pyproject = true;

format = "pyproject";
disabled = pythonOlder "3.9";

src = fetchPypi {
inherit pname version;
Expand All @@ -40,18 +42,18 @@ buildPythonPackage rec {
yt-dlp
];

# There aren't any unit tests. If test discovery runs, it will crash, halting the build.
# When upstream adds unit tests, please configure them here. Thanks! ~ C.
# Module has no tests
doCheck = false;

pythonImportsCheck = [
"yark"
];

meta = with lib; {
description = "YouTube archiving made simple";
description = "Module for YouTube archiving";
homepage = "https://github.com/Owez/yark";
changelog = "https://github.com/Owez/yark/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ ];
maintainers = with maintainers; [ ];
};
}

0 comments on commit f60e8bc

Please sign in to comment.