update pokemon + torrent wips
This commit is contained in:
52
pkgs_wip/torf-cli.nix
Normal file
52
pkgs_wip/torf-cli.nix
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "torf-cli";
|
||||
version = "5.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rndusr";
|
||||
repo = "torf-cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ipF82mZq7iXsQOWD7w2b0dYDFOSZ7jjiqYAlp9SL4QU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
python3.pkgs.setuptools
|
||||
];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
pyxdg
|
||||
torf
|
||||
];
|
||||
|
||||
optional-dependencies = with python3.pkgs; {
|
||||
dev = [
|
||||
coverage
|
||||
flake8
|
||||
isort
|
||||
pytest
|
||||
pytest-cov
|
||||
ruff
|
||||
tox
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"torf_cli"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "CLI tool for creating, reading and editing torrent files";
|
||||
homepage = "https://github.com/rndusr/torf-cli";
|
||||
changelog = "https://github.com/rndusr/torf-cli/blob/${src.rev}/CHANGELOG";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
mainProgram = "torf-cli";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user