forked from mirrors/nixpkgs
Merge pull request #32569 from magnetophon/blsd
blsd: init at unstable-2017-07-27
This commit is contained in:
commit
d045d62500
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";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -774,6 +774,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