Merge pull request #175771 from jmgilman/conform

conform: init at 0.1.0-alpha.25
This commit is contained in:
Sandro 2022-06-06 17:49:04 +02:00 committed by GitHub
commit 5075061493
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, buildGoModule, fetchFromGitHub, git }:
buildGoModule rec {
pname = "conform";
version = "0.1.0-alpha.25";
src = fetchFromGitHub {
owner = "siderolabs";
repo = "conform";
rev = "v${version}";
sha256 = "sha256-WgWgigpqPoEBY4tLjbzK02WFwrCWPGQWJ5eakLv5IWw=";
};
vendorSha256 = "sha256-Oigt7tAK4jhBQtfG1wdLHqi11NWu6uJn5fmuqTmR76E=";
ldflags = [
"-s"
"-w"
"-X github.com/talos-systems/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 ];
};
}

View file

@ -5561,6 +5561,8 @@ with pkgs;
choose = callPackage ../tools/text/choose { };
conform = callPackage ../applications/version-management/git-and-tools/conform { };
emscripten = callPackage ../development/compilers/emscripten {
llvmPackages = llvmPackages_13;
};