Merge pull request #187485 from SuperSandro2000/jsonlines

python310Packages.jsonlines: 3.0.0 -> 3.1.0
This commit is contained in:
Fabian Affolter
2022-08-20 17:52:20 +02:00
committed by GitHub
@@ -1,28 +1,41 @@
{ lib, fetchFromGitHub, buildPythonPackage, six
, flake8, pep8-naming, pytest, pytest-cov }:
{ lib
, attrs
, fetchFromGitHub
, buildPythonPackage
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "jsonlines";
version = "3.0.0";
version = "3.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "wbolster";
repo = pname;
rev = version;
sha256 = "1242bvk208vjaw8zl1d7ydb0i05v8fwdgi92d3bi1vaji9s2hv65";
hash = "sha256-eMpUk5s49OyD+cNGdAeKA2LvpXdKta2QjZIFDnIBKC8=";
};
propagatedBuildInputs = [ six ];
propagatedBuildInputs = [
attrs
];
checkInputs = [ flake8 pep8-naming pytest pytest-cov ];
checkPhase = ''
pytest
'';
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"jsonlines"
];
meta = with lib; {
description = "Python library to simplify working with jsonlines and ndjson data";
homepage = "https://github.com/wbolster/jsonlines";
maintainers = with maintainers; [ ];
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}