3
0
Fork 0
forked from mirrors/nixpkgs
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 07:41:41 +00:00
stdenv.mkDerivation rec {
pname = "sigtool";
version = "0.1.2";
2020-11-19 07:41:41 +00:00
src = fetchFromGitHub {
owner = "thefloweringash";
repo = "sigtool";
rev = "v${version}";
sha256 = "sha256-v4udqW37vwcqBdqfvfwHnoyXpuLFt188ekVCPCPsTPM";
2020-11-19 07:41:41 +00:00
};
nativeBuildInputs = [ pkg-config ];
2020-11-19 07:41:41 +00:00
buildInputs = [ openssl ];
installFlags = [ "PREFIX=$(out)" ];
}