mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
libfaketime: new package
Report faked system time to programs without having to change the system-wide time. http://www.code-wizards.com/projects/libfaketime/
This commit is contained in:
parent
7253a6b7c0
commit
a6c21ccea9
22
pkgs/development/libraries/libfaketime/default.nix
Normal file
22
pkgs/development/libraries/libfaketime/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libfaketime-0.9.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.code-wizards.com/projects/libfaketime/${name}.tar.gz";
|
||||
sha256 = "1dw2lqsv2iqwxg51mdn25b4fjj3v357s0mc6ahxawqp210krg29s";
|
||||
};
|
||||
|
||||
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 = http://www.code-wizards.com/projects/libfaketime/;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
}
|
|
@ -5656,6 +5656,8 @@ let
|
|||
|
||||
libetpan = callPackage ../development/libraries/libetpan { };
|
||||
|
||||
libfaketime = callPackage ../development/libraries/libfaketime { };
|
||||
|
||||
libfm = callPackage ../development/libraries/libfm { };
|
||||
libfm-extra = callPackage ../development/libraries/libfm {
|
||||
extraOnly = true;
|
||||
|
|
Loading…
Reference in a new issue