mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
fortify-headers: init at 1.1alpine1
This commit is contained in:
parent
c0f799f9b1
commit
842726c6dc
pkgs
34
pkgs/development/libraries/fortify-headers/default.nix
Normal file
34
pkgs/development/libraries/fortify-headers/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user