mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / development / python-modules / transmission-rpc / default.nix
blobcc2db015a14b2b0c102628c76b80f2e42d724939
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pytestCheckHook,
7   pythonOlder,
8   python-dotenv,
9   pytz,
10   requests,
11   typing-extensions,
12   yarl,
15 buildPythonPackage rec {
16   pname = "transmission-rpc";
17   version = "7.0.11";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "Trim21";
24     repo = "transmission-rpc";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-t07TuLLHfbxvWh+7854OMigfGC8jHzvpd4QO3v0M15I=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [
32     requests
33     typing-extensions
34   ];
36   nativeCheckInputs = [
37     python-dotenv
38     pytz
39     pytestCheckHook
40     yarl
41   ];
43   pythonImportsCheck = [ "transmission_rpc" ];
45   disabledTests = [
46     # Tests require a running Transmission instance
47     "test_groups"
48     "test_real"
49   ];
51   meta = with lib; {
52     description = "Python module that implements the Transmission bittorent client RPC protocol";
53     homepage = "https://github.com/Trim21/transmission-rpc";
54     changelog = "https://github.com/trim21/transmission-rpc/releases/tag/v${version}";
55     license = licenses.mit;
56     maintainers = with maintainers; [ eyjhb ];
57   };