python310Packages.jsonlines: add pythonImportsCheck
This commit is contained in:
parent
fb9bec6bed
commit
fcc4037cc8
|
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue