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