xdragon: add meta.mainProgram

This commit is contained in:
Gutyina Gergő 2024-01-08 12:53:28 +01:00
parent 834ad25a8f
commit 250ed20d72
No known key found for this signature in database

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";
};
}
})