1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "ictree";
9 version = "1.0.1";
10
11 src = fetchFromGitHub {
12 owner = "NikitaIvanovV";
13 repo = "ictree";
14 rev = "v${version}";
15 hash = "sha256-77Wo6jN8VUGTXBuGL0a9kvSIixdyEQoxqqNsHq9jcWw=";
16 fetchSubmodules = true;
17 };
18
19 makeFlags = [ "PREFIX=$(out)" ];
20
21 meta = with lib; {
22 description = "Like tree but interactive";
23 homepage = "https://github.com/NikitaIvanovV/ictree";
24 platforms = platforms.unix;
25 maintainers = with maintainers; [ foo-dogsquared ];
26 mainProgram = "ictree";
27 };
28}