blast: fix and enable strictDeps (#366620)
[NixPkgs.git] / pkgs / by-name / fl / flake-checker / package.nix
blobb3b7eb211a60020e82c5cbd1dd3ba1af8111d89b
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , stdenv
5 , darwin
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "flake-checker";
10   version = "0.2.4";
12   src = fetchFromGitHub {
13     owner = "DeterminateSystems";
14     repo = "flake-checker";
15     rev = "v${version}";
16     hash = "sha256-K5E1sarWIUl4QavHBoS8sPr5Cp8ZndWjLYDLm++d7v0=";
17   };
19   cargoHash = "sha256-TPF4usEIhgkGUJ16pxq0OhQoJJHLzeRXNQvbP8isWM4=";
21   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
22     Security
23     SystemConfiguration
24   ]);
26   meta = with lib; {
27     description = "Health checks for your Nix flakes";
28     homepage = "https://github.com/${src.owner}/${src.repo}";
29     changelog = "https://github.com/${src.owner}/${src.repo}/releases/tag/${src.rev}";
30     license = licenses.asl20;
31     maintainers = with maintainers; [ lucperkins ];
32     mainProgram = "flake-checker";
33   };