Merge pull request #142471 from figsoda/main-program
treewide: set meta.mainProgram
This commit is contained in:
commit
811da5637a
7 changed files with 19 additions and 8 deletions
|
@ -31,5 +31,6 @@ stdenv.mkDerivation {
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ netcrns ];
|
maintainers = with maintainers; [ netcrns ];
|
||||||
|
mainProgram = "orca";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,5 +33,6 @@ stdenv.mkDerivation rec {
|
||||||
license = with licenses; [ bsd2 bsd3 ];
|
license = with licenses; [ bsd2 bsd3 ];
|
||||||
maintainers = with maintainers; [ dochang ];
|
maintainers = with maintainers; [ dochang ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
mainProgram = "editorconfig";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,7 @@ buildGoPackage rec {
|
||||||
homepage = "https://github.com/cbroglie/mustache";
|
homepage = "https://github.com/cbroglie/mustache";
|
||||||
description = "The mustache template language in Go";
|
description = "The mustache template language in Go";
|
||||||
license = [ licenses.mit ];
|
license = [ licenses.mit ];
|
||||||
maintainers = [ maintainers.Zimmi48 ];
|
maintainers = with maintainers; [ Zimmi48 ];
|
||||||
|
mainProgram = "mustache";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ buildGoModule, fetchFromGitHub, lib }:
|
{ buildGoModule, fetchFromGitHub, lib }:
|
||||||
|
|
||||||
let
|
let
|
||||||
generic = { subPackages, pname, postInstall ? "" }:
|
generic = { subPackages, pname, postInstall ? "", mainProgram }:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
inherit pname;
|
inherit pname;
|
||||||
version = "6.4.1";
|
version = "6.4.1";
|
||||||
|
@ -16,9 +16,9 @@ let
|
||||||
|
|
||||||
inherit subPackages postInstall;
|
inherit subPackages postInstall;
|
||||||
|
|
||||||
vendorSha256 = "sha256-fStGEKAR9fzA6Uom6r59jFGTBUfTTj0TzytoJWuicbU=";
|
vendorSha256 = "sha256-fStGEKAR9fzA6Uom6r59jFGTBUfTTj0TzytoJWuicbU=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
ldflags = let
|
ldflags = let
|
||||||
versionPkg = "github.com/sensu/sensu-go/version";
|
versionPkg = "github.com/sensu/sensu-go/version";
|
||||||
|
@ -28,6 +28,7 @@ let
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
inherit mainProgram;
|
||||||
homepage = "https://sensu.io";
|
homepage = "https://sensu.io";
|
||||||
description = "Open source monitoring tool for ephemeral infrastructure & distributed applications";
|
description = "Open source monitoring tool for ephemeral infrastructure & distributed applications";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
|
@ -54,15 +55,18 @@ in
|
||||||
) > ''${!outputBin}/share/zsh/site-functions/_sensuctl
|
) > ''${!outputBin}/share/zsh/site-functions/_sensuctl
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
mainProgram = "sensuctl";
|
||||||
};
|
};
|
||||||
|
|
||||||
sensu-go-backend = generic {
|
sensu-go-backend = generic {
|
||||||
pname = "sensu-go-backend";
|
pname = "sensu-go-backend";
|
||||||
subPackages = [ "cmd/sensu-backend" ];
|
subPackages = [ "cmd/sensu-backend" ];
|
||||||
|
mainProgram = "sensu-backend";
|
||||||
};
|
};
|
||||||
|
|
||||||
sensu-go-agent = generic {
|
sensu-go-agent = generic {
|
||||||
pname = "sensu-go-agent";
|
pname = "sensu-go-agent";
|
||||||
subPackages = [ "cmd/sensu-agent" ];
|
subPackages = [ "cmd/sensu-agent" ];
|
||||||
|
mainProgram = "sensu-agent";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,5 +32,6 @@ python3Packages.buildPythonApplication rec {
|
||||||
description = "Python script to manage Sony DPT-RP1 without Digital Paper App";
|
description = "Python script to manage Sony DPT-RP1 without Digital Paper App";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ mt-caret ];
|
maintainers = with maintainers; [ mt-caret ];
|
||||||
|
mainProgram = "dptrp1";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://github.com/skywind3000/z.lua";
|
homepage = "https://github.com/skywind3000/z.lua";
|
||||||
description = "A new cd command that helps you navigate faster by learning your habits";
|
description = "A new cd command that helps you navigate faster by learning your habits";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.marsam ];
|
maintainers = with maintainers; [ marsam ];
|
||||||
|
mainProgram = "z.lua";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
{ lib, stdenv
|
{ lib
|
||||||
, fetchFromGitHub
|
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, installShellFiles
|
||||||
|
, stdenv
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, openssl
|
, openssl
|
||||||
, Security
|
, Security
|
||||||
, installShellFiles
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
|
@ -34,5 +35,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
homepage = "https://dns.lookup.dog";
|
homepage = "https://dns.lookup.dog";
|
||||||
license = licenses.eupl12;
|
license = licenses.eupl12;
|
||||||
maintainers = with maintainers; [ bbigras ];
|
maintainers = with maintainers; [ bbigras ];
|
||||||
|
mainProgram = "dog";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue