depot/third_party/nixpkgs/pkgs/development/python-modules/jsonlines/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
748 B
Nix

{
lib,
attrs,
fetchFromGitHub,
buildPythonPackage,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "jsonlines";
version = "3.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "wbolster";
repo = pname;
rev = version;
hash = "sha256-eMpUk5s49OyD+cNGdAeKA2LvpXdKta2QjZIFDnIBKC8=";
};
propagatedBuildInputs = [ attrs ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jsonlines" ];
meta = with lib; {
description = "Python library to simplify working with jsonlines and ndjson data";
homepage = "https://github.com/wbolster/jsonlines";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}