depot/third_party/nixpkgs/pkgs/development/python-modules/bencoder/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

27 lines
589 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 ];
};
}