From 8973ad968cfd16a8fabdf28450ce856e6a7edf04 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 4 Nov 2023 13:25:03 +0900 Subject: [PATCH] python311Packages.torrent-parser: rename from torrent_parser --- .../{torrent_parser => torrent-parser}/default.nix | 2 +- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename pkgs/development/python-modules/{torrent_parser => torrent-parser}/default.nix (95%) diff --git a/pkgs/development/python-modules/torrent_parser/default.nix b/pkgs/development/python-modules/torrent-parser/default.nix similarity index 95% rename from pkgs/development/python-modules/torrent_parser/default.nix rename to pkgs/development/python-modules/torrent-parser/default.nix index f60300086f2a..42250d0348a1 100644 --- a/pkgs/development/python-modules/torrent_parser/default.nix +++ b/pkgs/development/python-modules/torrent-parser/default.nix @@ -1,7 +1,7 @@ { buildPythonPackage, lib, fetchFromGitHub }: buildPythonPackage rec { - pname = "torrent_parser"; + pname = "torrent-parser"; version = "0.4.1"; # No tarballs on Pypi diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 00f517bc5788..408081feed06 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -410,6 +410,7 @@ mapAliases ({ Theano = theano; # added 2023-02-19 TheanoWithCuda = theanoWithCuda; # added 2023-02-19 TheanoWithoutCuda = theanoWithoutCuda; # added 2023-02-19 + torrent_parser = torrent-parser; # added 2023-11-04 transip = throw "transip has been removed because it is no longer maintained. TransIP SOAP V5 API was marked as deprecated"; # added 2023-02-27 tumpa = throw "tumpa was promoted to a top-level attribute"; # added 2022-11-19 tvdb_api = tvdb-api; # added 2023-10-20 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 228cabf855d1..5c6e0d453404 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14113,7 +14113,7 @@ self: super: with self; { torpy = callPackage ../development/python-modules/torpy { }; - torrent_parser = callPackage ../development/python-modules/torrent_parser { }; + torrent-parser = callPackage ../development/python-modules/torrent-parser { }; torrequest = callPackage ../development/python-modules/torrequest { };