nixpkgs/pkgs/development/tools/misc/findnewest/default.nix
2021-01-23 20:30:03 +07:00

22 lines
590 B
Nix

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