mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
35 lines
659 B
Nix
35 lines
659 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, gmp
|
|
, jpcre2
|
|
, pcre2
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rnm";
|
|
version = "4.0.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "neurobin";
|
|
repo = "rnm";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-cMWIxRuL7UCDjGr26+mfEYBPRA/dxEt0Us5qU92TelY=";
|
|
};
|
|
|
|
buildInputs = [
|
|
gmp
|
|
jpcre2
|
|
pcre2
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://neurobin.org/projects/softwares/unix/rnm/";
|
|
description = "Bulk rename utility";
|
|
changelog = "https://github.com/neurobin/rnm/blob/${version}/ChangeLog";
|
|
platforms = lib.platforms.all;
|
|
license = licenses.gpl3Only;
|
|
mainProgram = "rnm";
|
|
};
|
|
}
|