nixpkgs/pkgs/tools/misc/blsd/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
720 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub, pkgconfig, libgit2 }:
buildGoPackage rec {
pname = "blsd";
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;
};
}