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