git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.cpyparsing: init at 2.4.5.0.1.1
commit4408345c9c8050ba4913fa969414c03064ea4fe6 authorFabián Heredia Montiel <fabianhjr@protonmail.com> dateTue 3 Nov 2020, 23:14 (6 years ago) parentebed0a2
2 files changed+26
pkgs/development/python-modules/cpyparsing/default.nix+24 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/cpyparsing/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ lib, buildPythonPackage, fetchFromGitHub, cython, python }:
2+
3+buildPythonPackage rec {
4+ pname = "cpyparsing";
5+ version = "2.4.5.0.1.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "evhub";
9+ repo = pname;
10+ rev = "aa8ee45daec5c55328446bad7202ab8f799ab0ce"; # No tags on repo
11+ sha256 = "1mxa5q41cb0k4lkibs0d4lzh1w6kmhhdrsm0w0r1m3s80m05ffmw";
12+ };
13+
14+ nativeBuildInputs = [ cython ];
15+
16+ checkPhase = "${python.interpreter} tests/cPyparsing_test.py";
17+
18+ meta = with lib; {
19+ homepage = "https://github.com/evhub/cpyparsing";
20+ description = "Cython PyParsing implementation";
21+ license = licenses.asl20;
22+ maintainers = with maintainers; [ fabianhjr ];
23+ };
24+}
pkgs/top-level/python-packages.nix+2
@@ -1351,6 +1351,8 @@ in {
13511351
13521352 cppy = callPackage ../development/python-modules/cppy { };
13531353
1354+ cpyparsing = callPackage ../development/python-modules/cpyparsing { };
1355+
13541356 cram = callPackage ../development/python-modules/cram { };
13551357
13561358 crashtest = callPackage ../development/python-modules/crashtest { };