nixos-config/pkgs/ictree.nix

22 lines
474 B
Nix
Raw Normal View History

2022-02-06 09:41:08 +00:00
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "ictree";
2022-07-07 11:33:05 +00:00
version = "1.0.1";
2022-02-06 09:41:08 +00:00
src = fetchFromGitHub {
owner = "NikitaIvanovV";
repo = pname;
rev = "v${version}";
2022-07-07 11:33:05 +00:00
sha256 = "sha256-77Wo6jN8VUGTXBuGL0a9kvSIixdyEQoxqqNsHq9jcWw=";
2022-02-06 09:41:08 +00:00
fetchSubmodules = true;
};
2022-03-28 00:18:15 +00:00
makeFlags = [ "PREFIX=$(out)" ];
2022-02-06 09:41:08 +00:00
meta = with lib; {
2022-03-28 00:18:15 +00:00
description = "Like 'tree' but interactive";
2022-02-06 09:41:08 +00:00
homepage = "https://github.com/NikitaIvanovV/ictree";
};
}