about summary refs log tree commit diff
path: root/pkgs/development/python-modules/bencoder/default.nix
blob: 6de70cb88961695ebd8b9c84f12cdf197421224f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  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 ];
  };
}