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