nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, pytestCheckHook, fetchFromGitHub }:
2
3buildPythonPackage rec {
4 pname = "crossplane";
5 version = "0.5.7";
6
7 src = fetchFromGitHub {
8 owner = "nginxinc";
9 repo = "crossplane";
10 rev = "v${version}";
11 sha256 = "0lv3frfvnvz5wjxwh3mwy8nbypv4i62v4bvy5fv7vd6kmbxy1q9l";
12 };
13
14 checkInputs = [ pytestCheckHook ];
15
16 pythonImportsCheck = [ "crossplane" ];
17
18 meta = with lib; {
19 homepage = "https://github.com/nginxinc/crossplane";
20 description = "NGINX configuration file parser and builder";
21 license = licenses.asl20;
22 maintainers = with maintainers; [ kaction ];
23 };
24}