diff --git a/pkgs/development/python-modules/torrent_parser/default.nix b/pkgs/development/python-modules/torrent_parser/default.nix new file mode 100644 index 000000000000..f60300086f2a --- /dev/null +++ b/pkgs/development/python-modules/torrent_parser/default.nix @@ -0,0 +1,21 @@ +{ buildPythonPackage, lib, fetchFromGitHub }: + +buildPythonPackage rec { + pname = "torrent_parser"; + version = "0.4.1"; + + # No tarballs on Pypi + src = fetchFromGitHub { + owner = "7sDream"; + repo = "torrent_parser"; + rev = "v${version}"; + sha256 = "sha256-zM738r3o9dGZYoWLN7fM4E06m6YPcAODEkgDS6wU/Sc="; + }; + + meta = { + description = "A .torrent file parser and creator for both Python 2 and 3"; + homepage = "https://github.com/7sDream/torrent_parser"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8d7e8dd7c344..e7a81ab193cd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12229,6 +12229,8 @@ self: super: with self; { torpy = callPackage ../development/python-modules/torpy { }; + torrent_parser = callPackage ../development/python-modules/torrent_parser { }; + torrequest = callPackage ../development/python-modules/torrequest { }; total-connect-client = callPackage ../development/python-modules/total-connect-client { };