about summary refs log tree commit diff
path: root/pkgs/servers/fcgiwrap
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-09-19 15:26:10 +0200
committerFelix Buehler <account@buehler.rocks>2021-09-22 17:40:09 +0200
commit3c12294098762298166a210558c781df092b9846 (patch)
tree48bb4bb75ea693d78662ffeaec5ef623725b65e9 /pkgs/servers/fcgiwrap
parentd69406b88cfb6a21a69e376da0b5fb44f97ba4eb (diff)
fcgiwrap: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/servers/fcgiwrap')
-rw-r--r--pkgs/servers/fcgiwrap/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/servers/fcgiwrap/default.nix b/pkgs/servers/fcgiwrap/default.nix
index 3e0a4e5d99406..eee65c3a5d1f4 100644
--- a/pkgs/servers/fcgiwrap/default.nix
+++ b/pkgs/servers/fcgiwrap/default.nix
@@ -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";