tmuxPlugins.catppucin: unstable-2024-05-16 -> 2.1.2 (#379030)
[NixPkgs.git] / pkgs / by-name / yl / yle-dl / package.nix
blob0094b450cff987bf510f12c2e9ccd2b90d9502c6
2   lib,
3   fetchFromGitHub,
4   rtmpdump,
5   php,
6   wget,
7   python3Packages,
8   ffmpeg,
9   testers,
10   yle-dl,
13 python3Packages.buildPythonApplication rec {
14   pname = "yle-dl";
15   version = "20240706";
17   src = fetchFromGitHub {
18     owner = "aajanki";
19     repo = "yle-dl";
20     rev = version;
21     hash = "sha256-X5fkcJgTVGASoVvvshGWUFNzB1V4KMSKgwoxzP62mxc=";
22   };
24   propagatedBuildInputs = with python3Packages; [
25     attrs
26     configargparse
27     ffmpeg
28     future
29     lxml
30     requests
31   ];
32   pythonPath = [
33     rtmpdump
34     php
35     wget
36   ];
38   doCheck = false; # tests require network access
39   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
41   passthru.tests.version = testers.testVersion {
42     package = yle-dl;
43     command = "yle-dl -h";
44   };
46   meta = with lib; {
47     description = "Downloads videos from Yle (Finnish Broadcasting Company) servers";
48     homepage = "https://aajanki.github.io/yle-dl/";
49     changelog = "https://github.com/aajanki/yle-dl/blob/${version}/ChangeLog";
50     license = licenses.gpl3Plus;
51     maintainers = with maintainers; [ dezgeg ];
52     platforms = platforms.unix;
53     mainProgram = "yle-dl";
54   };