2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
2023-02-02 18:25:31 +00:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bencoder";
|
|
|
|
version = "0.2.0";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-rENvM/3X51stkFdJHSq+77VjHvsTyBNAPbCtsRq1L8I=";
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "bencoder" ];
|
|
|
|
|
|
|
|
# There are no tests.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple bencode decoder/encoder library in pure Python";
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://github.com/utdemir/bencoder";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ somasis ];
|
|
|
|
};
|
|
|
|
}
|