Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 pname = "findnewest";
5 version = "0.3";
6
7 src = fetchFromGitHub {
8 owner = "0-wiz-0";
9 repo = pname;
10 rev = "${pname}-${version}";
11 sha256 = "1x1cbn2b27h5r0ah5xc06fkalfdci2ngrgd4wibxjw0h88h0nvgq";
12 };
13
14 nativeBuildInputs = [ autoreconfHook ];
15
16 meta = with lib; {
17 homepage = "https://github.com/0-wiz-0/findnewest";
18 description = "Recursively find newest file in a hierarchy and print its timestamp";
19 license = licenses.bsd2;
20 maintainers = with maintainers; [ bhipple ];
21 };
22}