Skip to content

Commit

Permalink
python3Packages.jsonxs: init at 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tie committed Jun 30, 2024
1 parent eee3324 commit 39419b6
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/jsonxs/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
}:
let
pname = "jsonxs";
version = "0.6";
in
buildPythonPackage {
inherit pname version;

pyproject = true;

src = fetchFromGitHub {
owner = "fboender";
repo = "jsonxs";
rev = "v${version}";
hash = "sha256-CmKK+qStb9xjmEACY41tQnffD4cMUUQPb74Cni5FTEk=";
};

build-system = [ setuptools ];

meta = {
description = "A python library that uses path expression strings to get and set values in JSON";
homepage = "https://github.com/fboender/jsonxs";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.tie ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6132,6 +6132,8 @@ self: super: with self; {

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

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

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

jsonconversion = callPackage ../development/python-modules/jsonconversion { };
Expand Down

0 comments on commit 39419b6

Please sign in to comment.