2021-09-23 15:35:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, openssl }:
|
2021-05-28 09:39:13 +00:00
|
|
|
|
2021-09-23 15:35:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sigtool";
|
2022-10-30 15:09:59 +00:00
|
|
|
version = "0.1.3";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thefloweringash";
|
|
|
|
repo = "sigtool";
|
2021-09-23 15:35:13 +00:00
|
|
|
rev = "v${version}";
|
2022-10-30 15:09:59 +00:00
|
|
|
sha256 = "sha256-K3VSFaqcZEomF7kROJz+AwxdW1MmxxEFDaRnWnzcw54=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
2021-09-23 15:35:13 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-05-28 09:39:13 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
}
|