mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
27 lines
661 B
Nix
27 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 ];
|
|
};
|
|
}
|