Commit e578418f authored by Thomas Gerbet's avatar Thomas Gerbet
Browse files

python3Packages.pyaskalono: init at 0.2.0

Needed to bump Weblate.

https://github.com/kumekay/pyaskalono
parent 0fca36f4
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  rustPlatform,
  nix-update-script,
}:

buildPythonPackage rec {
  pname = "pyaskalono";
  version = "0.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "kumekay";
    repo = "pyaskalono";
    tag = "v${version}";
    hash = "sha256-gNQCtubPs8XjE+ZTuTTzZGkxOhK3/Fv3lDLparaUdaQ=";
  };

  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit pname version src;
    hash = "sha256-rQP6So9tG/9cjB588v+6lp2h+0SjaiWPhKrSXgDYugE=";
  };

  nativeBuildInputs = [
    rustPlatform.cargoSetupHook
    rustPlatform.maturinBuildHook
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "askalono" ];

  meta = {
    description = "Python wrapper for askalono";
    homepage = "https://github.com/kumekay/pyaskalono/";
    changelog = "https://github.com/kumekay/pyaskalono/releases/tag/v${version}";
    license = [ lib.licenses.asl20 ];
    maintainers = with lib.maintainers; [ erictapen ];
  };
}
+4 −0
Original line number Diff line number Diff line
@@ -12941,6 +12941,8 @@ self: super: with self; {
  pyarrow-hotfix = callPackage ../development/python-modules/pyarrow-hotfix { };
  pyaskalono = callPackage ../development/python-modules/pyaskalono { };
  pyasn = callPackage ../development/python-modules/pyasn { };
  pyasn1 = callPackage ../development/python-modules/pyasn1 { };
@@ -19969,6 +19971,8 @@ self: super: with self; {
  unicode-rbnf = callPackage ../development/python-modules/unicode-rbnf { };
  unicode-segmentation-rs = callPackage ../development/python-modules/unicode-segmentation-rs { };
  unicodecsv = callPackage ../development/python-modules/unicodecsv { };
  unicodedata2 = callPackage ../development/python-modules/unicodedata2 { };