mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
Merge pull request #214856 from vamega/bencode-py
This commit is contained in:
commit
7b7b6c248c
@ -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";
|
||||
|
@ -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";
|
||||
|
38
pkgs/development/python-modules/bencode-py/default.nix
Normal file
38
pkgs/development/python-modules/bencode-py/default.nix
Normal 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];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user