about summary refs log tree commit diff
path: root/pkgs/development/python-modules/jsonxs/default.nix
blob: cf71095cf765e8b001cdd6bfcc774432056d0417 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 ];
  };
}