2021-03-16 13:43:47 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, gengetopt, m4, gnupg
|
|
|
|
, git, perl, autoconf, automake, help2man, boehmgc }:
|
2012-09-05 01:44:21 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mmv";
|
2023-08-12 10:40:38 +02:00
|
|
|
version = "2.5.1";
|
2021-03-16 13:43:47 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rrthomas";
|
|
|
|
repo = "mmv";
|
|
|
|
rev = "v${version}";
|
2023-08-12 10:40:38 +02:00
|
|
|
sha256 = "sha256-01MJjYVPfDaRkzitqKXTJZHbkkZTEaFoyYZEEMizHp0=";
|
2021-03-16 13:43:47 +01:00
|
|
|
fetchSubmodules = true;
|
2012-09-05 01:44:21 +02:00
|
|
|
};
|
|
|
|
|
2021-03-16 13:43:47 +01:00
|
|
|
preConfigure = ''
|
|
|
|
./bootstrap
|
2012-09-05 01:44:21 +02:00
|
|
|
'';
|
|
|
|
|
2021-03-16 13:43:47 +01:00
|
|
|
nativeBuildInputs = [ gengetopt m4 git gnupg perl autoconf automake help2man pkg-config ];
|
|
|
|
buildInputs = [ boehmgc ];
|
2012-09-05 01:44:21 +02:00
|
|
|
|
|
|
|
meta = {
|
2021-03-16 13:43:47 +01:00
|
|
|
homepage = "https://github.com/rrthomas/mmv";
|
2012-09-05 01:44:21 +02:00
|
|
|
description = "Utility for wildcard renaming, copying, etc";
|
2021-03-16 13:43:47 +01:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
maintainers = with lib.maintainers; [ siraben ];
|
2012-09-05 01:44:21 +02:00
|
|
|
};
|
|
|
|
}
|