ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / transmission-rpc / default.nix
blobb82a61b7518c7a43748e9ee84934a9f2ecb17065
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , fetchPypi
5 , poetry-core
6 , pydantic
7 , pytestCheckHook
8 , pythonOlder
9 , pytz
10 , requests
11 , yarl
14 buildPythonPackage rec {
15   pname = "transmission-rpc";
16   version = "3.4.0";
17   format = "pyproject";
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "Trim21";
23     repo = "transmission-rpc";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-O+VimSIVsO4P7v+8HHdYujaKpPx4FV8bF/Nn4EHP2vo=";
26   };
28   nativeBuildInputs = [
29     poetry-core
30   ];
32   propagatedBuildInputs = [
33     pydantic
34     requests
35   ];
37   checkInputs = [
38     pytz
39     pytestCheckHook
40     yarl
41   ];
43   pythonImportsCheck = [
44     "transmission_rpc"
45   ];
47   disabledTests = [
48     # Tests require a running Transmission instance
49     "test_real"
50   ];
52   meta = with lib; {
53     description = "Python module that implements the Transmission bittorent client RPC protocol";
54     homepage = "https://github.com/Trim21/transmission-rpc";
55     license = licenses.mit;
56     maintainers = with maintainers; [ eyjhb ];
57   };