Skip to content

Commit

Permalink
ytcc: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Jan 25, 2024
1 parent 612f972 commit 5a29ff3
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions pkgs/tools/networking/ytcc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,31 @@
python3Packages.buildPythonApplication rec {
pname = "ytcc";
version = "2.6.1";
format = "pyproject";
pyproject = true;

src = fetchFromGitHub {
owner = "woefe";
repo = "ytcc";
rev = "v${version}";
sha256 = "sha256-pC2uoog+nev/Xa6UbXX4vX00VQQLHtZzbVkxrxO/Pg8=";
hash = "sha256-pC2uoog+nev/Xa6UbXX4vX00VQQLHtZzbVkxrxO/Pg8=";
};

nativeBuildInputs = [ gettext installShellFiles ];
nativeBuildInputs = [
gettext
installShellFiles
] ++ (with python3Packages; [
setuptools
]);

propagatedBuildInputs = with python3Packages; [
yt-dlp
click
wcwidth
];

nativeCheckInputs = with python3Packages; [ nose pytestCheckHook ];
nativeCheckInputs = with python3Packages; [
pytestCheckHook
];

# Disable tests that touch network or shell out to commands
disabledTests = [
Expand Down

0 comments on commit 5a29ff3

Please sign in to comment.