nixpkgs/pkgs/development/python-modules/crossplane/default.nix
2022-05-09 08:29:15 -04:00

25 lines
619 B
Nix

{ lib, buildPythonPackage, pytestCheckHook, fetchFromGitHub }:
buildPythonPackage rec {
pname = "crossplane";
version = "0.5.7";
src = fetchFromGitHub {
owner = "nginxinc";
repo = "crossplane";
rev = "v${version}";
sha256 = "0lv3frfvnvz5wjxwh3mwy8nbypv4i62v4bvy5fv7vd6kmbxy1q9l";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "crossplane" ];
meta = with lib; {
homepage = "https://github.com/nginxinc/crossplane";
description = "NGINX configuration file parser and builder";
license = licenses.asl20;
maintainers = with maintainers; [ kaction ];
};
}