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