mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python3Packages.ngxparse: init at 0.5.16
Assisted-by: Claude Code (Claude Opus 5.5)
This commit is contained in:
36
pkgs/development/python-modules/ngxparse/default.nix
Normal file
36
pkgs/development/python-modules/ngxparse/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ngxparse";
|
||||
version = "0.5.16";
|
||||
pyproject = true;
|
||||
|
||||
# Fetching from GitHub because the PyPI sdist is missing the test fixtures
|
||||
src = fetchFromGitHub {
|
||||
owner = "dvershinin";
|
||||
repo = "crossplane";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-gXzVjY89YjppneR9Vuce+V+RKIcbIBEvLeAoI54ZegM=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
# The ngxparse distribution ships its importable module as `crossplane`
|
||||
# (it's a drop-in replacement for the upstream nginxinc/crossplane).
|
||||
pythonImportsCheck = [ "crossplane" ];
|
||||
|
||||
meta = {
|
||||
description = "Reliable and fast NGINX configuration file parser (maintained fork of crossplane)";
|
||||
homepage = "https://github.com/dvershinin/crossplane";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ dvershinin ];
|
||||
};
|
||||
}
|
||||
@@ -11214,6 +11214,8 @@ self: super: with self; {
|
||||
|
||||
nglview = callPackage ../development/python-modules/nglview { };
|
||||
|
||||
ngxparse = callPackage ../development/python-modules/ngxparse { };
|
||||
|
||||
nh3 = callPackage ../development/python-modules/nh3 { };
|
||||
|
||||
nhc = callPackage ../development/python-modules/nhc { };
|
||||
|
||||
Reference in New Issue
Block a user