Loading pkgs/development/python-modules/python-fluent/fluent-runtime.nix 0 → 100644 +61 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, setuptools, # dependencies attrs, babel, fluent-syntax, pytz, typing-extensions, }: let version = "0.4.0"; src = fetchFromGitHub { owner = "projectfluent"; repo = "python-fluent"; rev = "fluent.runtime@${version}"; hash = "sha256-Crg6ybweOZ4B3WfLMOcD7+TxGEZPTHJUxr8ItLB4G+Y="; }; in buildPythonPackage { pname = "fluent-runtime"; inherit version; pyproject = true; inherit src; sourceRoot = "${src.name}/fluent.runtime"; build-system = [ setuptools ]; dependencies = [ attrs babel fluent-syntax pytz typing-extensions ]; nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # https://github.com/projectfluent/python-fluent/pull/203 "test_timeZone" ]; pythonImportsCheck = [ "fluent.runtime" ]; meta = { changelog = "https://github.com/projectfluent/python-fluent/blob/${src.rev}/fluent.runtime/CHANGELOG.rst"; description = "Localization library for expressive translations"; downloadPage = "https://github.com/projectfluent/python-fluent/releases/tag/${src.rev}"; homepage = "https://projectfluent.org/python-fluent/fluent.runtime/${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ getpsyched ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -4510,6 +4510,8 @@ self: super: with self; { fluent-logger = callPackage ../development/python-modules/fluent-logger { }; fluent-runtime = callPackage ../development/python-modules/python-fluent/fluent-runtime.nix { }; fluent-syntax = callPackage ../development/python-modules/python-fluent/fluent-syntax.nix { }; flufl-bounce = callPackage ../development/python-modules/flufl/bounce.nix { }; Loading Loading
pkgs/development/python-modules/python-fluent/fluent-runtime.nix 0 → 100644 +61 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, setuptools, # dependencies attrs, babel, fluent-syntax, pytz, typing-extensions, }: let version = "0.4.0"; src = fetchFromGitHub { owner = "projectfluent"; repo = "python-fluent"; rev = "fluent.runtime@${version}"; hash = "sha256-Crg6ybweOZ4B3WfLMOcD7+TxGEZPTHJUxr8ItLB4G+Y="; }; in buildPythonPackage { pname = "fluent-runtime"; inherit version; pyproject = true; inherit src; sourceRoot = "${src.name}/fluent.runtime"; build-system = [ setuptools ]; dependencies = [ attrs babel fluent-syntax pytz typing-extensions ]; nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # https://github.com/projectfluent/python-fluent/pull/203 "test_timeZone" ]; pythonImportsCheck = [ "fluent.runtime" ]; meta = { changelog = "https://github.com/projectfluent/python-fluent/blob/${src.rev}/fluent.runtime/CHANGELOG.rst"; description = "Localization library for expressive translations"; downloadPage = "https://github.com/projectfluent/python-fluent/releases/tag/${src.rev}"; homepage = "https://projectfluent.org/python-fluent/fluent.runtime/${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ getpsyched ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -4510,6 +4510,8 @@ self: super: with self; { fluent-logger = callPackage ../development/python-modules/fluent-logger { }; fluent-runtime = callPackage ../development/python-modules/python-fluent/fluent-runtime.nix { }; fluent-syntax = callPackage ../development/python-modules/python-fluent/fluent-syntax.nix { }; flufl-bounce = callPackage ../development/python-modules/flufl/bounce.nix { }; Loading