depot/third_party/nixpkgs/pkgs/development/python-modules/jsonlines/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
725 B
Nix

{ lib, fetchFromGitHub, buildPythonPackage, six
, flake8, pep8-naming, pytest, pytestcov, pytestpep8 }:
buildPythonPackage rec {
pname = "jsonlines";
version = "1.2.0";
src = fetchFromGitHub {
owner = "wbolster";
repo = pname;
rev = version;
sha256 = "1f8zsqy8p9a41gqg2a5x7sppc5qhhq7gw58id2aigb270yxzs7jw";
};
propagatedBuildInputs = [ six ];
checkInputs = [ flake8 pep8-naming pytest pytestcov pytestpep8 ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Python library to simplify working with jsonlines and ndjson data";
homepage = "https://github.com/wbolster/jsonlines";
maintainers = with maintainers; [ sondr3 ];
license = licenses.bsd3;
};
}