a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
36 lines
717 B
Nix
36 lines
717 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "parsy";
|
|
version = "1.4.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "parsy";
|
|
owner = "python-parsy";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-FislrLb+u4T5m/eEER7kazZHJKEwPHe+Vg/YDJp4PyM=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"parsy"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/python-parsy/parsy";
|
|
description = "Easy-to-use parser combinators, for parsing in pure Python";
|
|
license = [ licenses.mit ];
|
|
maintainers = with maintainers; [ milibopp ];
|
|
};
|
|
}
|