mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
Merge pull request #272440 from lucperkins/flake-checker-0.1.16
flake-checker: init at 0.1.16
This commit is contained in:
commit
8be0b4ff7f
34
pkgs/by-name/fl/flake-checker/package.nix
Normal file
34
pkgs/by-name/fl/flake-checker/package.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user