Commit 0934aaf9 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.rangeparser: init at 0.1.3

parent 5614bd58
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools
}:

buildPythonPackage rec {
  pname = "rangeparser";
  version = "0.1.3";
  pyproject = true;

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    pname = "RangeParser";
    inherit version;
    hash = "sha256-gjA7Iytg802Lv7/rLfhGE0yjz4e6FfOXbEoWNPjhCOY=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "rangeparser"
  ];

  meta = with lib; {
    description = "Parses ranges";
    homepage = "https://pypi.org/project/RangeParser/";
    license = licenses.bsd2;
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -12345,6 +12345,8 @@ self: super: with self; {
  rangehttpserver = callPackage ../development/python-modules/rangehttpserver { };
  rangeparser = callPackage ../development/python-modules/rangeparser { };
  rank-bm25 = callPackage ../development/python-modules/rank-bm25 { };
  rapidfuzz = callPackage ../development/python-modules/rapidfuzz { };