sscg: init at 3.0.5

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew
2024-12-30 13:54:55 -03:00
parent d836dc6ebf
commit 2d0e1a2daa
+56
View File
@@ -0,0 +1,56 @@
{
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
versionCheckHook,
meson,
pkg-config,
openssl,
ding-libs,
talloc,
popt,
help2man,
ninja,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "sscg";
version = "3.0.5";
src = fetchFromGitHub {
owner = "sgallagher";
repo = "sscg";
tag = "sscg-${finalAttrs.version}";
hash = "sha256-NzS9EV7DyQzPt4mvuEMs3zKRaQnyKzLNxmeheY7WHm4=";
};
nativeBuildInputs = [
meson
pkg-config
ninja
];
buildInputs = [
openssl
ding-libs
talloc
popt
help2man
];
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru.updateScript = gitUpdater { rev-prefix = "sscg-"; };
meta = {
description = "Simple Signed Certificate Generator";
homepage = "https://github.com/sgallagher/sscg";
changelog = "https://github.com/sgallagher/sscg/blob/sscg-${finalAttrs.version}";
license = [ lib.licenses.gpl3 ];
maintainers = [ lib.maintainers.lucasew ];
mainProgram = "sscg";
};
})