summary refs log tree commit diff
path: root/pkgs/development/nim-packages/jsonschema/default.nix
blob: e19af7fbb865f30237088ced1c395b7bc98a226d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildNimPackage, fetchFromGitHub, astpatternmatching }:

buildNimPackage rec {
  pname = "jsonschema";
  version = "unstable-2019-09-12";

  src = fetchFromGitHub {
    owner = "PMunch";
    repo = "jsonschema";
    rev = "7b41c03e3e1a487d5a8f6b940ca8e764dc2cbabf";
    sha256 = "1js64jqd854yjladxvnylij4rsz7212k31ks541pqrdzm6hpblbz";
  };

  propagatedBuildInputs = [ astpatternmatching ];

  meta = with lib; {
    homepage = "https://github.com/PMunch/jsonschema";
    description = "Schema validation of JSON for Nim";
    license = licenses.mit;
    maintainers = [ maintainers.marsam ];
  };
}