depot/pkgs/os-specific/darwin/sigtool/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

25 lines
638 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, openssl }:
stdenv.mkDerivation rec {
pname = "sigtool";
version = "0.1.3";
src = fetchFromGitHub {
owner = "thefloweringash";
repo = "sigtool";
rev = "v${version}";
sha256 = "sha256-K3VSFaqcZEomF7kROJz+AwxdW1MmxxEFDaRnWnzcw54=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Tool for working with embedded signatures in Mach-O files";
homepage = "https://github.com/thefloweringash/sigtool";
license = licenses.mit;
platforms = platforms.unix;
};
}