My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/parsy/default.nix

36 lines
711 B

{ 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=";
};
checkInputs = [
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 ];
};
}