nixpkgs-suyu/pkgs/development/python-modules/bencoder/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
589 B
Nix
Raw Normal View History

2022-11-28 06:49:15 +01:00
{ 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 ];
};
}