summary refs log blame commit diff
path: root/pkgs/development/python-modules/jsonstreams/default.nix
blob: 82152a8d112cb1c43ad62fde6c38d705e1024f98 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                                    
                    




                         
                                                                    













                                                               
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, six, }:

buildPythonPackage rec {
  pname = "jsonstreams";
  version = "0.6.0";

  src = fetchFromGitHub {
    owner = "dcbaker";
    repo = pname;
    rev = version;
    sha256 = "0qw74wz9ngz9wiv89vmilbifsbvgs457yn1bxnzhrh7g4vs2wcav";
  };

  propagatedBuildInputs = [ six ];

  checkInputs = [ pytestCheckHook ];
  pytestFlagsArray = [ "tests --doctest-modules jsonstreams" ];

  meta = with lib; {
    description = "A JSON streaming writer";
    homepage = "https://github.com/dcbaker/jsonstreams";
    license = licenses.mit;
    maintainers = with maintainers; [ chkno ];
  };
}