summary refs log tree commit diff
path: root/pkgs/development/python-modules/rencode/default.nix
blob: 464bbd78515c109bf6516fd27da3e166fce76e0a (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
{ lib
, buildPythonPackage
, fetchFromGitHub
, cython
}:

buildPythonPackage rec {
  pname = "rencode";
  version = "1.0.6";

  src = fetchFromGitHub {
    owner = "aresch";
    repo = "rencode";
    rev = "v${version}";
    sha256 = "sha256-PGjjrZuoGYSPMNqXG1KXoZnOoWIe4g6s056jFhqrJ60=";
  };

  buildInputs = [ cython ];

  meta = with lib; {
    homepage = "https://github.com/aresch/rencode";
    description = "Fast (basic) object serialization similar to bencode";
    license = licenses.gpl3;
  };

}