nixpkgs-suyu/pkgs/development/tools/misc/findnewest/default.nix
2020-04-10 17:54:53 +01:00

22 lines
592 B
Nix

{ 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 ];
};
}