depot/third_party/nixpkgs/pkgs/development/python-modules/funcparserlib/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

40 lines
784 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pythonOlder,
six,
}:
buildPythonPackage rec {
pname = "funcparserlib";
version = "1.0.1";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "vlasovskikh";
repo = pname;
rev = version;
hash = "sha256-LE9ItCaEzEGeahpM3M3sSnDBXEr6uX5ogEkO5x2Jgzc=";
};
nativeBuildInputs = [ poetry-core ];
nativeCheckInputs = [
pytestCheckHook
six
];
pythonImportsCheck = [ "funcparserlib" ];
meta = with lib; {
description = "Recursive descent parsing library based on functional combinators";
homepage = "https://github.com/vlasovskikh/funcparserlib";
license = licenses.mit;
platforms = platforms.unix;
};
}