mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 11:15:12 +00:00
python39Packages.fastbencode: init at 0.0.7
This commit is contained in:
parent
14ad619e32
commit
3219ff29a2
26
pkgs/development/python-modules/fastbencode/default.nix
Normal file
26
pkgs/development/python-modules/fastbencode/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, python, cython }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fastbencode";
|
||||
version = "0.0.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-tryavlQtBmN5NSlXb0m6iJFQhVT4XQm11tXtevfgxuQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
pythonImportsCheck = [ "fastbencode" ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest fastbencode.tests.test_suite
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast implementation of bencode";
|
||||
homepage = "https://github.com/breezy-team/fastbencode";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
@ -2840,6 +2840,8 @@ in {
|
||||
|
||||
fastavro = callPackage ../development/python-modules/fastavro { };
|
||||
|
||||
fastbencode = callPackage ../development/python-modules/fastbencode { };
|
||||
|
||||
fastcache = callPackage ../development/python-modules/fastcache { };
|
||||
|
||||
fastcore = callPackage ../development/python-modules/fastcore { };
|
||||
|
Loading…
Reference in New Issue
Block a user