Merge pull request #196512 from r-ryantm/auto-update/python310Packages.fastbencode

python310Packages.fastbencode: 0.0.12 -> 0.0.13
This commit is contained in:
Fabian Affolter 2022-10-18 22:58:24 +02:00 committed by GitHub
commit 0fe2bfcc77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,30 @@
{ lib, buildPythonPackage, fetchPypi, python, cython }:
{ lib
, buildPythonPackage
, fetchPypi
, python
, pythonOlder
, cython
}:
buildPythonPackage rec {
pname = "fastbencode";
version = "0.0.12";
version = "0.0.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-w7F+70R1Wizo/i0GGCc13ADf6JqARtPXMS6/qTmPKEY=";
hash = "sha256-jwAXWJwrybcV6CrDBlsKY/KL3xdTw016pJUZnAXmxsk=";
};
nativeBuildInputs = [ cython ];
nativeBuildInputs = [
cython
];
pythonImportsCheck = [ "fastbencode" ];
pythonImportsCheck = [
"fastbencode"
];
checkPhase = ''
${python.interpreter} -m unittest fastbencode.tests.test_suite
@ -21,6 +34,6 @@ buildPythonPackage rec {
description = "Fast implementation of bencode";
homepage = "https://github.com/breezy-team/fastbencode";
license = licenses.gpl2Plus;
maintainers = [ maintainers.marsam ];
maintainers = with maintainers; [ marsam ];
};
}