3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #105819 from chkno/jsonstreams

python3Packages.jsonstreams: Init at 0.5.0
This commit is contained in:
Sandro 2020-12-07 12:25:49 +01:00 committed by GitHub
commit e4294be71d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, six, }:
buildPythonPackage rec {
pname = "jsonstreams";
version = "0.5.0";
src = fetchFromGitHub {
owner = "dcbaker";
repo = pname;
rev = version;
sha256 = "0c85fdqkj5k4b0v0ngx2d9qbmzdsvglh4j9k9h7508bvn7l8fa4b";
};
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 ];
};
}

View file

@ -3199,6 +3199,8 @@ in {
jsonschema = callPackage ../development/python-modules/jsonschema { };
jsonstreams = callPackage ../development/python-modules/jsonstreams { };
jsonwatch = callPackage ../development/python-modules/jsonwatch { };
jug = callPackage ../development/python-modules/jug { };