about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2017-11-15 07:45:50 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-11-15 08:06:27 +0100
commitb06c5a678d0a890568e3dc56a1602d8493c0f969 (patch)
tree45ae18f1f3f8550626d585144a1f07f350146119 /pkgs/development/libraries
parent3dded417f6510641fb0c0011cc1243608a9f0e9f (diff)
downloadnixlib-b06c5a678d0a890568e3dc56a1602d8493c0f969.tar
nixlib-b06c5a678d0a890568e3dc56a1602d8493c0f969.tar.gz
nixlib-b06c5a678d0a890568e3dc56a1602d8493c0f969.tar.bz2
nixlib-b06c5a678d0a890568e3dc56a1602d8493c0f969.tar.lz
nixlib-b06c5a678d0a890568e3dc56a1602d8493c0f969.tar.xz
nixlib-b06c5a678d0a890568e3dc56a1602d8493c0f969.tar.zst
nixlib-b06c5a678d0a890568e3dc56a1602d8493c0f969.zip
libfaketime: 0.9.6 -> 0.9.7
* Project is hosted on github.com.
* The -Wno-nonnull-compare fix is included in 0.9.7, so remove it from
  this package expression.
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/libfaketime/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/development/libraries/libfaketime/default.nix b/pkgs/development/libraries/libfaketime/default.nix
index c620254aacd6..cedd5f98027a 100644
--- a/pkgs/development/libraries/libfaketime/default.nix
+++ b/pkgs/development/libraries/libfaketime/default.nix
@@ -1,11 +1,12 @@
 { stdenv, fetchurl }:
 
 stdenv.mkDerivation rec {
-  name = "libfaketime-0.9.6";
+  name = "libfaketime-${version}";
+  version = "0.9.7";
 
   src = fetchurl {
-    url = "http://www.code-wizards.com/projects/libfaketime/${name}.tar.gz";
-    sha256 = "1dw2lqsv2iqwxg51mdn25b4fjj3v357s0mc6ahxawqp210krg29s";
+    url = "https://github.com/wolfcw/libfaketime/archive/v${version}.tar.gz";
+    sha256 = "07l189881q0hybzmlpjyp7r5fwz23iafkm957bwy4gnmn9lg6rad";
   };
 
   patches = [
@@ -16,12 +17,9 @@ stdenv.mkDerivation rec {
     makeFlagsArray+=(PREFIX="$out" LIBDIRNAME=/lib)
   '';
 
-  # Work around "libfaketime.c:513:7: error: nonnull argument 'buf' compared to NULL [-Werror=nonnull-compare]".
-  NIX_CFLAGS_COMPILE = "-Wno-nonnull-compare";
-
   meta = with stdenv.lib; {
     description = "Report faked system time to programs without having to change the system-wide time";
-    homepage = http://www.code-wizards.com/projects/libfaketime/;
+    homepage = "https://github.com/wolfcw/libfaketime/";
     license = licenses.gpl2;
     platforms = platforms.all;
     maintainers = [ maintainers.bjornfor ];