nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.fluent-runtime: init at 0.4.0

+63
+61
pkgs/development/python-modules/python-fluent/fluent-runtime.nix
··· 1 + { 2 + buildPythonPackage, 3 + fetchFromGitHub, 4 + lib, 5 + pytestCheckHook, 6 + setuptools, 7 + 8 + # dependencies 9 + attrs, 10 + babel, 11 + fluent-syntax, 12 + pytz, 13 + typing-extensions, 14 + }: 15 + 16 + let 17 + version = "0.4.0"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "projectfluent"; 21 + repo = "python-fluent"; 22 + rev = "fluent.runtime@${version}"; 23 + hash = "sha256-Crg6ybweOZ4B3WfLMOcD7+TxGEZPTHJUxr8ItLB4G+Y="; 24 + }; 25 + in 26 + buildPythonPackage { 27 + pname = "fluent-runtime"; 28 + inherit version; 29 + pyproject = true; 30 + 31 + inherit src; 32 + sourceRoot = "${src.name}/fluent.runtime"; 33 + 34 + build-system = [ setuptools ]; 35 + 36 + dependencies = [ 37 + attrs 38 + babel 39 + fluent-syntax 40 + pytz 41 + typing-extensions 42 + ]; 43 + 44 + nativeCheckInputs = [ pytestCheckHook ]; 45 + 46 + disabledTests = [ 47 + # https://github.com/projectfluent/python-fluent/pull/203 48 + "test_timeZone" 49 + ]; 50 + 51 + pythonImportsCheck = [ "fluent.runtime" ]; 52 + 53 + meta = { 54 + changelog = "https://github.com/projectfluent/python-fluent/blob/${src.rev}/fluent.runtime/CHANGELOG.rst"; 55 + description = "Localization library for expressive translations"; 56 + downloadPage = "https://github.com/projectfluent/python-fluent/releases/tag/${src.rev}"; 57 + homepage = "https://projectfluent.org/python-fluent/fluent.runtime/${version}"; 58 + license = lib.licenses.asl20; 59 + maintainers = with lib.maintainers; [ getpsyched ]; 60 + }; 61 + }
+2
pkgs/top-level/python-packages.nix
··· 4510 4510 4511 4511 fluent-logger = callPackage ../development/python-modules/fluent-logger { }; 4512 4512 4513 + fluent-runtime = callPackage ../development/python-modules/python-fluent/fluent-runtime.nix { }; 4514 + 4513 4515 fluent-syntax = callPackage ../development/python-modules/python-fluent/fluent-syntax.nix { }; 4514 4516 4515 4517 flufl-bounce = callPackage ../development/python-modules/flufl/bounce.nix { };