diff options
author | Luc Perkins <lucperkins@gmail.com> | 2023-12-06 11:11:44 +0200 |
---|---|---|
committer | Luc Perkins <lucperkins@gmail.com> | 2024-01-02 13:00:12 -0300 |
commit | d8062309ce63c8cebfd642caee9b2e1fd8977f76 (patch) | |
tree | ed2766b6ede20df5e12c0793c003abdd68ea61ee /pkgs/by-name/fl/flake-checker | |
parent | a9e83fd037b5e4316000e4f5a67aa1bc10e18d0c (diff) |
flake-checker: init at 0.1.16
Diffstat (limited to 'pkgs/by-name/fl/flake-checker')
-rw-r--r-- | pkgs/by-name/fl/flake-checker/package.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/by-name/fl/flake-checker/package.nix b/pkgs/by-name/fl/flake-checker/package.nix new file mode 100644 index 0000000000000..8c39c66b8553b --- /dev/null +++ b/pkgs/by-name/fl/flake-checker/package.nix @@ -0,0 +1,34 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, stdenv +, darwin +}: + +rustPlatform.buildRustPackage rec { + pname = "flake-checker"; + version = "0.1.16"; + + src = fetchFromGitHub { + owner = "DeterminateSystems"; + repo = "flake-checker"; + rev = "v${version}"; + hash = "sha256-n20qW7TS/FSaRseyGFbgJ0qy3ILQRjzEpbFRLT6crI8="; + }; + + cargoHash = "sha256-inwVhy31T0jFpdAXh3So3kfFezeKkBG9HzxAQ1+7FXQ="; + + 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"; + }; +} |