nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, cython
5}:
6
7buildPythonPackage rec {
8 pname = "rencode";
9 version = "1.0.6";
10
11 src = fetchFromGitHub {
12 owner = "aresch";
13 repo = "rencode";
14 rev = "v${version}";
15 sha256 = "sha256-PGjjrZuoGYSPMNqXG1KXoZnOoWIe4g6s056jFhqrJ60=";
16 };
17
18 buildInputs = [ cython ];
19
20 meta = with lib; {
21 homepage = "https://github.com/aresch/rencode";
22 description = "Fast (basic) object serialization similar to bencode";
23 license = licenses.gpl3;
24 };
25
26}