Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
752 B
Nix
33 lines
752 B
Nix
{
|
|
lib,
|
|
rustPackages,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
}:
|
|
|
|
rustPackages.rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "hawkeye";
|
|
version = "6.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "korandoru";
|
|
repo = "hawkeye";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-73v09Lb8okJBtjQ/Kdfla9e3ezgMrSxifE83z6bjj64=";
|
|
};
|
|
|
|
cargoHash = "sha256-tjdxBl/XjL801yrtLZ/iEuF3kkXwSob0S2eIgW8jp7k=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/korandoru/hawkeye";
|
|
description = "Simple license header checker and formatter, in multiple distribution forms";
|
|
license = lib.licenses.asl20;
|
|
mainProgram = "hawkeye";
|
|
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
|
};
|
|
})
|