3
0
Fork 0
forked from mirrors/nixpkgs

fcgiwrap: switch to fetchFromGitHub

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

View file

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, systemd, fcgi, autoreconfHook, pkg-config }:
{ lib, stdenv, fetchFromGitHub, systemd, fcgi, autoreconfHook, pkg-config }:
stdenv.mkDerivation rec {
pname = "fcgiwrap";
version = "1.1.0";
src = fetchurl {
url = "https://github.com/gnosek/fcgiwrap/archive/${version}.tar.gz";
sha256 = "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac";
src = fetchFromGitHub {
owner = "gnosek";
repo = "fcgiwrap";
rev = version;
hash = "sha256-znAsZk+aB2XO2NK8Mjc+DLwykYKHolnVQPErlaAx3Oc=";
};
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";