depot/third_party/nixpkgs/pkgs/development/python-modules/transmission-rpc/default.nix
Default email f61cd259d4 Project import generated by Copybara.
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
2021-10-01 17:20:50 +08:00

39 lines
773 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, six
, typing-extensions
, requests
, yarl
, pythonOlder
}:
buildPythonPackage rec {
pname = "transmission-rpc";
version = "3.3.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "ef3a931fc1f1db74edf8660e475b9295e0904ee922030ef0e45b0c73f4be65ae";
};
propagatedBuildInputs = [
six
typing-extensions
requests
yarl
];
# no tests
doCheck = false;
pythonImportsCheck = [ "transmission_rpc" ];
meta = with lib; {
description = "Python module that implements the Transmission bittorent client RPC protocol";
homepage = "https://github.com/Trim21/transmission-rpc";
license = licenses.mit;
maintainers = with maintainers; [ eyjhb ];
};
}