nixpkgs-suyu/pkgs/os-specific/darwin/sigtool/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
410 B
Nix
Raw Normal View History

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