blob: 5227d722c3dcdcdc175a10c8126fec8197e489c4 (
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
32
33
34
35
36
37
38
39
40
|
{
stdenv,
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
six,
}:
buildPythonPackage rec {
pname = "jsonstreams";
version = "0.6.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "dcbaker";
repo = "jsonstreams";
rev = version;
sha256 = "0qw74wz9ngz9wiv89vmilbifsbvgs457yn1bxnzhrh7g4vs2wcav";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlags = [ "--doctest-modules" ];
enabledTestPaths = [
"tests"
"jsonstreams"
];
meta = {
broken = stdenv.hostPlatform.isDarwin;
description = "JSON streaming writer";
homepage = "https://github.com/dcbaker/jsonstreams";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ chkno ];
};
}
|