xdragon: add meta.mainProgram
This commit is contained in:
parent
834ad25a8f
commit
250ed20d72
@ -1,14 +1,14 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3 }:
|
{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "xdragon";
|
pname = "xdragon";
|
||||||
version = "1.2.0";
|
version = "1.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mwh";
|
owner = "mwh";
|
||||||
repo = "dragon";
|
repo = "dragon";
|
||||||
rev = "v${version}";
|
rev = "v${finalAttrs.version}";
|
||||||
sha256 = "sha256-wqG6idlVvdN+sPwYgWu3UL0la5ssvymZibiak3KeV7M=";
|
hash = "sha256-wqG6idlVvdN+sPwYgWu3UL0la5ssvymZibiak3KeV7M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
@ -24,5 +24,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://github.com/mwh/dragon";
|
homepage = "https://github.com/mwh/dragon";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ das_j ];
|
maintainers = with maintainers; [ das_j ];
|
||||||
|
mainProgram = "xdragon";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user