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

20 lines
580 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, perlPackages }:
2018-02-09 08:05:11 +00:00
2019-08-13 22:52:01 +01:00
perlPackages.buildPerlPackage {
pname = "rename";
2018-02-09 08:05:11 +00:00
version = "1.9";
outputs = [ "out" ];
2018-02-09 08:05:11 +00:00
src = fetchFromGitHub {
owner = "pstray";
repo = "rename";
rev = "d46f1d0ced25dc5849acb5d5974a3e2e9d97d536";
sha256 = "0qahs1cqfaci2hdf1xncrz4k0z5skkfr43apnm3kybs7za33apzw";
};
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";
2018-02-09 08:05:11 +00:00
maintainers = with maintainers; [ mkg ];
license = with licenses; [ gpl1Plus ];
};
}