nixpkgs/pkgs/tools/text/sift/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

27 lines
594 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "sift";
version = "0.9.0";
rev = "v${version}";
goPackagePath = "github.com/svent/sift";
src = fetchFromGitHub {
inherit rev;
owner = "svent";
repo = "sift";
sha256 = "0bgy0jf84z1c3msvb60ffj4axayfchdkf0xjnsbx9kad1v10g7i1";
};
goDeps = ./deps.nix;
meta = with lib; {
description = "sift is a fast and powerful alternative to grep";
homepage = https://sift-tool.org;
maintainers = [ maintainers.carlsverre ];
license = licenses.gpl3;
platforms = platforms.all;
};
}