bat: add meta.mainProgram
Follow up of https://github.com/NixOS/nixpkgs/pull/246386
This commit is contained in:
parent
9eaec2881f
commit
bff3b3c9e1
@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sharkdp";
|
||||
repo = pname;
|
||||
repo = "bat";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-cGHxB3Wp8yEcJBMtSOec6l7iBsMLhUtJ7nh5fijnWZs=";
|
||||
};
|
||||
@ -58,6 +58,7 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/sharkdp/bat";
|
||||
changelog = "https://github.com/sharkdp/bat/raw/v${version}/CHANGELOG.md";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
mainProgram = "bat";
|
||||
maintainers = with maintainers; [ dywedir lilyball zowoq SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user