blob: b5c052bdfaa7669e0c337b5fa62798e0d1c6715c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pysmartdl";
version = "1.3.4";
pyproject = true;
src = fetchFromGitHub {
owner = "iTaybb";
repo = "pySmartDL";
rev = "refs/tags/v${version}";
hash = "sha256-Etyv3xCB1cGozWDsskygwcTHJfC+V5hvqBNQAF8SIMM=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# touch the network
"test_basic_auth"
"test_custom_headers"
"test_download"
"test_hash"
"test_mirrors"
"test_pause_unpause"
"test_speed_limiting"
"test_stop"
"test_timeout"
"test_unicode"
];
pythonImportsCheck = [
"pySmartDL"
];
meta = with lib; {
homepage = "https://github.com/iTaybb/pySmartDL";
description = "A Smart Download Manager for Python";
changelog = "https://github.com/iTaybb/pySmartDL/blob/${src.rev}/ChangeLog.txt";
license = licenses.unlicense;
maintainers = with maintainers; [ ];
};
}
|