Merge pull request #214856 from vamega/bencode-py

This commit is contained in:
Bernardo Meurer 2023-02-06 15:58:58 -05:00 committed by GitHub
commit 7b7b6c248c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 56 additions and 0 deletions

View File

@ -114,6 +114,16 @@ in mkLicense lset) ({
fullName = "Bitstream Vera Font License";
};
bitTorrent10 = {
spdxId = "BitTorrent-1.0";
fullName = " BitTorrent Open Source License v1.0";
};
bitTorrent11 = {
spdxId = "BitTorrent-1.1";
fullName = " BitTorrent Open Source License v1.1";
};
bola11 = {
url = "https://blitiri.com.ar/p/bola/";
fullName = "Buena Onda License Agreement 1.1";

View File

@ -15303,6 +15303,12 @@
githubId = 27813;
name = "Vincent Breitmoser";
};
vamega = {
email = "github@madiathv.com";
github = "vamega";
githubId = 223408;
name = "Varun Madiath";
};
vandenoever = {
email = "jos@vandenoever.info";
github = "vandenoever";

View File

@ -0,0 +1,38 @@
{
lib,
buildPythonPackage,
fetchPypi,
python,
pbr,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "beconde-py";
version = "4.0.0";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "bencode.py";
sha256 = "sha256-KiTM2hclpRplCJPQtjJgE4NZ6qKZu256CZYTUKKm4Fw=";
};
pythonImportsCheck = [
"bencodepy"
];
nativeBuildInputs = [
pbr
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Simple bencode parser (for Python 2, Python 3 and PyPy)";
homepage = "https://github.com/fuzeman/bencode.py";
license = licenses.bitTorrent11;
maintainers = with maintainers; [vamega];
};
}

View File

@ -1218,6 +1218,8 @@ self: super: with self; {
bellows = callPackage ../development/python-modules/bellows { };
bencode-py = callPackage ../development/python-modules/bencode-py { };
bencoder = callPackage ../development/python-modules/bencoder { };
beniget = callPackage ../development/python-modules/beniget { };