nixpkgs-immich/pkgs/tools/misc/rename/default.nix
2024-09-17 10:23:40 -06:00

21 lines
574 B
Nix

{ lib, fetchFromGitHub, perlPackages }:
perlPackages.buildPerlPackage rec {
pname = "rename";
version = "1.11";
outputs = [ "out" ];
src = fetchFromGitHub {
owner = "pstray";
repo = "rename";
rev = "v${version}";
sha256 = "SK6wS3IxjCftuDiiZU27TFnn9GVd137zmzvGH88cNLI=";
};
meta = with lib; {
description = "Rename files according to a Perl rewrite expression";
homepage = "https://github.com/pstray/rename";
maintainers = with maintainers; [ mkg cyplo ];
license = with licenses; [ gpl1Plus ];
mainProgram = "rename";
};
}