504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
30 lines
759 B
Nix
30 lines
759 B
Nix
{ lib, buildGoModule, fetchFromGitHub, git }:
|
|
|
|
buildGoModule rec {
|
|
pname = "conform";
|
|
version = "0.1.0-alpha.27";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "siderolabs";
|
|
repo = "conform";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-lIXkflWQcUcmRDX9iSszFLKpI8nSgkCCB2+GQn07+DM=";
|
|
};
|
|
vendorHash = "sha256-Oigt7tAK4jhBQtfG1wdLHqi11NWu6uJn5fmuqTmR76E=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/siderolabs/conform/internal/version.Tag=v${version}"
|
|
];
|
|
|
|
nativeCheckInputs = [ git ];
|
|
|
|
meta = with lib; {
|
|
description = "Policy enforcement for your pipelines";
|
|
homepage = "https://github.com/siderolabs/conform";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ jmgilman jk ];
|
|
mainProgram = "conform";
|
|
};
|
|
}
|