2014-11-02 13:52:39 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-11-15 07:45:50 +01:00
|
|
|
name = "libfaketime-${version}";
|
|
|
|
version = "0.9.7";
|
2014-11-02 13:52:39 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-11-15 07:45:50 +01:00
|
|
|
url = "https://github.com/wolfcw/libfaketime/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "07l189881q0hybzmlpjyp7r5fwz23iafkm957bwy4gnmn9lg6rad";
|
2014-11-02 13:52:39 +01:00
|
|
|
};
|
|
|
|
|
2014-04-13 15:46:27 +02:00
|
|
|
patches = [
|
|
|
|
./no-date-in-gzip-man-page.patch
|
|
|
|
];
|
|
|
|
|
2014-11-02 13:52:39 +01: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 07:45:50 +01:00
|
|
|
homepage = "https://github.com/wolfcw/libfaketime/";
|
2014-11-02 13:52:39 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|