depot/third_party/nixpkgs/pkgs/development/python-modules/cpyparsing/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

26 lines
661 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, cython, pexpect, python }:
buildPythonPackage rec {
pname = "cpyparsing";
version = "2.4.7.1.1.0";
src = fetchFromGitHub {
owner = "evhub";
repo = pname;
rev = "v${version}";
sha256 = "1rqj89mb4dz0xk8djh506nrlqfqqdva9qgb5llrvvwjqv3vqnrj4";
};
nativeBuildInputs = [ cython ];
checkInputs = [ pexpect ];
checkPhase = "${python.interpreter} tests/cPyparsing_test.py";
meta = with lib; {
homepage = "https://github.com/evhub/cpyparsing";
description = "Cython PyParsing implementation";
license = licenses.asl20;
maintainers = with maintainers; [ fabianhjr ];
};
}