nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 pkg-config,
6 openssl,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "sigtool";
11 version = "0.1.3";
12
13 src = fetchFromGitHub {
14 owner = "thefloweringash";
15 repo = "sigtool";
16 rev = "v${version}";
17 sha256 = "sha256-K3VSFaqcZEomF7kROJz+AwxdW1MmxxEFDaRnWnzcw54=";
18 };
19
20 nativeBuildInputs = [ pkg-config ];
21 buildInputs = [ openssl ];
22
23 installFlags = [ "PREFIX=$(out)" ];
24
25 meta = with lib; {
26 description = "Tool for working with embedded signatures in Mach-O files";
27 homepage = "https://github.com/thefloweringash/sigtool";
28 license = licenses.mit;
29 platforms = platforms.unix;
30 };
31}