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

python3Packages.fluent-pygments: init at 1.0

+53
+51
pkgs/development/python-modules/python-fluent/fluent-pygments.nix
··· 1 + { 2 + buildPythonPackage, 3 + fetchFromGitHub, 4 + lib, 5 + pytestCheckHook, 6 + setuptools, 7 + 8 + # dependencies 9 + fluent-syntax, 10 + pygments, 11 + six, 12 + }: 13 + 14 + let 15 + version = "1.0"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "projectfluent"; 19 + repo = "python-fluent"; 20 + rev = "fluent.pygments@${version}"; 21 + hash = "sha256-AR2uce3HS1ELzpoHmx7F/5/nrL+7KhYemw/00nmvLik="; 22 + }; 23 + in 24 + buildPythonPackage { 25 + pname = "fluent-pygments"; 26 + inherit version; 27 + pyproject = true; 28 + 29 + inherit src; 30 + sourceRoot = "${src.name}/fluent.pygments"; 31 + 32 + build-system = [ setuptools ]; 33 + 34 + dependencies = [ 35 + fluent-syntax 36 + pygments 37 + six 38 + ]; 39 + 40 + nativeCheckInputs = [ pytestCheckHook ]; 41 + 42 + pythonImportsCheck = [ "fluent.pygments" ]; 43 + 44 + meta = { 45 + changelog = "https://github.com/projectfluent/python-fluent/blob/main/fluent.pygments/CHANGELOG.rst"; 46 + description = "Plugin for pygments to add syntax highlighting of Fluent files in Sphinx"; 47 + homepage = "https://projectfluent.org/python-fluent/fluent.pygments/${version}"; 48 + license = lib.licenses.asl20; 49 + maintainers = with lib.maintainers; [ getpsyched ]; 50 + }; 51 + }
+2
pkgs/top-level/python-packages.nix
··· 4510 4510 4511 4511 fluent-logger = callPackage ../development/python-modules/fluent-logger { }; 4512 4512 4513 + fluent-pygments = callPackage ../development/python-modules/python-fluent/fluent-pygments.nix { }; 4514 + 4513 4515 fluent-runtime = callPackage ../development/python-modules/python-fluent/fluent-runtime.nix { }; 4514 4516 4515 4517 fluent-syntax = callPackage ../development/python-modules/python-fluent/fluent-syntax.nix { };