1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, nose
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "jsonable";
10 version = "0.3.1";
11
12 src = fetchFromGitHub {
13 owner = "halfak";
14 repo = "python-jsonable";
15 rev = "refs/tags/${version}";
16 hash = "sha256-3FIzG2djSZOPDdoYeKqs3obQjgHrFtyp0sdBwZakkHA=";
17 };
18
19 nativeCheckInputs = [
20 nose
21 pytestCheckHook
22 ];
23
24 pythonImportsCheck = [ "jsonable" ];
25
26 meta = with lib; {
27 description = "Provides an abstract base class and utilities for defining trivially JSONable python objects";
28 homepage = "https://github.com/halfak/python-jsonable";
29 license = licenses.mit;
30 maintainers = with maintainers; [ GaetanLepage ];
31 };
32}