10 buildPythonPackage rec {
15 src = fetchFromGitHub {
17 repo = "python-jsonable";
18 rev = "refs/tags/${version}";
19 hash = "sha256-3FIzG2djSZOPDdoYeKqs3obQjgHrFtyp0sdBwZakkHA=";
23 # https://github.com/halfak/python-jsonable/pull/2
25 name = "eq-to-assert.patch";
26 url = "https://github.com/halfak/python-jsonable/pull/2/commits/335e61bb4926e644aef983f7313793bf506d2463.patch";
27 hash = "sha256-tCVA0wG+UMyB6oaNf4nbZ2BPWkNumaGPcjP5VJKegBo=";
31 build-system = [ setuptools ];
33 nativeCheckInputs = [ pytestCheckHook ];
35 pythonImportsCheck = [ "jsonable" ];
38 description = "Provides an abstract base class and utilities for defining trivially JSONable python objects";
39 homepage = "https://github.com/halfak/python-jsonable";
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [ GaetanLepage ];