diff options
author | Fabián Heredia Montiel <fabianhjr@protonmail.com> | 2020-11-03 23:14:13 -0600 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2020-11-09 23:16:23 -0800 |
commit | 4408345c9c8050ba4913fa969414c03064ea4fe6 (patch) | |
tree | fe021c485853711dd4216957db955a6001be7eac /pkgs/development/python-modules/cpyparsing | |
parent | ebed0a25ddb7cedef2e6c18df75c8512528c2a44 (diff) |
pythonPackages.cpyparsing: init at 2.4.5.0.1.1
Diffstat (limited to 'pkgs/development/python-modules/cpyparsing')
-rw-r--r-- | pkgs/development/python-modules/cpyparsing/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cpyparsing/default.nix b/pkgs/development/python-modules/cpyparsing/default.nix new file mode 100644 index 0000000000000..66f173106e495 --- /dev/null +++ b/pkgs/development/python-modules/cpyparsing/default.nix @@ -0,0 +1,24 @@ +{ lib, buildPythonPackage, fetchFromGitHub, cython, python }: + +buildPythonPackage rec { + pname = "cpyparsing"; + version = "2.4.5.0.1.1"; + + src = fetchFromGitHub { + owner = "evhub"; + repo = pname; + rev = "aa8ee45daec5c55328446bad7202ab8f799ab0ce"; # No tags on repo + sha256 = "1mxa5q41cb0k4lkibs0d4lzh1w6kmhhdrsm0w0r1m3s80m05ffmw"; + }; + + nativeBuildInputs = [ cython ]; + + 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 ]; + }; +} |