python310Packages.jsonlines: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-08-20 16:46:36 +02:00 committed by GitHub
parent fb9bec6bed
commit fcc4037cc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,29 +1,41 @@
{ lib
, attrs
, fetchFromGitHub
, buildPythonPackage
, attrs
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "jsonlines";
version = "3.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "wbolster";
repo = pname;
rev = version;
sha256 = "sha256-eMpUk5s49OyD+cNGdAeKA2LvpXdKta2QjZIFDnIBKC8=";
hash = "sha256-eMpUk5s49OyD+cNGdAeKA2LvpXdKta2QjZIFDnIBKC8=";
};
propagatedBuildInputs = [ attrs ];
propagatedBuildInputs = [
attrs
];
checkInputs = [ pytestCheckHook ];
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; [ ];
};
}