2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, gengetopt, m4, gnupg
|
|
|
|
, git, perl, autoconf, automake, help2man, boehmgc }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mmv";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "2.3";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rrthomas";
|
|
|
|
repo = "mmv";
|
|
|
|
rev = "v${version}";
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-lujar6QGlhNawGOIfM5RAUa4Sbs0BFgG8rEsCDLqDDE=";
|
2021-05-20 23:08:51 +00:00
|
|
|
fetchSubmodules = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
preConfigure = ''
|
|
|
|
./bootstrap
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
nativeBuildInputs = [ gengetopt m4 git gnupg perl autoconf automake help2man pkg-config ];
|
|
|
|
buildInputs = [ boehmgc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2021-05-20 23:08:51 +00:00
|
|
|
homepage = "https://github.com/rrthomas/mmv";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Utility for wildcard renaming, copying, etc";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
maintainers = with lib.maintainers; [ siraben ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|