nixpkgs/pkgs/tools/misc/rename/default.nix

20 lines
546 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, perlPackages }:
2018-02-09 09:05:11 +01:00
2021-05-03 14:21:54 +02:00
perlPackages.buildPerlPackage rec {
pname = "rename";
2021-05-03 14:21:54 +02:00
version = "1.11";
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
};
meta = with lib; {
2018-02-09 09:05:11 +01:00
description = "Rename files according to a Perl rewrite expression";
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 ];
};
}