forked from mirrors/nixpkgs
84b5d5dfef
I recently changed the username, so this reflects that change to make sure people find me. For confirmation, check that the GitHub ID is still 3098430 for my new username using the GitHub API: https://api.github.com/users/edibopp
27 lines
612 B
Nix
27 lines
612 B
Nix
{ lib, buildPythonPackage, fetchPypi, pythonOlder, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "parsy";
|
|
version = "1.3.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "bfc941ea5a69e6ac16bd4f7d9f807bbc17e35edd8b95bcd2499a25b059359012";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = ''
|
|
py.test test/
|
|
'';
|
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
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; [ edibopp ];
|
|
};
|
|
}
|