Merge pull request #279612 from gepbird/add-meta-mainprogram

hck, lf, xdragon, xfce4-terminal: add meta.mainProgram
This commit is contained in:
Mario Rodas 2024-03-14 20:46:22 -05:00 committed by GitHub
commit 6709f48733
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 6 deletions

View file

@ -44,5 +44,6 @@ mkXfceDerivation {
meta = with lib; {
description = "A modern terminal emulator";
maintainers = with maintainers; [ ] ++ teams.xfce.members;
mainProgram = "xfce4-terminal";
};
}

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3 }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "xdragon";
version = "1.2.0";
src = fetchFromGitHub {
owner = "mwh";
repo = "dragon";
rev = "v${version}";
sha256 = "sha256-wqG6idlVvdN+sPwYgWu3UL0la5ssvymZibiak3KeV7M=";
rev = "v${finalAttrs.version}";
hash = "sha256-wqG6idlVvdN+sPwYgWu3UL0la5ssvymZibiak3KeV7M=";
};
nativeBuildInputs = [ pkg-config ];
@ -24,5 +24,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/mwh/dragon";
license = licenses.gpl3;
maintainers = with maintainers; [ das_j ];
mainProgram = "xdragon";
};
}
})

View file

@ -12,10 +12,10 @@ rustPlatform.buildRustPackage rec {
owner = "sstadick";
repo = pname;
rev = "v${version}";
sha256 = "sha256-KPpvai7+El2JA97EXDCstZ66FeyVCe7w+ERDDNRZ/h8=";
hash = "sha256-KPpvai7+El2JA97EXDCstZ66FeyVCe7w+ERDDNRZ/h8=";
};
cargoSha256 = "sha256-TpwUO0BL8kambnxAUE9+l6YYkNL1WzmkTYn1YxjufdY=";
cargoHash = "sha256-TpwUO0BL8kambnxAUE9+l6YYkNL1WzmkTYn1YxjufdY=";
nativeBuildInputs = [ cmake ];
@ -25,5 +25,6 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/sstadick/hck/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit /* or */ unlicense ];
maintainers = with maintainers; [ figsoda ];
mainProgram = "hck";
};
}