python3Packages.jsonable: init at 0.3.1
This commit is contained in:
parent
c461142d74
commit
a810046327
31
pkgs/development/python-modules/jsonable/default.nix
Normal file
31
pkgs/development/python-modules/jsonable/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user