update pokemon + torrent wips
This commit is contained in:
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; [ ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user