mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
36 lines
678 B
Nix
36 lines
678 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
gmp,
|
|
jpcre2,
|
|
pcre2,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "rnm";
|
|
version = "4.0.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "neurobin";
|
|
repo = "rnm";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-cMWIxRuL7UCDjGr26+mfEYBPRA/dxEt0Us5qU92TelY=";
|
|
};
|
|
|
|
buildInputs = [
|
|
gmp
|
|
jpcre2
|
|
pcre2
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://neurobin.org/projects/softwares/unix/rnm/";
|
|
description = "Bulk rename utility";
|
|
changelog = "https://github.com/neurobin/rnm/blob/${finalAttrs.version}/ChangeLog";
|
|
platforms = lib.platforms.all;
|
|
license = lib.licenses.gpl3Only;
|
|
mainProgram = "rnm";
|
|
};
|
|
})
|