2018-07-16 19:23:18 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "parsy";
|
2019-10-24 07:47:41 +01:00
|
|
|
version = "1.3.0";
|
2018-07-16 19:23:18 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:41 +01:00
|
|
|
sha256 = "bfc941ea5a69e6ac16bd4f7d9f807bbc17e35edd8b95bcd2499a25b059359012";
|
2018-07-16 19:23:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test test/
|
|
|
|
'';
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/python-parsy/parsy";
|
2018-07-16 19:23:18 +01:00
|
|
|
description = "Easy-to-use parser combinators, for parsing in pure Python";
|
|
|
|
license = [ licenses.mit ];
|
2020-06-03 14:42:55 +01:00
|
|
|
maintainers = with maintainers; [ edibopp ];
|
2018-07-16 19:23:18 +01:00
|
|
|
};
|
|
|
|
}
|