blob: fc30cfad35641fe7027d7c2edee03eb79d5eec3a (
plain)
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,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage {
pname = "jstyleson";
version = "0.0.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "linjackson78";
repo = "jstyleson";
# https://github.com/linjackson78/jstyleson/issues/6
rev = "544b9fdb43339cdd15dd03dc69a6d0f36dd73241";
hash = "sha256-s/0DDfy+07TuUNjHPqKRT3xMMQl6spZCacB7Dweof7A=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jstyleson" ];
meta = {
description = "Python library to parse JSON with js-style comments";
homepage = "https://github.com/linjackson78/jstyleson";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ambroisie ];
};
}
|