anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / jsonstreams / default.nix
blob49ffcee24b82b0e6800b8509e119a059bac34a23
2   stdenv,
3   lib,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pytestCheckHook,
7   six,
8 }:
10 buildPythonPackage rec {
11   pname = "jsonstreams";
12   version = "0.6.0";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "dcbaker";
17     repo = pname;
18     rev = version;
19     sha256 = "0qw74wz9ngz9wiv89vmilbifsbvgs457yn1bxnzhrh7g4vs2wcav";
20   };
22   propagatedBuildInputs = [ six ];
24   nativeCheckInputs = [ pytestCheckHook ];
25   pytestFlagsArray = [ "tests --doctest-modules jsonstreams" ];
27   meta = with lib; {
28     broken = stdenv.hostPlatform.isDarwin;
29     description = "JSON streaming writer";
30     homepage = "https://github.com/dcbaker/jsonstreams";
31     license = licenses.mit;
32     maintainers = with maintainers; [ chkno ];
33   };