2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, perlPackages }:
|
2018-02-09 08:05:11 +00:00
|
|
|
|
2021-05-03 13:21:54 +01:00
|
|
|
perlPackages.buildPerlPackage rec {
|
2019-06-20 14:07:56 +01:00
|
|
|
pname = "rename";
|
2021-05-03 13:21:54 +01:00
|
|
|
version = "1.11";
|
2018-03-09 17:26:25 +00:00
|
|
|
outputs = [ "out" ];
|
2018-02-09 08:05:11 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pstray";
|
|
|
|
repo = "rename";
|
2021-05-03 13:21:54 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "SK6wS3IxjCftuDiiZU27TFnn9GVd137zmzvGH88cNLI=";
|
2018-02-09 08:05:11 +00:00
|
|
|
};
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-02-09 08:05:11 +00:00
|
|
|
description = "Rename files according to a Perl rewrite expression";
|
2019-12-08 16:50:31 +00:00
|
|
|
homepage = "https://github.com/pstray/rename";
|
2021-05-03 13:21:54 +01:00
|
|
|
maintainers = with maintainers; [ mkg cyplo ];
|
2018-02-09 08:05:11 +00:00
|
|
|
license = with licenses; [ gpl1Plus ];
|
|
|
|
};
|
|
|
|
}
|