nixpkgs/pkgs/tools/security/extrude/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
608 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "extrude";
version = "0.0.12";
src = fetchFromGitHub {
owner = "liamg";
repo = pname;
rev = "v${version}";
hash = "sha256-7gCEBhnNU5CqC5n0KP4Dd/fmddPRwNqyMFXTrRrJjfU=";
};
vendorHash = "sha256-8qjIYPkWtYTvl7wAnefpZAjbNSQLQFqRnGGccYZ8ZmU=";
meta = with lib; {
description = "Tool to analyse binaries for missing security features";
mainProgram = "extrude";
homepage = "https://github.com/liamg/extrude";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}