about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/filesystems/rnm/default.nix
blob: 69ba0270ecc0c7f291f5480dae2d0261684f4625 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ 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;
  };
}