2017-12-11 07:24:40 -08:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub, pkgconfig, libgit2 }:
|
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
buildGoPackage {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "blsd";
|
2017-12-11 07:24:40 -08:00
|
|
|
version = "2017-07-27";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/junegunn/blsd";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "junegunn";
|
|
|
|
repo = "blsd";
|
|
|
|
rev = "a2ac619821e502452abdeae9ebab45026893b9e8";
|
|
|
|
sha256 = "0b0q6i4i28cjqgxqmwxbps22gp9rcd3jz562q5wvxrwlpbzlls2h";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2018-11-20 05:33:14 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libgit2 ];
|
2017-12-11 07:24:40 -08:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/junegunn/blsd";
|
2017-12-11 07:24:40 -08:00
|
|
|
description = "List directories in breadth-first order";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.unix;
|
2020-03-18 02:15:14 -07:00
|
|
|
broken = true; # since 2020-02-08, libgit2 is incompatible upstream is dead.
|
2017-12-11 07:24:40 -08:00
|
|
|
};
|
|
|
|
}
|