nixpkgs/pkgs/tools/misc/ictree/default.nix
2023-11-27 02:17:53 +01:00

25 lines
586 B
Nix

{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "ictree";
version = "1.0.1";
src = fetchFromGitHub {
owner = "NikitaIvanovV";
repo = pname;
rev = "v${version}";
hash = "sha256-77Wo6jN8VUGTXBuGL0a9kvSIixdyEQoxqqNsHq9jcWw=";
fetchSubmodules = true;
};
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Like tree but interactive";
homepage = "https://github.com/NikitaIvanovV/ictree";
platforms = platforms.unix;
maintainers = with maintainers; [ foo-dogsquared ];
mainProgram = "ictree";
};
}