depot/third_party/nixpkgs/pkgs/development/python-modules/jsonstreams/default.nix
Default email b55a4ee46f Project import generated by Copybara.
GitOrigin-RevId: e9158eca70ae59e73fae23be5d13d3fa0cfc78b4
2020-12-09 13:39:15 +01:00

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 ];
};
}