depot/third_party/nixpkgs/pkgs/development/python-modules/rencode/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

26 lines
508 B
Nix

{ 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;
};
}