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