mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
ytcc: fix build
This commit is contained in:
parent
612f97239e
commit
5a29ff3192
@ -3,16 +3,21 @@
|
||||
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
|
||||
@ -20,7 +25,9 @@ python3Packages.buildPythonApplication rec {
|
||||
wcwidth
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [ nose pytestCheckHook ];
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Disable tests that touch network or shell out to commands
|
||||
disabledTests = [
|
||||
|
Loading…
Reference in New Issue
Block a user