Unverified Commit 785872b3 authored by Anthony Roussel's avatar Anthony Roussel
Browse files

python3Packages.graphemeu: init at 0.10.0

parent 0e9f8bf3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  buildPythonPackage,
  click,
  fetchFromGitHub,
  grapheme,
  graphemeu,
  pytestCheckHook,
  python,
  setuptools,
@@ -31,7 +31,7 @@ buildPythonPackage rec {

  propagatedBuildInputs = [
    about-time
    grapheme
    graphemeu
  ];

  pythonRelaxDeps = [ "about_time" ];
+38 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  pytestCheckHook,
  pytest-cov-stub,
}:

buildPythonPackage rec {
  pname = "graphemeu";
  version = "0.10.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "timendum";
    repo = "grapheme";
    tag = "v${version}";
    hash = "sha256-qDspbeOmlfQ4VLPdKEuxNPYilKjwUcAJiEOMfx9fFlI=";
  };

  build-system = [ hatchling ];

  nativeCheckInputs = [
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [ "grapheme" ];

  meta = {
    description = "Python package for grapheme aware string handling";
    homepage = "https://github.com/timendum/grapheme";
    changelog = "https://github.com/timendum/grapheme/blob/v${version}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ anthonyroussel ];
  };
}
+2 −2
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
  blurhash,
  cryptography,
  decorator,
  grapheme,
  graphemeu,
  http-ece,
  python-dateutil,
  python-magic,
@@ -42,7 +42,7 @@ buildPythonPackage rec {

  optional-dependencies = {
    blurhash = [ blurhash ];
    grapheme = [ grapheme ];
    grapheme = [ graphemeu ];
    webpush = [
      http-ece
      cryptography
+1 −1
Original line number Diff line number Diff line
@@ -6550,7 +6550,7 @@ self: super: with self; {
  graph-tool = callPackage ../development/python-modules/graph-tool { inherit (pkgs) cgal graphviz; };
  grapheme = callPackage ../development/python-modules/grapheme { };
  graphemeu = callPackage ../development/python-modules/graphemeu { };
  graphene = callPackage ../development/python-modules/graphene { };