nixpkgs-suyu/pkgs/tools/misc/massren/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

22 lines
563 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "massren";
version = "1.5.4";
src = fetchFromGitHub {
owner = "laurent22";
repo = "massren";
rev = "v${version}";
sha256 = "1bn6qy30kpxi3rkr3bplsc80xnhj0hgfl0qaczbg3zmykfmsl3bl";
};
goPackagePath = "github.com/laurent22/massren";
meta = with lib; {
description = "Easily rename multiple files using your text editor";
license = licenses.mit;
homepage = https://github.com/laurent22/massren;
maintainers = with maintainers; [ andrew-d ];
};
}