blob: 8594591ae1b85d4a84007a9a65e8b3c1563861eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "flake-checker";
version = "0.1.20";
src = fetchFromGitHub {
owner = "DeterminateSystems";
repo = "flake-checker";
rev = "v${version}";
hash = "sha256-Oq+HZzB0mWhixLl8jGcBRWrlOETLhath75ndeJdcN1g=";
};
cargoHash = "sha256-/Y3ihHwOHHmLnS1TcG1SCtUU4LORkCtGp1+t5Ow5j6E=";
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
Security
SystemConfiguration
]);
meta = with lib; {
description = "Health checks for your Nix flakes";
homepage = "https://github.com/${src.owner}/${src.repo}";
changelog = "https://github.com/${src.owner}/${src.repo}/releases/tag/${src.rev}";
license = licenses.asl20;
maintainers = with maintainers; [ lucperkins ];
mainProgram = "flake-checker";
};
}
|