forked from mirrors/nixpkgs
blsd: init at 2017-07-27
This commit is contained in:
parent
5483c00288
commit
72c5514202
27
pkgs/tools/misc/blsd/default.nix
Normal file
27
pkgs/tools/misc/blsd/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ 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 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;
|
||||
};
|
||||
}
|
11
pkgs/tools/misc/blsd/deps.nix
Normal file
11
pkgs/tools/misc/blsd/deps.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "github.com/libgit2/git2go";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/libgit2/git2go";
|
||||
rev = "334260d743d713a55ff3c097ec6707f2bb39e9d5";
|
||||
sha256 = "0hfya9z2pg29zbc0s92hj241rnbk7d90jzj34q0dp8b7akz6r1rc";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -763,6 +763,10 @@ with pkgs;
|
|||
|
||||
blockdiag = pythonPackages.blockdiag;
|
||||
|
||||
blsd = callPackage ../tools/misc/blsd {
|
||||
libgit2 = libgit2_0_25;
|
||||
};
|
||||
|
||||
bluez-tools = callPackage ../tools/bluetooth/bluez-tools { };
|
||||
|
||||
bmon = callPackage ../tools/misc/bmon { };
|
||||
|
|
Loading…
Reference in a new issue