depot/third_party/nixpkgs/pkgs/applications/version-management/conform/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

29 lines
726 B
Nix

{ lib, buildGoModule, fetchFromGitHub, git }:
buildGoModule rec {
pname = "conform";
version = "0.1.0-alpha.26";
src = fetchFromGitHub {
owner = "siderolabs";
repo = "conform";
rev = "v${version}";
sha256 = "sha256-+VOwQE2uhoQ4sSXa/SVbyjLn9An08D4GQHxxDRRuXks=";
};
vendorSha256 = "sha256-Oigt7tAK4jhBQtfG1wdLHqi11NWu6uJn5fmuqTmR76E=";
ldflags = [
"-s"
"-w"
"-X github.com/siderolabs/conform/internal/version.Tag=v${version}"
];
checkInputs = [ git ];
meta = with lib; {
description = "Policy enforcement for your pipelines";
homepage = "https://github.com/siderolabs/conform";
license = licenses.mpl20;
maintainers = with maintainers; [ jmgilman jk ];
};
}