Skip to content

Commit

Permalink
libfaketime: 0.9.6 -> 0.9.7
Browse files Browse the repository at this point in the history
* Project is hosted on github.com.
* The -Wno-nonnull-compare fix is included in 0.9.7, so remove it from
  this package expression.

(cherry picked from commit b06c5a6)
  • Loading branch information
bjornfor committed Nov 18, 2017
1 parent 06bc548 commit 1d24ee9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions 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 = [
Expand All @@ -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 ];
Expand Down

0 comments on commit 1d24ee9

Please sign in to comment.