about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/blsd/default.nix
blob: 8e3e08fb5e55d3679f689e714254829c29ea227d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, buildGoPackage, fetchFromGitHub, pkgconfig, libgit2 }:

buildGoPackage rec {
  name = "blsd-${version}";
  version = "2017-07-27";

  goPackagePath = "github.com/junegunn/blsd";

  src = fetchFromGitHub {
    owner = "junegunn";
    repo = "blsd";
    rev = "a2ac619821e502452abdeae9ebab45026893b9e8";
    sha256 = "0b0q6i4i28cjqgxqmwxbps22gp9rcd3jz562q5wvxrwlpbzlls2h";
  };

  goDeps = ./deps.nix;

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libgit2 ];

  meta = with stdenv.lib; {
    homepage = https://github.com/junegunn/blsd;
    description = "List directories in breadth-first order";
    license = licenses.mit;
    maintainers = [ maintainers.magnetophon ];
    platforms = platforms.unix;
  };
}