2014-11-02 12:52:39 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-11-15 06:45:50 +00:00
|
|
|
name = "libfaketime-${version}";
|
|
|
|
version = "0.9.7";
|
2014-11-02 12:52:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-11-15 06:45:50 +00:00
|
|
|
url = "https://github.com/wolfcw/libfaketime/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "07l189881q0hybzmlpjyp7r5fwz23iafkm957bwy4gnmn9lg6rad";
|
2014-11-02 12:52:39 +00:00
|
|
|
};
|
|
|
|
|
2014-04-13 14:46:27 +01:00
|
|
|
patches = [
|
|
|
|
./no-date-in-gzip-man-page.patch
|
|
|
|
];
|
|
|
|
|
2014-11-02 12:52:39 +00:00
|
|
|
preBuild = ''
|
|
|
|
makeFlagsArray+=(PREFIX="$out" LIBDIRNAME=/lib)
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Report faked system time to programs without having to change the system-wide time";
|
2017-11-15 06:45:50 +00:00
|
|
|
homepage = "https://github.com/wolfcw/libfaketime/";
|
2014-11-02 12:52:39 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|