fortify-headers: init at 1.1alpine1

This commit is contained in:
Robert Scott 2023-02-27 23:13:16 +00:00
parent c0f799f9b1
commit 842726c6dc
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, stdenv
, fetchurl
}:
stdenv.mkDerivation {
pname = "fortify-headers";
version = "1.1alpine1";
# upstream only accessible via git - unusable during bootstrap, hence
# extract from the alpine package
src = fetchurl {
url = "https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/fortify-headers-1.1-r1.apk";
name = "fortify-headers.tar.gz"; # ensure it's extracted as a .tar.gz
hash = "sha256-A67NzUv+dldARY+MTaoVnezTg+Es8ZK/b7XOxA6KzpI=";
};
installPhase = ''
runHook preInstall
mkdir -p $out
cp -r include/fortify $out/include
runHook postInstall
'';
meta = {
description = "Standalone header-based fortify-source implementation";
homepage = "https://git.2f30.org/fortify-headers";
license = lib.licenses.bsd0;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ ris ];
};
}

View file

@ -21096,6 +21096,8 @@ with pkgs;
folks = callPackage ../development/libraries/folks { };
fortify-headers = callPackage ../development/libraries/fortify-headers { };
makeFontsConf = let fontconfig_ = fontconfig; in {fontconfig ? fontconfig_, fontDirectories}:
callPackage ../development/libraries/fontconfig/make-fonts-conf.nix {
inherit fontconfig fontDirectories;