update pokemon + torrent wips
This commit is contained in:
parent
eae7374b9b
commit
b8549ca187
@ -10,8 +10,8 @@ pkgs.stdenv.mkDerivation {
|
||||
src = pkgs.fetchFromGitLab {
|
||||
owner = "phoneybadger";
|
||||
repo = "pokemon-colorscripts";
|
||||
rev = "0483c85b93362637bdd0632056ff986c07f30868";
|
||||
sha256 = "sha256-rj0qKYHCu9SyNsj1PZn1g7arjcHuIDGHwubZg/yJt7A=";
|
||||
rev = "5802ff67520be2ff6117a0abc78a08501f6252ad";
|
||||
sha256 = "sha256-gKVmpHKt7S2XhSxLDzbIHTjJMoiIk69Fch202FZffqU=";
|
||||
};
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
|
||||
36
pkgs_wip/flatbencode.nix
Normal file
36
pkgs_wip/flatbencode.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
wheel,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flatbencode";
|
||||
version = "0.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "acatton";
|
||||
repo = "flatbencode";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-1/4w41E8IKygJTBcQOexiDytV6BvVBwIjajKz2uCfu8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flatbencode"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Fast, safe and non-recursive implementation of Bittorrent bencoding for Python 3";
|
||||
homepage = "https://github.com/acatton/flatbencode";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
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";
|
||||
};
|
||||
}
|
||||
55
pkgs_wip/torf.nix
Normal file
55
pkgs_wip/torf.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "torf";
|
||||
version = "4.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rndusr";
|
||||
repo = "torf";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-vJapB4Tbn3tLLUIH9LemU9kTqG7TsByiotkWM52lsno=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
python3.pkgs.setuptools
|
||||
];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
flatbencode
|
||||
];
|
||||
|
||||
optional-dependencies = with python3.pkgs; {
|
||||
dev = [
|
||||
coverage
|
||||
flake8
|
||||
isort
|
||||
mypy
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-httpserver
|
||||
pytest-mock
|
||||
pytest-xdist
|
||||
ruff
|
||||
tox
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"torf"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python module to create, parse and edit torrent files and magnet links";
|
||||
homepage = "https://github.com/rndusr/torf";
|
||||
changelog = "https://github.com/rndusr/torf/blob/${src.rev}/CHANGELOG";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
mainProgram = "torf";
|
||||
};
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user