apacheHttpdPackages.mod_fastcgi: switch to fetchFromGitHub & mark as broken

This commit is contained in:
Felix Buehler 2021-09-19 15:26:54 +02:00
parent 3c12294098
commit c85679ef62

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, apacheHttpd }:
{ lib, stdenv, fetchFromGitHub, fetchurl, apacheHttpd }:
let
apache-24-patch = fetchurl {
@ -11,9 +11,11 @@ stdenv.mkDerivation rec {
pname = "mod_fastcgi";
version = "2.4.7.1";
src = fetchurl {
url = "https://github.com/FastCGI-Archives/mod_fastcgi/archive/${version}.tar.gz";
sha256 = "12g6vcfl9jl8rqf8lzrkdxg2ngca310d3d6an563xqcgrkp8ga55";
src = fetchFromGitHub {
owner = "FastCGI-Archives";
repo = "mod_fastcgi";
rev = version;
hash = "sha256-ovir59kCjKkgbraX23nsmzlMzGdeNTyj3MQd8cgvLsg=";
};
patches = [ apache-24-patch ];
@ -42,5 +44,6 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.peti ];
broken = true; # patch 'compile-against-apache24.diff' no longer works
};
}