2017-12-11 16:24:40 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub, pkgconfig, libgit2 }:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
buildGoPackage {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "blsd";
|
2017-12-11 16:24:40 +01: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 14:33:14 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libgit2 ];
|
2017-12-11 16:24:40 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/junegunn/blsd";
|
2017-12-11 16:24:40 +01:00
|
|
|
description = "List directories in breadth-first order";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.unix;
|
2020-03-18 10:15:14 +01:00
|
|
|
broken = true; # since 2020-02-08, libgit2 is incompatible upstream is dead.
|
2017-12-11 16:24:40 +01:00
|
|
|
};
|
|
|
|
}
|