mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
b06c5a678d
* Project is hosted on github.com. * The -Wno-nonnull-compare fix is included in 0.9.7, so remove it from this package expression.
28 lines
710 B
Nix
28 lines
710 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libfaketime-${version}";
|
|
version = "0.9.7";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/wolfcw/libfaketime/archive/v${version}.tar.gz";
|
|
sha256 = "07l189881q0hybzmlpjyp7r5fwz23iafkm957bwy4gnmn9lg6rad";
|
|
};
|
|
|
|
patches = [
|
|
./no-date-in-gzip-man-page.patch
|
|
];
|
|
|
|
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";
|
|
homepage = "https://github.com/wolfcw/libfaketime/";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
}
|