fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
28 lines
595 B
Nix
28 lines
595 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
}:
|
|
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; {
|
|
description = "A simple bencode decoder/encoder library in pure Python";
|
|
homepage = "https://github.com/utdemir/bencoder";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ somasis ];
|
|
};
|
|
}
|