Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / jsonstreams / default.nix
blob9042498664a8312169042b439f7ea19be6950701
1 { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, six, }:
3 buildPythonPackage rec {
4   pname = "jsonstreams";
5   version = "0.5.0";
7   src = fetchFromGitHub {
8     owner = "dcbaker";
9     repo = pname;
10     rev = version;
11     sha256 = "0c85fdqkj5k4b0v0ngx2d9qbmzdsvglh4j9k9h7508bvn7l8fa4b";
12   };
14   propagatedBuildInputs = [ six ];
16   checkInputs = [ pytestCheckHook ];
17   pytestFlagsArray = [ "tests --doctest-modules jsonstreams" ];
19   meta = with lib; {
20     description = "A JSON streaming writer";
21     homepage = "https://github.com/dcbaker/jsonstreams";
22     license = licenses.mit;
23     maintainers = with maintainers; [ chkno ];
24   };