gazelle-origin: init at 3.0.0
This commit is contained in:
parent
3e0afdc596
commit
78eb8d6727
38
pkgs/tools/misc/gazelle-origin/default.nix
Normal file
38
pkgs/tools/misc/gazelle-origin/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonApplication
|
||||||
|
, fetchFromGitHub
|
||||||
|
, bencoder
|
||||||
|
, pyyaml
|
||||||
|
, requests
|
||||||
|
, setuptools
|
||||||
|
}:
|
||||||
|
buildPythonApplication rec {
|
||||||
|
pname = "gazelle-origin";
|
||||||
|
version = "3.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
repo = pname;
|
||||||
|
# Use the spinfast319 fork, since it seems that upstream
|
||||||
|
# at <https://github.com/x1ppy/gazelle-origin> is inactive
|
||||||
|
owner = "spinfast319";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-+yMKnfG2f+A1/MxSBFLaHfpCgI2m968iXqt+2QanM/c=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
bencoder
|
||||||
|
pyyaml
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "gazelleorigin" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Tool for generating origin files using the API of Gazelle-based torrent trackers";
|
||||||
|
homepage = "https://github.com/spinfast319/gazelle-origin";
|
||||||
|
# TODO license is unspecified in the upstream, as well as the fork
|
||||||
|
license = licenses.unfree;
|
||||||
|
maintainers = with maintainers; [ somasis ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -28492,6 +28492,8 @@ with pkgs;
|
||||||
|
|
||||||
gauche = callPackage ../development/interpreters/gauche { };
|
gauche = callPackage ../development/interpreters/gauche { };
|
||||||
|
|
||||||
|
gazelle-origin = python3Packages.callPackage ../tools/misc/gazelle-origin { };
|
||||||
|
|
||||||
gcal = callPackage ../applications/misc/gcal { };
|
gcal = callPackage ../applications/misc/gcal { };
|
||||||
|
|
||||||
gcstar = callPackage ../applications/misc/gcstar { };
|
gcstar = callPackage ../applications/misc/gcstar { };
|
||||||
|
|
Loading…
Reference in a new issue