about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorR. Ryantm <ryantm-bot@ryantm.com>2022-03-22 00:50:17 +0000
committerSandro Jäckel <sandro.jaeckel@gmail.com>2022-03-23 05:23:33 +0100
commit01ed018d6de1a729b3d2ed2b245850c6c1b3f2a1 (patch)
tree69651283efbfde95a8a8d93df213b8688ad1120a /pkgs
parent3d9818b9c79690c972469ab1a318c74cf1d89f3c (diff)
downloadnixlib-01ed018d6de1a729b3d2ed2b245850c6c1b3f2a1.tar
nixlib-01ed018d6de1a729b3d2ed2b245850c6c1b3f2a1.tar.gz
nixlib-01ed018d6de1a729b3d2ed2b245850c6c1b3f2a1.tar.bz2
nixlib-01ed018d6de1a729b3d2ed2b245850c6c1b3f2a1.tar.lz
nixlib-01ed018d6de1a729b3d2ed2b245850c6c1b3f2a1.tar.xz
nixlib-01ed018d6de1a729b3d2ed2b245850c6c1b3f2a1.tar.zst
nixlib-01ed018d6de1a729b3d2ed2b245850c6c1b3f2a1.zip
python310Packages.arpeggio: 1.10.2 -> 2.0.0, add SuperSandro2000 as maintainer
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/arpeggio/default.nix32
1 files changed, 15 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/arpeggio/default.nix b/pkgs/development/python-modules/arpeggio/default.nix
index 5ad433413ce7..d3d320785293 100644
--- a/pkgs/development/python-modules/arpeggio/default.nix
+++ b/pkgs/development/python-modules/arpeggio/default.nix
@@ -1,34 +1,32 @@
 { lib
 , buildPythonPackage
 , fetchPypi
-, glibcLocales
-, pytest-runner
 , pytestCheckHook
 }:
 
 buildPythonPackage rec {
-  pname = "Arpeggio";
-  version = "1.10.2";
+  pname = "arpeggio";
+  version = "2.0.0";
 
   src = fetchPypi {
-    inherit pname version;
-    sha256 = "bfe349f252f82f82d84cb886f1d5081d1a31451e6045275e9f90b65d0daa06f1";
+    pname = "Arpeggio";
+    inherit version;
+    sha256 = "sha256-1rA4OQGbuKaHhfkpLuajaxlU64S5JbhKa4peHibT7T0=";
   };
 
-  # Shall not be needed for next release
-  LC_ALL = "en_US.UTF-8";
-  buildInputs = [ glibcLocales ];
-
-  nativeBuildInputs = [ pytest-runner ];
+  postPatch = ''
+    substituteInPlace setup.cfg \
+      --replace "pytest-runner" ""
+  '';
 
   checkInputs = [ pytestCheckHook ];
 
-  disabledTests = [ "test_examples" "test_issue_22" ];
-
-  dontUseSetuptoolsCheck = true;
+  pythonImportsCheck = [ "arpeggio" ];
 
-  meta = {
-    description = "Packrat parser interpreter";
-    license = lib.licenses.mit;
+  meta = with lib; {
+    description = "Recursive descent parser with memoization based on PEG grammars (aka Packrat parser)";
+    homepage = "https://github.com/textX/Arpeggio";
+    license = licenses.mit;
+    maintainers = with maintainers; [ SuperSandro2000 ];
   };
 }