1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/os-specific/darwin/sigtool/default.nix

19 lines
410 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, openssl }:
2020-11-19 02:41:41 -05:00
stdenv.mkDerivation rec {
pname = "sigtool";
version = "0.1.2";
2020-11-19 02:41:41 -05:00
src = fetchFromGitHub {
owner = "thefloweringash";
repo = "sigtool";
rev = "v${version}";
sha256 = "sha256-v4udqW37vwcqBdqfvfwHnoyXpuLFt188ekVCPCPsTPM";
2020-11-19 02:41:41 -05:00
};
nativeBuildInputs = [ pkg-config ];
2020-11-19 02:41:41 -05:00
buildInputs = [ openssl ];
installFlags = [ "PREFIX=$(out)" ];
}