Merge pull request #105819 from chkno/jsonstreams
python3Packages.jsonstreams: Init at 0.5.0
This commit is contained in:
commit
e4294be71d
25
pkgs/development/python-modules/jsonstreams/default.nix
Normal file
25
pkgs/development/python-modules/jsonstreams/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user