depot/third_party/nixpkgs/pkgs/tools/misc/findup/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

30 lines
708 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.finalPackage; };
meta = {
homepage = "https://github.com/booniepepper/findup";
description = "Search parent directories for sentinel files";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ booniepepper ];
mainProgram = "findup";
};
})