Merge pull request #279612 from gepbird/add-meta-mainprogram
hck, lf, xdragon, xfce4-terminal: add meta.mainProgram
This commit is contained in:
commit
6709f48733
3 changed files with 9 additions and 6 deletions
|
@ -44,5 +44,6 @@ mkXfceDerivation {
|
|||
meta = with lib; {
|
||||
description = "A modern terminal emulator";
|
||||
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
||||
mainProgram = "xfce4-terminal";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue