nixpkgs/pkgs/tools/security/shc/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

22 lines
505 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "shc";
version = "4.0.3";
rev = version;
src = fetchFromGitHub {
inherit rev;
owner = "neurobin";
repo = "shc";
sha256 = "0bfn404plsssa14q89k9l3s5lxq3df0sny5lis4j2w75qrkqx694";
};
meta = with lib; {
homepage = "https://neurobin.org/projects/softwares/unix/shc/";
description = "Shell Script Compiler";
mainProgram = "shc";
platforms = lib.platforms.all;
license = licenses.gpl3;
};
}