b55a4ee46f
GitOrigin-RevId: e9158eca70ae59e73fae23be5d13d3fa0cfc78b4
25 lines
646 B
Nix
25 lines
646 B
Nix
{ 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 ];
|
|
};
|
|
}
|