Files
nixpkgs/pkgs/development/python-modules/bencode-py/default.nix
Fabian Affolter 60db2bac75 python3Packages.bencode-py: 4.0.0 -> 4.1.0
This commit was automatically generated using update-python-libraries.
2026-08-25 01:24:10 +02:00

38 lines
746 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pbr,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "bencode-py";
version = "4.1.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit (finalAttrs) version;
pname = "bencode.py";
hash = "sha256-+TNytF3DcP5AJPkjASjx+fvA/jDD1B8cOn0C/myJmBM=";
};
build-system = [
setuptools
pbr
];
pythonImportsCheck = [ "bencodepy" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Simple bencode parser (for Python 2, Python 3 and PyPy)";
homepage = "https://github.com/fuzeman/bencode.py";
license = lib.licenses.bitTorrent11;
maintainers = with lib.maintainers; [ vamega ];
};
})