summary refs log tree commit diff
path: root/pkgs/development/tools/misc/findnewest/default.nix
blob: b289c16b7a6e295bc00d9a314f5781a2490c4a5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchFromGitHub, autoreconfHook }:

stdenv.mkDerivation rec {
  pname = "findnewest";
  version = "0.3";

  src = fetchFromGitHub {
    owner = "0-wiz-0";
    repo = pname;
    rev = "${pname}-${version}";
    sha256 = "1x1cbn2b27h5r0ah5xc06fkalfdci2ngrgd4wibxjw0h88h0nvgq";
  };

  nativeBuildInputs = [ autoreconfHook ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/0-wiz-0/findnewest";
    description = "Recursively find newest file in a hierarchy and print its timestamp";
    license = licenses.bsd2;
    maintainers = with maintainers; [ bhipple ];
  };
}