Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / jsonstreams / default.nix
blob6fcd075c8445a21c36e558e3e7c84b0f7fa87923
1 { stdenv, lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, six, }:
3 buildPythonPackage rec {
4   pname = "jsonstreams";
5   version = "0.6.0";
6   format = "setuptools";
8   src = fetchFromGitHub {
9     owner = "dcbaker";
10     repo = pname;
11     rev = version;
12     sha256 = "0qw74wz9ngz9wiv89vmilbifsbvgs457yn1bxnzhrh7g4vs2wcav";
13   };
15   propagatedBuildInputs = [ six ];
17   nativeCheckInputs = [ pytestCheckHook ];
18   pytestFlagsArray = [ "tests --doctest-modules jsonstreams" ];
20   meta = with lib; {
21     broken = stdenv.isDarwin;
22     description = "A JSON streaming writer";
23     homepage = "https://github.com/dcbaker/jsonstreams";
24     license = licenses.mit;
25     maintainers = with maintainers; [ chkno ];
26   };