Commit a8100463 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.jsonable: init at 0.3.1

parent c461142d
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, nose
}:

buildPythonPackage rec {
  pname = "jsonable";
  version = "0.3.1";

  src = fetchFromGitHub {
    owner = "halfak";
    repo = "python-jsonable";
    rev = "refs/tags/${version}";
    hash = "sha256-3FIzG2djSZOPDdoYeKqs3obQjgHrFtyp0sdBwZakkHA=";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  checkInputs = [ nose ];

  pythonImportsCheck = [ "jsonable" ];

  meta = with lib; {
    description = "Provides an abstract base class and utilities for defining trivially JSONable python objects";
    homepage = "https://github.com/halfak/python-jsonable";
    license = licenses.mit;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -5373,6 +5373,8 @@ self: super: with self; {

  json-stream-rs-tokenizer = callPackage ../development/python-modules/json-stream-rs-tokenizer { };

  jsonable = callPackage ../development/python-modules/jsonable { };

  jsonnet = buildPythonPackage { inherit (pkgs.jsonnet) name src; };

  jsonpatch = callPackage ../development/python-modules/jsonpatch { };