python3Packages.jsonable: init at 0.3.1

This commit is contained in:
Gaetan Lepage 2023-07-07 19:33:49 +02:00
parent c461142d74
commit a810046327
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ 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 ];
};
}

View File

@ -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 { };