signalbackup-tools: 20241220 -> 20250106 (#371523)
[NixPkgs.git] / pkgs / tools / misc / gazelle-origin / default.nix
blob37ef0aedd9ccc10de1aa6dcad4c2a688e9006971
2   lib,
3   buildPythonApplication,
4   fetchFromGitHub,
5   bencoder,
6   pyyaml,
7   requests,
8 }:
9 buildPythonApplication rec {
10   pname = "gazelle-origin";
11   version = "3.0.0";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     repo = pname;
16     # Use the spinfast319 fork, since it seems that upstream
17     # at <https://github.com/x1ppy/gazelle-origin> is inactive
18     owner = "spinfast319";
19     rev = version;
20     hash = "sha256-+yMKnfG2f+A1/MxSBFLaHfpCgI2m968iXqt+2QanM/c=";
21   };
23   propagatedBuildInputs = [
24     bencoder
25     pyyaml
26     requests
27   ];
29   pythonImportsCheck = [ "gazelleorigin" ];
31   meta = with lib; {
32     description = "Tool for generating origin files using the API of Gazelle-based torrent trackers";
33     homepage = "https://github.com/spinfast319/gazelle-origin";
34     # TODO license is unspecified in the upstream, as well as the fork
35     license = licenses.unfree;
36     maintainers = with maintainers; [ somasis ];
37     mainProgram = "gazelle-origin";
38   };