depot/third_party/nixpkgs/pkgs/development/python-modules/textparser/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

39 lines
687 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "textparser";
version = "0.24.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-VvcI51qp0AKtt22CO6bvFm1+zsHj5MpMHKED+BdWgzU=";
};
nativeBuildInputs = [
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"textparser"
];
meta = with lib; {
homepage = "https://github.com/eerimoq/textparser";
description = "A text parser";
license = licenses.mit;
maintainers = with maintainers; [ gray-heron ];
};
}