nixpkgs-suyu/pkgs/os-specific/darwin/sigtool/default.nix
Andrew Childs e456e9b1ae sigtool: 0.1.0 -> 0.1.2
Fixes build on x86_64-darwin
2021-09-25 10:38:35 +09:00

18 lines
410 B
Nix

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