bencode-py: init at 4.0.0
This commit is contained in:
parent
c6007f7c61
commit
dedb550ce6
3 changed files with 50 additions and 0 deletions
|
@ -114,6 +114,16 @@ in mkLicense lset) ({
|
||||||
fullName = "Bitstream Vera Font License";
|
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 = {
|
bola11 = {
|
||||||
url = "https://blitiri.com.ar/p/bola/";
|
url = "https://blitiri.com.ar/p/bola/";
|
||||||
fullName = "Buena Onda License Agreement 1.1";
|
fullName = "Buena Onda License Agreement 1.1";
|
||||||
|
|
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];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1212,6 +1212,8 @@ self: super: with self; {
|
||||||
|
|
||||||
bellows = callPackage ../development/python-modules/bellows { };
|
bellows = callPackage ../development/python-modules/bellows { };
|
||||||
|
|
||||||
|
bencode-py = callPackage ../development/python-modules/bencode-py { };
|
||||||
|
|
||||||
bencoder = callPackage ../development/python-modules/bencoder { };
|
bencoder = callPackage ../development/python-modules/bencoder { };
|
||||||
|
|
||||||
beniget = callPackage ../development/python-modules/beniget { };
|
beniget = callPackage ../development/python-modules/beniget { };
|
||||||
|
|
Loading…
Reference in a new issue