depot/third_party/nixpkgs/pkgs/tools/misc/findup/default.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

29 lines
674 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, testers
, zig_0_10
}:
stdenv.mkDerivation (finalAttrs: {
pname = "findup";
version = "1.1.1";
src = fetchFromGitHub {
owner = "booniepepper";
repo = "findup";
rev = "v${finalAttrs.version}";
hash = "sha256-Tpyiy5oJQ04lqVEOFshFC0+90VoNILQ+N6Dd7lbuH/Q=";
};
nativeBuildInputs = [ zig_0_10.hook ];
passthru.tests.version = testers.testVersion { package = finalAttrs.findup; };
meta = {
homepage = "https://github.com/booniepepper/findup";
description = "Search parent directories for sentinel files";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ booniepepper ];
};
})