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";
|
|
|
|
version = "0.1.0";
|
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}";
|
|
|
|
sha256 = "sha256-GSVkF1BkZEkIF+q0SsoCuE0q48DRclE3E+qKc6JEc/0=";
|
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)" ];
|
|
|
|
}
|