depot/third_party/nixpkgs/pkgs/development/tools/misc/findnewest/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

23 lines
614 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";
mainProgram = "fn";
license = licenses.bsd2;
maintainers = with maintainers; [ bhipple ];
};
}