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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
546 B
Nix
Raw Normal View History

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