1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 six,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "prison";
12 version = "0.1.3";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "betodealmeida";
17 repo = "python-rison";
18 rev = version;
19 hash = "sha256-qor40vUQeTdlO3vwug3GGNX5vkNaF0H7EWlRdsY4bvc=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [ six ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 meta = with lib; {
29 description = "Rison encoder/decoder";
30 homepage = "https://github.com/betodealmeida/python-rison";
31 license = licenses.mit;
32 maintainers = [ ];
33 };
34}